Skip to content

Commit a4cf667

Browse files
geo-starkUwe Kleine-König
authored andcommitted
dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM
The chip has 3 dual-channel PWM modules PWM_AB, PWM_CD, PWM_EF. Signed-off-by: George Stark <[email protected]> Signed-off-by: Dmitry Rokosov <[email protected]> Acked-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
1 parent 6e50721 commit a4cf667

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ properties:
3737
- enum:
3838
- amlogic,meson8-pwm-v2
3939
- amlogic,meson-s4-pwm
40+
- items:
41+
- enum:
42+
- amlogic,meson-a1-pwm
43+
- const: amlogic,meson-s4-pwm
4044
- items:
4145
- enum:
4246
- amlogic,meson8b-pwm-v2
@@ -139,6 +143,16 @@ allOf:
139143
required:
140144
- clocks
141145

146+
- if:
147+
properties:
148+
compatible:
149+
contains:
150+
enum:
151+
- amlogic,meson-a1-pwm
152+
then:
153+
required:
154+
- power-domains
155+
142156
additionalProperties: false
143157

144158
examples:

0 commit comments

Comments
 (0)