[U-Boot] [U-Boot, v1] rockchip: pwm: fix: pwm dosen't work on rk3288
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Sun Jun 25 23:03:10 UTC 2017
> According to rk3288 spec, the pwm register order is:
> PWM_PWM0_CNT,
> PWM_PWM0_PERIOD_HPR,
> PWM_PWM0_DUTY_LPR,
> PWM_PWM0_CTRL
>
> but the source code's order is:
> struct rk3288_pwm {
> u32 cnt;
> u32 duty_lpr;
> u32 period_hpr;
> u32 ctrl;
> };
>
> So, correct it here. It is the same as RK3399
>
> Signed-off-by: Eric Gao <eric.gao at rock-chips.com>
> ---
>
> arch/arm/include/asm/arch-rockchip/pwm.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied to u-boot-rockchip/next, thanks!
More information about the U-Boot
mailing list