aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@st.com>2018-11-14 04:00:24 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2018-12-05 15:45:08 -0500
commit6c9e3e80c526155b14c6af6f55653677707c822b (patch)
tree8fc9933b9fd1cc1261cd7b2ec70109eb54fb346a
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
dt-bindings: hwlock: Document STM32 hwspinlock bindings
Add bindings for STM32 hardware spinlock device Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt
new file mode 100644
index 000000000000..adf4f000ea3d
--- /dev/null
+++ b/Documentation/devicetree/bindings/hwlock/st,stm32-hwspinlock.txt
@@ -0,0 +1,23 @@
1STM32 Hardware Spinlock Device Binding
2-------------------------------------
3
4Required properties :
5- compatible : should be "st,stm32-hwspinlock".
6- reg : the register address of hwspinlock.
7- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
8 hwlock, so the number of cells should be <1> here.
9- clock-names : Must contain "hsem".
10- clocks : Must contain a phandle entry for the clock in clock-names, see the
11 common clock bindings.
12
13Please look at the generic hwlock binding for usage information for consumers,
14"Documentation/devicetree/bindings/hwlock/hwlock.txt"
15
16Example of hwlock provider:
17 hwspinlock@4c000000 {
18 compatible = "st,stm32-hwspinlock";
19 #hwlock-cells = <1>;
20 reg = <0x4c000000 0x400>;
21 clocks = <&rcc HSEM>;
22 clock-names = "hsem";
23 };