Commit a48d66d8 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Thierry Reding
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@chromium.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 84d09404
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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