Re: [PATCH v2 04/15] dt-bindings: pwm: iqs620a: Include generic pwm schema

Jeff LaBundy
2022-02-14T23:24:12Z

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