Message ID | 20220214212154.8853-5-krzysztof.kozlowski@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | pwm: dt-bindings: Include generic pwm schema | expand |
Hi Krzysztof, On Mon, Feb 14, 2022 at 10:21:43PM +0100, Krzysztof Kozlowski wrote: > Include generic pwm.yaml schema, which enforces PWM node naming and > brings pwm-cells requirement. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> > --- > Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml b/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml > index 1d7c27be50da..0a46af240d83 100644 > --- a/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml > +++ b/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml > @@ -15,6 +15,9 @@ description: | > Documentation/devicetree/bindings/mfd/iqs62x.yaml for further details as > well as an example. > > +allOf: > + - $ref: pwm.yaml# > + > properties: > compatible: > enum: > @@ -25,7 +28,6 @@ properties: > > required: > - compatible > - - "#pwm-cells" > > additionalProperties: false > > -- > 2.32.0 > Acked-by: Jeff LaBundy <jeff@labundy.com> Kind regards, Jeff LaBundy
diff --git a/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml b/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml index 1d7c27be50da..0a46af240d83 100644 --- a/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml +++ b/Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml @@ -15,6 +15,9 @@ description: | Documentation/devicetree/bindings/mfd/iqs62x.yaml for further details as well as an example. +allOf: + - $ref: pwm.yaml# + properties: compatible: enum: @@ -25,7 +28,6 @@ properties: required: - compatible - - "#pwm-cells" additionalProperties: false
Include generic pwm.yaml schema, which enforces PWM node naming and brings pwm-cells requirement. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> --- Documentation/devicetree/bindings/pwm/iqs620a-pwm.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)