Message ID | 20220321143222.2523373-4-fabiobaltieri@chromium.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Add channel type support to pwm-cros-ec | expand |
On 21/03/2022 15:32, Fabio Baltieri wrote: > Update google,cros-ec-pwm node documentation to mention the > google,use_pwm_type property. > > Signed-off-by: Fabio Baltieri <fabiobaltieri@chromium.org> > --- > .../devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml > index 4cfbffd8414a..2224e8e07029 100644 > --- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml > +++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml > @@ -19,6 +19,12 @@ description: | > properties: > compatible: > const: google,cros-ec-pwm > + > + google,use_pwm_type: Hyphens, not underscores. Best regards, Krzysztof
On Mon, Mar 21, 2022 at 04:47:54PM +0100, Krzysztof Kozlowski wrote: > On 21/03/2022 15:32, Fabio Baltieri wrote: > > Update google,cros-ec-pwm node documentation to mention the > > google,use_pwm_type property. > > > > Signed-off-by: Fabio Baltieri <fabiobaltieri@chromium.org> > > --- > > .../devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml > > index 4cfbffd8414a..2224e8e07029 100644 > > --- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml > > +++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml > > @@ -19,6 +19,12 @@ description: | > > properties: > > compatible: > > const: google,cros-ec-pwm > > + > > + google,use_pwm_type: > > Hyphens, not underscores. Oh thanks, will change for v2. > > > Best regards, > Krzysztof
diff --git a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml index 4cfbffd8414a..2224e8e07029 100644 --- a/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.yaml @@ -19,6 +19,12 @@ description: | properties: compatible: const: google,cros-ec-pwm + + google,use_pwm_type: + description: + Use PWM types (CROS_EC_PWM_DT_<...>) instead of generic channels. + type: boolean + "#pwm-cells": description: The cell specifies the PWM index. const: 1
Update google,cros-ec-pwm node documentation to mention the google,use_pwm_type property. Signed-off-by: Fabio Baltieri <fabiobaltieri@chromium.org> --- .../devicetree/bindings/pwm/google,cros-ec-pwm.yaml | 6 ++++++ 1 file changed, 6 insertions(+)