Thread (8 messages) 8 messages, 2 authors, 2020-02-12

Re: [PATCH v3 1/2] dt-bindings: mfd: Document STM32 low power clkevent bindings

From: Benjamin GAIGNARD <hidden>
Date: 2020-02-12 17:08:15
Also in: linux-arm-kernel

On 2/12/20 5:51 PM, Daniel Lezcano wrote:
On Tue, Jan 28, 2020 at 01:07:01PM +0100, Benjamin Gaignard wrote:
quoted
Add a subnode to STM low power timer bindings to support clkevent driver
clkevent is Linux specific.
Does 'event' or 'broadcast' would sound better ?
quoted
Signed-off-by: Benjamin Gaignard <redacted>
---
  .../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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help