treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / pwm / pwm.yaml
blobfa4f9de92090938c22fdb2e1949520ec81576e89
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#
7 title: PWM controllers (providers)
9 maintainers:
10   - Thierry Reding <thierry.reding@gmail.com>
12 properties:
13   $nodename:
14     pattern: "^pwm(@.*|-[0-9a-f])*$"
16   "#pwm-cells":
17     description:
18       Number of cells in a PWM specifier.
20 required:
21   - "#pwm-cells"
23 examples:
24   - |
25     pwm: pwm@7000a000 {
26         compatible = "nvidia,tegra20-pwm";
27         reg = <0x7000a000 0x100>;
28         #pwm-cells = <2>;
29     };