Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740292

[PATCH v4 1/2] Documentation: dt: Update ti,emif bindings

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Dave Gerlach <d-gerlach@ti.com>
Newsgroups linux.kernel
Subject [PATCH v4 1/2] Documentation: dt: Update ti,emif bindings
Date Wed, 27 Sep 2017 02:10:01 +0200
Message-ID <uu85j-3jo-9@gated-at.bofh.it> (permalink)
References <uu85j-3jo-5@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1506470645; bh=HY/iqhvh0jsfSG8ioMxhup4/MX419m06dpmAiQ13ygQ=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=VnT68QmtbTuKeVuXU2Fh+Agz6OsECvyX9IvKRd2ixCeGf3Lya50C2x3b4bKl/TdPi 989q6ps9u5q7Uf7TTIb9LzS5ihJ1+Zb0inVNBkVU3laycvwxOosyqYvLytG/Pk+RJ7 W+W53Kk/RovsbQf2n+Hd+CGsik26vv3aZsoqcSMA=
X-Mailer git-send-email 2.13.4
MIME-Version 1.0
Content-Type text/plain
X-Exclaimer-Md-Config e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 60
Organization linux.* mail to news gateway
X-Original-Cc <linux-arm-kernel@lists.infradead.org>, <linux-omap@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, Dave Gerlach <d-gerlach@ti.com>, Keerthy J <j-keerthy@ti.com>, Johan Hovold <johan@kernel.org>
X-Original-Date Tue, 26 Sep 2017 19:03:54 -0500
X-Original-Message-ID <20170927000355.30597-2-d-gerlach@ti.com>
X-Original-References <20170927000355.30597-1-d-gerlach@ti.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1740292

Show key headers only | View raw


Update the Texas Instruments EMIF binding document to include the device
tree bindings for ti,emif-am3352 and ti,emif-am4372 which are used by
the ti-emif-sram driver to provide low-level PM functionality.

Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 .../devicetree/bindings/memory-controllers/ti/emif.txt | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
index 0db60470ebb6..8c0214b17c2b 100644
--- a/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
+++ b/Documentation/devicetree/bindings/memory-controllers/ti/emif.txt
@@ -8,6 +8,7 @@ of the EMIF IP and memory parts attached to it.
 Required properties:
 - compatible	: Should be of the form "ti,emif-<ip-rev>" where <ip-rev>
   is the IP revision of the specific EMIF instance.
+		  For am335x should be ti,emif-am3352.
 		  For am437x should be ti,emif-am4372.
 
 - phy-type	: <u32> indicating the DDR phy type. Following are the
@@ -21,6 +22,13 @@ Required properties:
   the value shall be "emif<n>" where <n> is the number of the EMIF
   instance with base 1.
 
+Required only for "ti,emif-am3352" and "ti,emif-am4372":
+- sram			: Phandles for generic sram driver nodes,
+  first should be type 'protect-exec' for the driver to use to copy
+  and run PM functions, second should be regular pool to be used for
+  data region for code. See Documentation/devicetree/bindings/sram/sram.txt
+  for more details.
+
 Optional properties:
 - cs1-used		: Have this property if CS1 of this EMIF
   instance has a memory part attached to it. If there is a memory
@@ -42,7 +50,7 @@ Optional properties:
 - hw-caps-temp-alert	: Have this property if the controller
   has capability for generating SDRAM temperature alerts
 
-Example:
+-Examples:
 
 emif1: emif@0x4c000000 {
 	compatible	= "ti,emif-4d";
@@ -54,3 +62,11 @@ emif1: emif@0x4c000000 {
 	hw-caps-ll-interface;
 	hw-caps-temp-alert;
 };
+
+/* From am33xx.dtsi */
+emif: emif@4c000000 {
+        compatible = "ti,emif-am3352";
+        reg =   <0x4C000000 0x1000>;
+        sram = <&pm_sram_code
+                &pm_sram_data>;
+};
-- 
2.13.4

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 1/2] Documentation: dt: Update ti,emif bindings Dave Gerlach <d-gerlach@ti.com> - 2017-09-27 02:10 +0200

csiph-web