[PATCH v2 1/2] drivers: pwm: core: implement pwm dead-times

Andy Shevchenko andy.shevchenko at gmail.com
Sat May 27 15:28:45 PDT 2017


On Tue, May 9, 2017 at 11:19 AM, Claudiu Beznea
<claudiu.beznea at microchip.com> wrote:
> Extends PWM framework to support PWM dead-times.
> The notions introduced are rising edge dead-time
> and falling edge dead-time. These are useful for
> PWM controllers with channels that have more than
> one outputs.
> The implementation add sysfs interface for
> configuration. It extends the pwm_state structure
> with two new members which keeps the values for
> dead-times.
> There were no additions in device tree for PWM channels
> initialized by device tree.

AFAIU it's effectively called phase of the signal.
It looks to me much simpler if you allow to have linked / virtual
channels instead of creating a lot of (duplicated) properties.

-- 
With Best Regards,
Andy Shevchenko



More information about the linux-arm-kernel mailing list