These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / Documentation / devicetree / bindings / hwlock / sirf,hwspinlock.txt
diff --git a/kernel/Documentation/devicetree/bindings/hwlock/sirf,hwspinlock.txt b/kernel/Documentation/devicetree/bindings/hwlock/sirf,hwspinlock.txt
new file mode 100644 (file)
index 0000000..9bb1240
--- /dev/null
@@ -0,0 +1,28 @@
+SIRF Hardware spinlock device Binding
+-----------------------------------------------
+
+Required properties :
+- compatible : shall contain only one of the following:
+       "sirf,hwspinlock"
+
+- reg : the register address of hwspinlock
+
+- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
+       hwlock, so the number of cells should be <1> here.
+
+Please look at the generic hwlock binding for usage information for consumers,
+"Documentation/devicetree/bindings/hwlock/hwlock.txt"
+
+Example of hwlock provider:
+       hwlock {
+               compatible = "sirf,hwspinlock";
+               reg = <0x13240000 0x00010000>;
+               #hwlock-cells = <1>;
+       };
+
+Example of hwlock users:
+       node {
+               ...
+               hwlocks = <&hwlock 2>;
+               ...
+       };