Skip to content

Commit

Permalink
dt-bindings: pwm: amlogic: Add new bindings for meson A1 PWM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
George Stark authored and Uwe Kleine-König committed Sep 16, 2024
1 parent 6e50721 commit a4cf667
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/pwm/pwm-amlogic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -139,6 +143,16 @@ allOf:
required:
- clocks

- if:
properties:
compatible:
contains:
enum:
- amlogic,meson-a1-pwm
then:
required:
- power-domains

additionalProperties: false

examples:
Expand Down

0 comments on commit a4cf667

Please sign in to comment.