RE: [PATCH] dt-bindings: pwm: Convert mxs pwm to json-schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +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





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux