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 <gnstark@salutedevices.com> Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> Acked-by: Conor Dooley <conor@kernel.org> Link: https://lore.kernel.org/r/20240710234116.2370655-3-gnstark@salutedevices.com Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
1 parent 6e50721 commit a4cf667

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

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)