[PATCH v4 2/3] dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM
George Stark
gnstark at salutedevices.com
Wed Jul 10 16:41:15 PDT 2024
The chip has 3 dual-channel PWM modules PWM_AB, PWM_CD, PWM_EF.
Signed-off-by: George Stark <gnstark at salutedevices.com>
Signed-off-by: Dmitry Rokosov <ddrokosov at salutedevices.com>
---
.../devicetree/bindings/pwm/pwm-amlogic.yaml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
index 267908c2bf7b..e021cf59421a 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
@@ -37,6 +37,10 @@ properties:
- enum:
- amlogic,meson8-pwm-v2
- amlogic,meson-s4-pwm
+ - items:
+ - enum:
+ - amlogic,meson-a1-pwm
+ - const: amlogic,meson-s4-pwm
- items:
- enum:
- amlogic,meson8b-pwm-v2
@@ -139,6 +143,16 @@ allOf:
required:
- clocks
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - amlogic,meson-a1-pwm
+ then:
+ required:
+ - power-domains
+
additionalProperties: false
examples:
--
2.25.1
More information about the linux-arm-kernel
mailing list