Merge tag 'microblaze-v5.6-rc1' of git://git.monstr.eu/linux-2.6-microblaze
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / pwm / allwinner,sun4i-a10-pwm.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/pwm/allwinner,sun4i-a10-pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Allwinner A10 PWM Device Tree Bindings
8
9 maintainers:
10   - Chen-Yu Tsai <wens@csie.org>
11   - Maxime Ripard <mripard@kernel.org>
12
13 properties:
14   "#pwm-cells":
15     const: 3
16
17   compatible:
18     oneOf:
19       - const: allwinner,sun4i-a10-pwm
20       - const: allwinner,sun5i-a10s-pwm
21       - const: allwinner,sun5i-a13-pwm
22       - const: allwinner,sun7i-a20-pwm
23       - const: allwinner,sun8i-h3-pwm
24       - items:
25           - const: allwinner,sun8i-a83t-pwm
26           - const: allwinner,sun8i-h3-pwm
27       - items:
28           - const: allwinner,sun50i-a64-pwm
29           - const: allwinner,sun5i-a13-pwm
30       - items:
31           - const: allwinner,sun50i-h5-pwm
32           - const: allwinner,sun5i-a13-pwm
33
34   reg:
35     maxItems: 1
36
37   clocks:
38     maxItems: 1
39
40 required:
41   - "#pwm-cells"
42   - compatible
43   - reg
44   - clocks
45
46 additionalProperties: false
47
48 examples:
49   - |
50     pwm: pwm@1c20e00 {
51         compatible = "allwinner,sun7i-a20-pwm";
52         reg = <0x01c20e00 0xc>;
53         clocks = <&osc24M>;
54         #pwm-cells = <3>;
55     };
56
57 ...