summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@chromium.org>2022-04-28 10:04:20 +0000
committerThierry Reding <thierry.reding@gmail.com>2022-05-20 16:39:39 +0200
commita48d66d87274b7ec538cdf82abc8d3ebf4bf0363 (patch)
treed14e1157d297972841135b00979d54fec98814af /Documentation/devicetree/bindings
parent84d0940454a3bca6c7c59cf16b6de2f173e81a11 (diff)
downloadlinux-a48d66d87274b7ec538cdf82abc8d3ebf4bf0363.tar.bz2
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 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml9
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