Linux 6.7-rc7
[linux-modified.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 select: false
13
14 properties:
15   $nodename:
16     pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$"
17
18   "#pwm-cells":
19     description:
20       Number of cells in a PWM specifier.
21
22 required:
23   - "#pwm-cells"
24
25 additionalProperties: true
26
27 examples:
28   - |
29     pwm: pwm@1c20e00 {
30         compatible = "allwinner,sun7i-a20-pwm";
31         reg = <0x01c20e00 0xc>;
32         clocks = <&osc24M>;
33         #pwm-cells = <3>;
34     };