All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V6 1/3] Add DT bindings documentation for hi6220 SoC reset controller.
@ 2015-10-29 12:55 Chen Feng
  2015-10-29 12:55 ` [PATCH V6 2/3] Add reset controller for hi6220 SoC platform Chen Feng
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chen Feng @ 2015-10-29 12:55 UTC (permalink / raw)
  To: p.zabel, linux-kernel, puck.chen, robh+dt, pawel.moll,
	mark.rutland, ijc+devicetree

docs: dts: Added documentation for hi6220 Reset Controller

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
---
 .../bindings/reset/hisilicon,hi6220-reset.txt      | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt

diff --git a/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
new file mode 100644
index 0000000..be06352
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt
@@ -0,0 +1,32 @@
+Hisilicon System Reset Controller
+======================================
+
+Please also refer to reset.txt in this directory for common reset
+controller binding usage.
+
+The reset controller registers are part of the system-ctl block on
+hi6220 SoC.
+
+Required properties:
+- compatible: may be "hisilicon,hi6220-sysctrl"
+- reg: should be register base and length as documented in the
+  datasheet
+- #reset-cells: 1, see below
+
+Example:
+sys_ctrl: sys_ctrl@f7030000 {
+	compatible = "hisilicon,hi6220-sysctrl", "syscon";
+	reg = <0x0 0xf7030000 0x0 0x2000>;
+	#clock-cells = <1>;
+	#reset-cells = <1>;
+};
+
+Specifying reset lines connected to IP modules
+==============================================
+example:
+
+        uart1: uart1@..... {
+                ...
+                resets = <&sys_ctrl 0x305>;
+                ...
+        };
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-10-30  2:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29 12:55 [PATCH V6 1/3] Add DT bindings documentation for hi6220 SoC reset controller Chen Feng
2015-10-29 12:55 ` [PATCH V6 2/3] Add reset controller for hi6220 SoC platform Chen Feng
2015-10-29 16:14   ` Philipp Zabel
2015-10-30  2:45     ` chenfeng
2015-10-29 12:55 ` [PATCH V6 3/3] Add reset-cell node for hi6220 reset controller Chen Feng
2015-10-29 16:14 ` [PATCH V6 1/3] Add DT bindings documentation for hi6220 SoC " Philipp Zabel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.