diff options
author | Fabio Baltieri <fabiobaltieri@chromium.org> | 2022-04-28 12:04:20 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-05-20 16:39:39 +0200 |
commit | a48d66d87274b7ec538cdf82abc8d3ebf4bf0363 (patch) | |
tree | d14e1157d297972841135b00979d54fec98814af | |
parent | dt-bindings: Add mfd/cros_ec definitions (diff) | |
download | linux-a48d66d87274b7ec538cdf82abc8d3ebf4bf0363.tar.xz linux-a48d66d87274b7ec538cdf82abc8d3ebf4bf0363.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml index 7ab6912a845f..c8577bdf6c94 100644 --- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml +++ b/Documentation/devicetree/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 |