From patchwork Thu Jul 19 13:21:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 946297 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="EAHerfIF"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41WZSb1g5Tz9s5K for ; Thu, 19 Jul 2018 23:22:37 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731812AbeGSOFp (ORCPT ); Thu, 19 Jul 2018 10:05:45 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:46592 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731126AbeGSOFn (ORCPT ); Thu, 19 Jul 2018 10:05:43 -0400 Received: by mail-lj1-f196.google.com with SMTP id 203-v6so7429951ljj.13; Thu, 19 Jul 2018 06:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9w9JS9k45Mkm5m6z6QbcilGriIHYUaz9xF/Kh7/wMsg=; b=EAHerfIFmDkA4tYulL8XOj7zSQ/Tj5C9ju7Rz0va8KSfSrWFzC4ZcgcllmTOujnfca ZUBE28NQ/q3xnoxlixGXAomAq3892SYnNp3FgpQxQTL7dbivnpf+y5NhRs4VgDzEP2rW gzWs0S9iYoFCfrl5hUlYxknRl0axXRiYC/+7c693cUZ0G62cKBYsLFoDGSyJi46Z6VFT sew2kvNHc/qbWx4uf8+YIP/OkxrlevkDmPfO4jNIHFig9NcHKCEnG/zAEzyEl3SoHW3P jFnfjUdGQ9V/bWrvd5S8JBG5PH3W0VYBNGT/vF2BwCvikJzYr+h1YAJQiBklwLxesPCq 5M7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9w9JS9k45Mkm5m6z6QbcilGriIHYUaz9xF/Kh7/wMsg=; b=Bymxq2hZMT0+OWf75kuXZfKm3ynGm0WNzn499mr7R1l93CgQMnxVrWHvVi5RvTCo2+ ldMRnSDuZ4yiVJa6Sg8nUugGZPxs+WQ7JexbYqCpfm+shsdZ+jc6JjovcQ/+SWwdMzu1 ZF3LPWNpRxE+VOjIn7FpIP9x/S3hx2suhLOtuKXn/CTZtKKNbsKzkBIRyOwljRfMzrHw J4xAqPHolGfsfs6nsIdcBCFNbtS+Wtr7z4EExjDNRn5Tw2qUaDpQe/ERzwRUjLLSJuyK 0Dq1sNjlmpM88bKQfj1SjPwgxtHNk5eGOwUunYHX9a8pT8ZpjG1zRfZr5pFzXiC/AB+0 X+wg== X-Gm-Message-State: AOUpUlGk+hC0fZPBTEl5JYaoaZV54qUZ8GikpSc9y9Dgl6cFd8buMep7 yfFNyj36KQxPrfq46a7Ws0o= X-Google-Smtp-Source: AAOMgpeUJj0VElUl7eydUGd2K1JU6oGOLSPyPgADmuSi2b4wZult1THA8Th28ZC341I3ndOsxedX/A== X-Received: by 2002:a2e:5c4:: with SMTP id 187-v6mr7444933ljf.28.1532006552285; Thu, 19 Jul 2018 06:22:32 -0700 (PDT) Received: from localhost.localdomain ([109.252.91.91]) by smtp.gmail.com with ESMTPSA id o4-v6sm1109592ljc.67.2018.07.19.06.22.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 06:22:31 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Peter De Schrijver , Jonathan Hunter , Prashant Gaikwad , Michael Turquette , Stephen Boyd Cc: Rob Herring , linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/8] dt: bindings: tegra20-emc: Document interrupt property Date: Thu, 19 Jul 2018 16:21:25 +0300 Message-Id: <20180719132132.16153-2-digetx@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180719132132.16153-1-digetx@gmail.com> References: <20180719132132.16153-1-digetx@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org EMC has a dedicated interrupt that is used to notify about completion of HW operations. Document the interrupt property. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring Acked-by: Peter De Schrijver --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt index 4c33b29dc660..a6fe401d0d48 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt @@ -10,6 +10,7 @@ Properties: and chosen using the ramcode board selector. If omitted, only one set of tables can be present and said tables will be used irrespective of ram-code configuration. +- interrupts : Should contain EMC General interrupt. Child device nodes describe the memory settings for different configurations and clock rates. @@ -20,6 +21,7 @@ Example: #size-cells = < 0 >; compatible = "nvidia,tegra20-emc"; reg = <0x7000f4000 0x200>; + interrupts = <0 78 0x04>; } From patchwork Thu Jul 19 13:21:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 946307 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ppGlSjsk"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41WZTd2DzXz9s5c for ; Thu, 19 Jul 2018 23:23:33 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731655AbeGSOFp (ORCPT ); Thu, 19 Jul 2018 10:05:45 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:33695 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727367AbeGSOFo (ORCPT ); Thu, 19 Jul 2018 10:05:44 -0400 Received: by mail-lj1-f195.google.com with SMTP id s12-v6so7475224ljj.0; Thu, 19 Jul 2018 06:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=hdPussaMOwx5eq9zggMvF7xXCLAv98sIlWjHG9vkK3o=; b=ppGlSjskJZzjWU6zHPqMGhG+mbxVT6Z+6i9CqgyWopPwDXTZNOYsa0chjjJIJv4N3/ f3sTwPC3k5/7Rt9vSf3toMFc8ti8eTd/il1YvvKXhu+UIXmP33M1D7SBguMPQMIjasC/ akIoFQYHrYPXk2kblCsw43s5nuK3gTwvjjlwzFCnipX30r7GMa/iK0OFh/lbLkuYzxGM IlOlJ5eP7GxVmZQStFt0bRFc43ljCXcLQ4c0t31hQWbx18bfBh9SlvGxZ6MhTsIztPwW lx6rkvCwPkkPaq+y463qFLDHHen4O3rEtUOvxcszxsEI+xN7uaHjQUZeThAvNX9h/wAk b94Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=hdPussaMOwx5eq9zggMvF7xXCLAv98sIlWjHG9vkK3o=; b=gv+ORUpTe5jTfsk7T3iLPRpMifLbINnau0odU7ihlF9IJibeZy6q8/wWECDrz9p6Ky dzix98PQqsEnLumVd1h9Bl/kgfeNczbZmJCHT7+2qy606mCAO5pIa4ZRYSU4jLaC7sBj KpsaBAA+gXS1ehqvnuRaEVF0T8oFlpS+YQLZ2fpokpARtBVF4cjuTTljR/JTPJpeslG4 2sn/16SM8YAIHJnHsUXbFGZzbshnM5AaWcA6BQpC0rQ7ZovKDCwXj8ZIx9m78515RRqw bfeVGjb4c+TjN/WdyR+r6jLgDsCOL0cH/TI4ZjDclZZiJCQSyeXgmoZDoUikVzZqh3aA y63A== X-Gm-Message-State: AOUpUlFRWd4X82gvu5WsBqSVLgqiannLKQ4pKf7Z8e+u69TbHkMKsys+ KrcyZJlFDKdRX4EF52VGeo4= X-Google-Smtp-Source: AAOMgpcGrRtxxDQAMmBrHhZnMGwp4lEiDZrUL0TQrtj5Zznk5JeQqNgk66icIG1o4WLraNt4qrhy3w== X-Received: by 2002:a2e:4951:: with SMTP id b17-v6mr7635973ljd.67.1532006553342; Thu, 19 Jul 2018 06:22:33 -0700 (PDT) Received: from localhost.localdomain ([109.252.91.91]) by smtp.gmail.com with ESMTPSA id o4-v6sm1109592ljc.67.2018.07.19.06.22.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 06:22:32 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Peter De Schrijver , Jonathan Hunter , Prashant Gaikwad , Michael Turquette , Stephen Boyd Cc: Rob Herring , linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/8] dt: bindings: tegra20-emc: Document clock property Date: Thu, 19 Jul 2018 16:21:26 +0300 Message-Id: <20180719132132.16153-3-digetx@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180719132132.16153-1-digetx@gmail.com> References: <20180719132132.16153-1-digetx@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Embedded memory controller has a corresponding clock, document the clock property. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt index a6fe401d0d48..add95367640b 100644 --- a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt +++ b/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt @@ -11,6 +11,7 @@ Properties: set of tables can be present and said tables will be used irrespective of ram-code configuration. - interrupts : Should contain EMC General interrupt. +- clocks : Should contain EMC clock. Child device nodes describe the memory settings for different configurations and clock rates. @@ -22,6 +23,7 @@ Example: compatible = "nvidia,tegra20-emc"; reg = <0x7000f4000 0x200>; interrupts = <0 78 0x04>; + clocks = <&tegra_car TEGRA20_CLK_EMC>; } From patchwork Thu Jul 19 13:21:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 946305 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="p1XGFtc9"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41WZTW4Zy0z9s9F for ; Thu, 19 Jul 2018 23:23:27 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731126AbeGSOGW (ORCPT ); Thu, 19 Jul 2018 10:06:22 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:38722 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731769AbeGSOFp (ORCPT ); Thu, 19 Jul 2018 10:05:45 -0400 Received: by mail-lj1-f196.google.com with SMTP id p6-v6so7456956ljc.5; Thu, 19 Jul 2018 06:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UhBtfyk6EpvGULLmrb67ektbatVXeOakArBXKH6UOYo=; b=p1XGFtc9QJIOZbR0euzyexClOKel95qWYH0H9R5X5Do6Zmuy1OHC+cPxdmgs9T6z9T k5MP66+7CcAXkow65zwjEdizmhCBPMhEvEKPw4rzxxCV3GCIaNd+alN4d4jsMe/EekK0 lFB/UNtASP043taUspo5hx9fRps1HEs1FfJKD+6oafqV+tnhFqtaPaK6vgKhJaNKN9wv JLuOyXj4GSGogVI2QC5SoL7Ik8tyo9a+cz+ii89Qrf/DRO6qjjwkLTUXzM0IErldS9iT bS3tLi3vkLhgm8Z2U/0Kl9sy3Vm7ZPDQnLyvwYiOJ1fAliQCxCtf2+5SAuVhX8iEnW2h Fd+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UhBtfyk6EpvGULLmrb67ektbatVXeOakArBXKH6UOYo=; b=q4IAknmXRL/GvZ7wyaKWFp4hRPYelneZlEH7j1CoxYd5ix/rhJN1fhZTvH4lARv+jh BJ5E987cEhXqkjP/FBA+90tcoBF+iQR23CEmOJuXsP7hKjQh1rjToMgaiYYzF5IH/znL bRvFWrTjh8oAqvRuj6Lxocx+/F+t9xFd877I0l1qusenUnOskAngLelTxyZ9PvqLF9NE DDMGoJlc8KxzC/rll0pKSPy0h5+JZhRvQsLdnzjW8z04VsN1yYcaFjLA8Y9xySC9jts7 cxzCsMRoBvnFiu6WR0mGfGI67IxqLEW2dsNZr42DDVD7CmaCEK1Oh+Zds/nmcLCHIfZ8 dqPw== X-Gm-Message-State: AOUpUlGcPnJK/J0wGh9E7Ldd/GVj6t7S+3LI/8oELFvCsivtCzcpgE01 SVzYGQP7IgURcj3cXEX3kQ4= X-Google-Smtp-Source: AAOMgpejw9fp6ufe1zygZXUL0oD2TrbvGbp+cue9gOc9kXllhDsYgzRP47BSJ2mpnKrvB+KeBQOlDQ== X-Received: by 2002:a19:a111:: with SMTP id k17-v6mr6351591lfe.131.1532006554321; Thu, 19 Jul 2018 06:22:34 -0700 (PDT) Received: from localhost.localdomain ([109.252.91.91]) by smtp.gmail.com with ESMTPSA id o4-v6sm1109592ljc.67.2018.07.19.06.22.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jul 2018 06:22:33 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Peter De Schrijver , Jonathan Hunter , Prashant Gaikwad , Michael Turquette , Stephen Boyd Cc: Rob Herring , linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/8] dt: bindings: Move tegra20-emc binding to memory-controllers directory Date: Thu, 19 Jul 2018 16:21:27 +0300 Message-Id: <20180719132132.16153-4-digetx@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180719132132.16153-1-digetx@gmail.com> References: <20180719132132.16153-1-digetx@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Move tegra20-emc binding to the memory-controllers directory for consistency with the other Tegra memory bindings. Signed-off-by: Dmitry Osipenko Acked-by: Rob Herring --- .../{arm/tegra => memory-controllers}/nvidia,tegra20-emc.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Documentation/devicetree/bindings/{arm/tegra => memory-controllers}/nvidia,tegra20-emc.txt (100%) diff --git a/Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt similarity index 100% rename from Documentation/devicetree/bindings/arm/tegra/nvidia,tegra20-emc.txt rename to Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-emc.txt