dt-bindings: mfd: Document STM32 low power timer bindings
authorBenjamin Gaignard <benjamin.gaignard@st.com>
Mon, 17 Feb 2020 13:45:44 +0000 (14:45 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 30 Mar 2020 06:35:28 +0000 (07:35 +0100)
Add a subnode to STM low power timer bindings to support timer driver

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml

index 1a4cc5f..ddf190c 100644 (file)
@@ -39,6 +39,8 @@ properties:
   "#size-cells":
     const: 0
 
+  wakeup-source: true
+
   pwm:
     type: object
 
@@ -81,6 +83,16 @@ patternProperties:
     required:
       - compatible
 
+  timer:
+    type: object
+
+    properties:
+      compatible:
+        const: st,stm32-lptimer-timer
+
+    required:
+      - compatible
+
 required:
   - "#address-cells"
   - "#size-cells"
@@ -115,6 +127,10 @@ examples:
       counter {
         compatible = "st,stm32-lptimer-counter";
       };
+
+      timer {
+        compatible = "st,stm32-lptimer-timer";
+      };
     };
 
 ...