Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pwm/pwm.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: PWM controllers (providers)
0008 
0009 maintainers:
0010   - Thierry Reding <thierry.reding@gmail.com>
0011 
0012 select: false
0013 
0014 properties:
0015   $nodename:
0016     pattern: "^pwm(@.*|-[0-9a-f])*$"
0017 
0018   "#pwm-cells":
0019     description:
0020       Number of cells in a PWM specifier.
0021 
0022 required:
0023   - "#pwm-cells"
0024 
0025 additionalProperties: true
0026 
0027 examples:
0028   - |
0029     pwm: pwm@1c20e00 {
0030         compatible = "allwinner,sun7i-a20-pwm";
0031         reg = <0x01c20e00 0xc>;
0032         clocks = <&osc24M>;
0033         #pwm-cells = <3>;
0034     };