| bab0c55c | 16-Mar-2018 |
David Wu <david.wu@rock-chips.com> |
pwm: rockchip: Do pwm pinctrl setting after pwm enabled
If the PWM pinctrl uses default state, the iomux setting will be done at probe, the PWM may not be enabled at this moment. It will make PWM in
pwm: rockchip: Do pwm pinctrl setting after pwm enabled
If the PWM pinctrl uses default state, the iomux setting will be done at probe, the PWM may not be enabled at this moment. It will make PWM into an intermediate state, destroy the default hardware state, the PWM is not ready for work yet. So it is better for doing PWM pinctrl setting after PWM enabled.
Change-Id: I8b700a07083b9a6798303fc5a5ed9f29eb42c47e Signed-off-by: David Wu <david.wu@rock-chips.com>
show more ...
|
| 874ee59a | 24-Apr-2017 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: pwm: implement pwm_set_invert()
Rockchip pwm need to init polarity, implement pwm_set_invert() to do it.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@c
rockchip: pwm: implement pwm_set_invert()
Rockchip pwm need to init polarity, implement pwm_set_invert() to do it.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
| e2e4e145 | 12-Aug-2016 |
Kever Yang <kever.yang@rock-chips.com> |
rk_pwm: remove grf setting code from driver
We consider the grf setting for pwm controller select as the system operation instead of driver operation, move it to soc init, let's remove it from pwm d
rk_pwm: remove grf setting code from driver
We consider the grf setting for pwm controller select as the system operation instead of driver operation, move it to soc init, let's remove it from pwm driver first.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|