Add a subnode to STM low power timer bindings to support clkevent driver
Signed-off-by: Benjamin Gaignard <redacted>
---
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel