Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / pwm / mxs-pwm.yaml
bloba9d3a41ac5b9eefe5cfe5acfc358307ae28d6eb0
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/pwm/mxs-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale MXS PWM controller
9 maintainers:
10   - Shawn Guo <shawnguo@kernel.org>
12 allOf:
13   - $ref: pwm.yaml#
15 properties:
16   compatible:
17     oneOf:
18       - const: fsl,imx23-pwm
19       - items:
20           - enum:
21               - fsl,imx28-pwm
22           - const: fsl,imx23-pwm
24   reg:
25     maxItems: 1
27   clocks:
28     maxItems: 1
30   "#pwm-cells":
31     const: 3
33   fsl,pwm-number:
34     $ref: /schemas/types.yaml#/definitions/uint32
35     description: u32 value representing the number of PWM devices
37 required:
38   - compatible
39   - reg
40   - clocks
41   - fsl,pwm-number
43 additionalProperties: false
45 examples:
46   - |
47     pwm@80064000 {
48         compatible = "fsl,imx23-pwm";
49         reg = <0x80064000 0x2000>;
50         clocks = <&clks 30>;
51         #pwm-cells = <3>;
52         fsl,pwm-number = <8>;
53     };