> 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....@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! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot