Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / devicetree / bindings / pwm / pwm-stm32.txt
blob3e6d55018d7ac40d8484e60e9566dedaff38e30d
1 STMicroelectronics STM32 Timers PWM bindings
3 Must be a sub-node of an STM32 Timers device tree node.
4 See ../mfd/stm32-timers.txt for details about the parent node.
6 Required parameters:
7 - compatible:           Must be "st,stm32-pwm".
8 - pinctrl-names:        Set to "default".
9 - pinctrl-0:            List of phandles pointing to pin configuration nodes for PWM module.
10                         For Pinctrl properties see ../pinctrl/pinctrl-bindings.txt
12 Optional parameters:
13 - st,breakinput:        One or two <index level filter> to describe break input configurations.
14                         "index" indicates on which break input (0 or 1) the configuration
15                         should be applied.
16                         "level" gives the active level (0=low or 1=high) of the input signal
17                         for this configuration.
18                         "filter" gives the filtering value to be applied.
20 Example:
21         timers@40010000 {
22                 #address-cells = <1>;
23                 #size-cells = <0>;
24                 compatible = "st,stm32-timers";
25                 reg = <0x40010000 0x400>;
26                 clocks = <&rcc 0 160>;
27                 clock-names = "int";
29                 pwm {
30                         compatible = "st,stm32-pwm";
31                         pinctrl-0       = <&pwm1_pins>;
32                         pinctrl-names   = "default";
33                         st,breakinput = <0 1 5>;
34                 };
35         };