From: Kever Yang Date: Fri, 23 Sep 2016 07:57:18 +0000 (+0800) Subject: rockchip: rkpwm: fix the register sequence X-Git-Tag: v2016.11-rc1~1^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d840daf4c247aa2a9bfade9317a4d2724afe21b3;p=platform%2Fkernel%2Fu-boot.git rockchip: rkpwm: fix the register sequence Reference to kernel source code, rockchip pwm has three type, we are using v2 for rk3288 and rk3399, so let's update the register to sync with pwm_data_v2 in kernel. Signed-off-by: Kever Yang Acked-by: Simon Glass --- diff --git a/arch/arm/include/asm/arch-rockchip/pwm.h b/arch/arm/include/asm/arch-rockchip/pwm.h index 08ff945..5d9a178 100644 --- a/arch/arm/include/asm/arch-rockchip/pwm.h +++ b/arch/arm/include/asm/arch-rockchip/pwm.h @@ -10,8 +10,8 @@ struct rk3288_pwm { u32 cnt; - u32 period_hpr; u32 duty_lpr; + u32 period_hpr; u32 ctrl; }; check_member(rk3288_pwm, ctrl, 0xc);