1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/pwm/pwm.yam 4 $id: http://devicetree.org/schemas/pwm/pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: PWM controllers (providers) 7 title: PWM controllers (providers) 8 8 9 maintainers: 9 maintainers: 10 - Thierry Reding <thierry.reding@gmail.com> 10 - Thierry Reding <thierry.reding@gmail.com> 11 11 12 select: false 12 select: false 13 13 14 properties: 14 properties: 15 $nodename: 15 $nodename: 16 pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$ 16 pattern: "^pwm(@.*|-([0-9]|[1-9][0-9]+))?$" 17 17 18 "#pwm-cells": 18 "#pwm-cells": 19 description: | 19 description: | 20 Number of cells in a PWM specifier. Typi 20 Number of cells in a PWM specifier. Typically the cells represent, in 21 order: the chip-relative PWM number, the 21 order: the chip-relative PWM number, the PWM period in nanoseconds and 22 optionally a number of flags (defined in 22 optionally a number of flags (defined in <dt-bindings/pwm/pwm.h>). 23 23 24 required: 24 required: 25 - "#pwm-cells" 25 - "#pwm-cells" 26 26 27 additionalProperties: true 27 additionalProperties: true 28 28 29 examples: 29 examples: 30 - | 30 - | 31 pwm: pwm@1c20e00 { 31 pwm: pwm@1c20e00 { 32 compatible = "allwinner,sun7i-a20-pwm" 32 compatible = "allwinner,sun7i-a20-pwm"; 33 reg = <0x01c20e00 0xc>; 33 reg = <0x01c20e00 0xc>; 34 clocks = <&osc24M>; 34 clocks = <&osc24M>; 35 #pwm-cells = <3>; 35 #pwm-cells = <3>; 36 }; 36 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.