Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: pwm: sti: Update DT bindings for capture support

In order to support capture of PWM signals a new clock as well as an
interrupt line are required. Furthermore a new property is introduced
that allows the number of capture channels to be specified. Typically
there will be less capture channels than output channels, since all
channels have the latter capability, but only some have support for
capture.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>

authored by

Lee Jones and committed by
Thierry Reding
055beac1 fe0e2cf9

+5 -3
+5 -3
Documentation/devicetree/bindings/pwm/pwm-st.txt
··· 13 13 - pinctrl-0: List of phandles pointing to pin configuration nodes 14 14 for PWM module. 15 15 For Pinctrl properties, please refer to [1]. 16 - - clock-names: Set to "pwm". 16 + - clock-names: Valid entries are "pwm" and/or "capture". 17 17 - clocks: phandle of the clock used by the PWM module. 18 18 For Clk properties, please refer to [2]. 19 + - interrupts: IRQ for the Capture device 19 20 20 21 Optional properties: 21 - - st,pwm-num-chan: Number of available channels. If not passed, the driver 22 - will consider single channel by default. 22 + - st,pwm-num-chan: Number of available PWM channels. Default is 0. 23 + - st,capture-num-chan: Number of available Capture channels. Default is 0. 23 24 24 25 [1] Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt 25 26 [2] Documentation/devicetree/bindings/clock/clock-bindings.txt ··· 39 38 clocks = <&clk_sysin>; 40 39 clock-names = "pwm"; 41 40 st,pwm-num-chan = <4>; 41 + st,capture-num-chan = <2>; 42 42 };