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

Jeff LaBundy jeff at labundy.com
Mon Feb 14 15:23:29 PST 2022


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 at 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 at labundy.com>

Kind regards,
Jeff LaBundy



More information about the linux-riscv mailing list