Re: [PATCH v4 17/17] dt-bindings: pwm: sti: Update DT bindings with recent changes

From: Rob Herring
Date: Thu Aug 18 2016 - 21:18:59 EST


On Tue, Aug 16, 2016 at 10:35:08AM +0100, Lee Jones wrote:
> We're renaming the 'st,pwm-num-chan' binding to 'st,pwm-num-devs' to
> be more inline with the naming conventions of the subsystem. Where
> we used to treat each line as a channel, the PWM convention is to
> describe them as devices.

This is out of date now. Otherwise, the binding looks fine.

> The second documentation adaption entails adding support for PWM
> capture devices. A new clock is required as well as an IRQ line.
> We're also adding a new property similar to the one described
> above, but for capture channels. Typically, there will be less
> capture channels than PWM-out, since all channels have the latter
> capability, but only some have capture support.
>
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/pwm/pwm-st.txt | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)