]> Git Repo - linux.git/commitdiff
dt-bindings: google,cros-ec-pwm: Add the new -type compatible
authorFabio Baltieri <[email protected]>
Thu, 28 Apr 2022 10:04:20 +0000 (10:04 +0000)
committerThierry Reding <[email protected]>
Fri, 20 May 2022 14:39:39 +0000 (16:39 +0200)
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 <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml

index 7ab6912a845fcbf8a4fdefcde7fa96320d2761f8..c8577bdf6c946fb9db852c72e0d386f3b4a30099 100644 (file)
@@ -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
This page took 0.051063 seconds and 4 git commands to generate.