Skip to content

Commit a48d66d

Browse files
fabiobaltierithierryreding
authored andcommitted
dt-bindings: google,cros-ec-pwm: Add the new -type compatible
Update google,cros-ec-pwm node documentation to mention the google,cros-ec-pwm-type compatible as a valid alternative. Signed-off-by: Fabio Baltieri <fabiobaltieri@chromium.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
1 parent 84d0940 commit a48d66d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,14 @@ allOf:
2121

2222
properties:
2323
compatible:
24-
const: google,cros-ec-pwm
24+
oneOf:
25+
- description: PWM controlled using EC_PWM_TYPE_GENERIC channels.
26+
items:
27+
- const: google,cros-ec-pwm
28+
- description: PWM controlled using CROS_EC_PWM_DT_<...> types.
29+
items:
30+
- const: google,cros-ec-pwm-type
31+
2532
"#pwm-cells":
2633
description: The cell specifies the PWM index.
2734
const: 1

0 commit comments

Comments
 (0)