[Linux-stm32] [PATCH v2 1/2] dt-bindings: mfd: Document STM32 low power clkevent bindings
Benjamin Gaignard
benjamin.gaignard at st.com
Thu Jan 16 15:19:17 UTC 2020
Add a subnode to STM low power timer bindings to support clkevent driver
Signed-off-by: Benjamin Gaignard <benjamin.gaignard at st.com>
---
version 2:
- document the bindings inside stm32 lptimer yaml
.../devicetree/bindings/mfd/st,stm32-lptimer.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
index 1a4cc5f3fb33..535e0b40cdf9 100644
--- a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
+++ b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
@@ -81,6 +81,16 @@ patternProperties:
required:
- compatible
+ clkevent:
+ type: object
+
+ properties:
+ compatible:
+ const: st,stm32-clkevent-lp
+
+ required:
+ - compatible
+
required:
- "#address-cells"
- "#size-cells"
@@ -115,6 +125,10 @@ examples:
counter {
compatible = "st,stm32-lptimer-counter";
};
+
+ clkevent {
+ compatible = "st,stm32-clkevent-lp";
+ };
};
...
--
2.15.0
More information about the Linux-stm32
mailing list