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

From: Andy Shevchenko
Date: Sat May 27 2017 - 18:28:56 EST


On Tue, May 9, 2017 at 11:19 AM, Claudiu Beznea
<claudiu.beznea@xxxxxxxxxxxxx> 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