summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/pwm/google,cros-ec-pwm.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/pwm/google,cros-ec-pwm.yaml')
-rw-r--r--dts/Bindings/pwm/google,cros-ec-pwm.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/dts/Bindings/pwm/google,cros-ec-pwm.yaml b/dts/Bindings/pwm/google,cros-ec-pwm.yaml
index 7ab6912a84..c8577bdf6c 100644
--- a/dts/Bindings/pwm/google,cros-ec-pwm.yaml
+++ b/dts/Bindings/pwm/google,cros-ec-pwm.yaml
@@ -21,7 +21,14 @@ allOf:
properties:
compatible:
- const: google,cros-ec-pwm
+ oneOf:
+ - description: PWM controlled using EC_PWM_TYPE_GENERIC channels.
+ items:
+ - const: google,cros-ec-pwm
+ - description: PWM controlled using CROS_EC_PWM_DT_<...> types.
+ items:
+ - const: google,cros-ec-pwm-type
+
"#pwm-cells":
description: The cell specifies the PWM index.
const: 1