RE: [PATCH] dt-bindings: pwm: Convert mxs pwm to json-schema
From: Aisheng Dong
Date: Mon May 18 2020 - 01:21:46 EST
> +title: Freescale MXS PWM controller
> +
> +maintainers:
> + - Shawn Guo <shawn.guo@xxxxxxxxxx>
> + - Anson Huang <anson.huang@xxxxxxx>
> +
> +properties:
> + compatible:
> + enum:
> + - fsl,imx23-pwm
> +
> + reg:
> + maxItems: 1
> +
> + "#pwm-cells":
> + const: 3
Seems you missed the reference to pwm.yaml.
Regards
Aisheng
> +
> + fsl,pwm-number:
> + $ref: '/schemas/types.yaml#/definitions/uint32'
> + description: u32 value representing the number of PWM devices
> +
> +required:
> + - compatible
> + - reg
> + - "#pwm-cells"
> + - fsl,pwm-number
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + pwm@80064000 {
> + compatible = "fsl,imx23-pwm";
> + reg = <0x80064000 0x2000>;
> + #pwm-cells = <3>;
> + fsl,pwm-number = <8>;
> + };
> --
> 2.7.4