Re: [U-Boot] [U-Boot, v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-25 Thread Philipp Tomsich
> 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,

Re: [U-Boot] [U-Boot, v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-25 Thread Philipp Tomsich
> 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,