[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181104155501.14767-6-TheSven73@googlemail.com>
Date: Sun, 4 Nov 2018 10:55:00 -0500
From: thesven73@...il.com
To: svendev@...x.com, robh+dt@...nel.org, linus.walleij@...aro.org
Cc: lee.jones@...aro.org, mark.rutland@....com, afaerber@...e.de,
treding@...dia.com, david@...hnology.com, noralf@...nnes.org,
johan@...nel.org, monstr@...str.eu, michal.vokac@...ft.com,
arnd@...db.de, gregkh@...uxfoundation.org, john.garry@...wei.com,
geert+renesas@...der.be, robin.murphy@....com,
paul.gortmaker@...driver.com,
sebastien.bourdelin@...oirfairelinux.com, icenowy@...c.io,
stuyoder@...il.com, maxime.ripard@...tlin.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Subject: [PATCH anybus v3 5/6] dt-bindings: anybuss-host: document devicetree binding
From: Sven Van Asbroeck <svendev@...x.com>
This patch adds devicetree binding documentation for the
Arcx Anybus-S host.
Signed-off-by: Sven Van Asbroeck <svendev@...x.com>
---
.../bindings/bus/arcx,anybuss-host.txt | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 Documentation/devicetree/bindings/bus/arcx,anybuss-host.txt
diff --git a/Documentation/devicetree/bindings/bus/arcx,anybuss-host.txt b/Documentation/devicetree/bindings/bus/arcx,anybuss-host.txt
new file mode 100644
index 000000000000..5c28e4e09bb2
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/arcx,anybuss-host.txt
@@ -0,0 +1,36 @@
+* Arcx Anybus-S host
+
+This host communicates with the SoC over a parallel bus. It is
+expected that its Device Tree node is specified as the child of a node
+corresponding to the parallel bus used for communication.
+
+Required properties:
+
+ - compatible : The following string:
+ "arcx,anybuss-host"
+
+ - reg : bus memory area where the Anybus-S host dpram is located.
+
+ - interrupts : interrupt connected to the Anybus-S host interrupt line.
+ Generic interrupt client node bindings are described in
+ interrupt-controller/interrupts.txt
+
+ - resets : the reset line associated with the Anybus-S host.
+
+Example of usage:
+
+This example places the Anybus-S host on top of the i.MX WEIM parallel bus, see:
+Documentation/devicetree/bindings/bus/imx-weim.txt
+
+&weim {
+ anybus-host@0 {
+ compatible = "arcx,anybuss-host";
+ reg = <0 0x400000 0x800>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
+ resets = <&anybus_bridge 0>;
+ /* fsl,weim-cs-timing is a i.MX WEIM bus specific property */
+ fsl,weim-cs-timing = <0x024400b1 0x00001010 0x20081100
+ 0x00000000 0xa0000240 0x00000000>;
+ };
+};
--
2.17.1
Powered by blists - more mailing lists