GNU Linux-libre 4.19.264-gnu1
[releases.git] / Documentation / devicetree / bindings / pwm / pwm-stm32-lp.txt
1 STMicroelectronics STM32 Low-Power Timer PWM
2
3 STM32 Low-Power Timer provides single channel PWM.
4
5 Must be a sub-node of an STM32 Low-Power Timer device tree node.
6 See ../mfd/stm32-lptimer.txt for details about the parent node.
7
8 Required parameters:
9 - compatible:           Must be "st,stm32-pwm-lp".
10 - #pwm-cells:           Should be set to 3. This PWM chip uses the default 3 cells
11                         bindings defined in pwm.txt.
12
13 Optional properties:
14 - pinctrl-names:        Set to "default".
15 - pinctrl-0:            Phandle pointing to pin configuration node for PWM.
16
17 Example:
18         timer@40002400 {
19                 compatible = "st,stm32-lptimer";
20                 ...
21                 pwm {
22                         compatible = "st,stm32-pwm-lp";
23                         #pwm-cells = <3>;
24                         pinctrl-names = "default";
25                         pinctrl-0 = <&lppwm1_pins>;
26                 };
27         };