Merge commit '81fd23e2b3ccf71c807e671444e8accaba98ca53' of https://git.pengutronix...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / pwm / pwm.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/pwm/pwm.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: PWM controllers (providers)
8
9 maintainers:
10   - Thierry Reding <thierry.reding@gmail.com>
11
12 properties:
13   $nodename:
14     pattern: "^pwm(@.*|-[0-9a-f])*$"
15
16   "#pwm-cells":
17     description:
18       Number of cells in a PWM specifier.
19
20 required:
21   - "#pwm-cells"
22
23 additionalProperties: true
24
25 examples:
26   - |
27     pwm: pwm@1c20e00 {
28         compatible = "allwinner,sun7i-a20-pwm";
29         reg = <0x01c20e00 0xc>;
30         clocks = <&osc24M>;
31         #pwm-cells = <3>;
32     };