[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <57b3e24f85b0838fc7fafe35abab00e19993d458.1557759340.git.gustavo.pimentel@synopsys.com>
Date: Mon, 13 May 2019 17:41:28 +0200
From: Gustavo Pimentel <Gustavo.Pimentel@...opsys.com>
To: p.zabel@...gutronix.de, robh+dt@...nel.org, mark.rutland@....com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org
Cc: Joao.Pinto@...opsys.com,
Gustavo Pimentel <Gustavo.Pimentel@...opsys.com>,
Luis Oliveira <Luis.Oliveira@...opsys.com>
Subject: [PATCH 2/2] dt-bindings: Document the DesignWare IP reset bindings
This adds documentation of device tree bindings for the
DesignWare IP reset controller.
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@...opsys.com>
Signed-off-by: Luis Oliveira <luis.oliveira@...opsys.com>
---
.../devicetree/bindings/reset/snps,dw-reset.txt | 30 ++++++++++++++++++++++
1 file changed, 30 insertions(+)
create mode 100644 Documentation/devicetree/bindings/reset/snps,dw-reset.txt
diff --git a/Documentation/devicetree/bindings/reset/snps,dw-reset.txt b/Documentation/devicetree/bindings/reset/snps,dw-reset.txt
new file mode 100644
index 0000000..5316212
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/snps,dw-reset.txt
@@ -0,0 +1,30 @@
+Synopsys DesignWare Reset controller
+=======================================
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+Required properties:
+
+- compatible: should be one of the following.
+ "snps,dw-high-reset" - for active high configuration
+ "snps,dw-low-reset" - for active low configuration
+
+- reg: physical base address of the controller and length of memory mapped
+ region.
+
+- #reset-cells: must be 1.
+
+example:
+
+ dw_rst: reset-controller@...0 {
+ compatible = "dw,dw-high-reset";
+ reg = <0x0000 0x4>;
+ #reset-cells = <1>;
+ };
+
+ dw_rst: reset-controller@...0 {
+ compatible = "dw,dw-low-reset";
+ reg = <0x1000 0x4>;
+ #reset-cells = <1>;
+ };
--
2.7.4
Powered by blists - more mailing lists