Skip to content

Commit efd11ad

Browse files
Fabrice GasnierLee Jones
authored andcommitted
dt-bindings: pwm: Add STM32 LPTimer PWM binding
Add documentation for STMicroelectronics STM32 Low-Power Timer PWM binding. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent e70a540 commit efd11ad

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
11+
Optional properties:
12+
- pinctrl-names: Set to "default".
13+
- pinctrl-0: Phandle pointing to pin configuration node for PWM.
14+
15+
Example:
16+
timer@40002400 {
17+
compatible = "st,stm32-lptimer";
18+
...
19+
pwm {
20+
compatible = "st,stm32-pwm-lp";
21+
pinctrl-names = "default";
22+
pinctrl-0 = <&lppwm1_pins>;
23+
};
24+
};

0 commit comments

Comments
 (0)