Re: [PATCH v2] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-03-01 Thread David.Wu
Hi Boris, 在 2017/3/1 18:19, Boris Brezillon 写道: On Wed, 1 Mar 2017 18:16:02 +0800 David Wu wrote: From: "david.wu" If the pwm was not enabled at uboot loader, pwm could not work for clock always disabled at pwm driver. The pwm clock is

Re: [PATCH v2] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-03-01 Thread David.Wu
Hi Boris, 在 2017/3/1 18:19, Boris Brezillon 写道: On Wed, 1 Mar 2017 18:16:02 +0800 David Wu wrote: From: "david.wu" If the pwm was not enabled at uboot loader, pwm could not work for clock always disabled at pwm driver. The pwm clock is enabled at beginning of pwm_apply(), but disabled at

Re: [PATCH v2] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-03-01 Thread Boris Brezillon
On Wed, 1 Mar 2017 18:16:02 +0800 David Wu wrote: > From: "david.wu" > > If the pwm was not enabled at uboot loader, pwm could not work for clock > always disabled at pwm driver. The pwm clock is enabled at beginning of > pwm_apply(), but

Re: [PATCH v2] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-03-01 Thread Boris Brezillon
On Wed, 1 Mar 2017 18:16:02 +0800 David Wu wrote: > From: "david.wu" > > If the pwm was not enabled at uboot loader, pwm could not work for clock > always disabled at pwm driver. The pwm clock is enabled at beginning of > pwm_apply(), but disabled at end of pwm_apply(). > > If the pwm was

[PATCH v2] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-03-01 Thread David Wu
From: "david.wu" If the pwm was not enabled at uboot loader, pwm could not work for clock always disabled at pwm driver. The pwm clock is enabled at beginning of pwm_apply(), but disabled at end of pwm_apply(). If the pwm was enabled at uboot loader, pwm clock is always

[PATCH v2] pwm: rockchip: State of pwm clock should synchronize with pwm enabled state

2017-03-01 Thread David Wu
From: "david.wu" If the pwm was not enabled at uboot loader, pwm could not work for clock always disabled at pwm driver. The pwm clock is enabled at beginning of pwm_apply(), but disabled at end of pwm_apply(). If the pwm was enabled at uboot loader, pwm clock is always enabled unless closed by