[PATCH v2 2/3] dt-bindings: pwm: amlogic: Add optional power-domains

George Stark gnstark at salutedevices.com
Mon Jul 1 10:20:15 PDT 2024


On newer SoCs, the PWM can require a power-domain to operate so add it
as optional.

Signed-off-by: George Stark <gnstark at salutedevices.com>
---
 Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
index da22cb3ed878..c814d88748dd 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
@@ -60,6 +60,9 @@ properties:
     minItems: 1
     maxItems: 2
 
+  power-domains:
+    maxItems: 1
+
   "#pwm-cells":
     const: 3
 
-- 
2.25.1




More information about the linux-arm-kernel mailing list