Re: [PATCH v3 6/7] pwm: rockchip: Add rk3328 pwm support

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:42:47PM +0800, David Wu wrote: > The rk3328 soc supports atomic update, we could lock the configuration > of period and duty at first, after unlock is configured, the period and > duty are effective at the same time. > > If the polarity, period and duty need to be

Re: [PATCH v3 6/7] pwm: rockchip: Add rk3328 pwm support

2017-08-18 Thread Thierry Reding
On Tue, Aug 08, 2017 at 11:42:47PM +0800, David Wu wrote: > The rk3328 soc supports atomic update, we could lock the configuration > of period and duty at first, after unlock is configured, the period and > duty are effective at the same time. > > If the polarity, period and duty need to be

[PATCH v3 6/7] pwm: rockchip: Add rk3328 pwm support

2017-08-08 Thread David Wu
The rk3328 soc supports atomic update, we could lock the configuration of period and duty at first, after unlock is configured, the period and duty are effective at the same time. If the polarity, period and duty need to be configured together, the way for atomic update is "configure lock and old

[PATCH v3 6/7] pwm: rockchip: Add rk3328 pwm support

2017-08-08 Thread David Wu
The rk3328 soc supports atomic update, we could lock the configuration of period and duty at first, after unlock is configured, the period and duty are effective at the same time. If the polarity, period and duty need to be configured together, the way for atomic update is "configure lock and old