> 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,
> 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,
2 matches
Mail list logo