[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1471002394-1106-2-git-send-email-clabbe.montjoie@gmail.com>
Date: Fri, 12 Aug 2016 13:46:33 +0200
From: LABBE Corentin <clabbe.montjoie@...il.com>
To: ohad@...ery.com, bjorn.andersson@...aro.org
Cc: linux-remoteproc@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-sunxi@...glegroups.com,
LABBE Corentin <clabbe.montjoie@...il.com>
Subject: [PATCH RFC 2/3] Documentation: dt: add the sun8i-hwspinlock bindings document
This patch adds the DT bindings information for sun8i-hwspinlock module.
Signed-off-by: LABBE Corentin <clabbe.montjoie@...il.com>
---
.../bindings/hwlock/sun8i-hwspinlock.txt | 23 ++++++++++++++++++++++
1 file changed, 23 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt
diff --git a/Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt
new file mode 100644
index 0000000..38c1d7f
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwlock/sun8i-hwspinlock.txt
@@ -0,0 +1,23 @@
+Sun8i HWspinlock Driver
+========================
+
+Required properties:
+- compatible: Should be "allwinner,sun8i-hwspinlock"
+- reg: Contains the hwspinlock module register address space
+ (base address and length)
+- clocks: A phandle to the reference clock for this device
+- clock-names: should be "ahb"
+- resets: A phandle to the reset control for this device
+- reset-names: should be "ahb"
+
+Example:
+
+/* sun8i-h3 */
+hwspinlock: hwspinlock@...8000 {
+ compatible = "allwinner,sun8i-hwspinlock";
+ reg = <0x01c18000 0x400>;
+ resets = <&ccu RST_BUS_SPINLOCK>;
+ reset-names = "ahb";
+ clocks = <&ccu CLK_BUS_SPINLOCK>;
+ clock-names = "ahb";
+};
--
2.7.3
Powered by blists - more mailing lists