commit | bdd37318936b3e56b912c66e40fff96b72595f9b | [log] [tgz] |
---|---|---|
author | eric.gao@rock-chips.com <eric.gao@rock-chips.com> | Mon Jun 19 14:45:36 2017 +0800 |
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | Tue Jul 11 12:13:47 2017 +0200 |
tree | 5572c7970c6cb7d95c45fba101a6c4218119d425 | |
parent | a70d1ea71904ce87c667be570c643823a13319b5 [diff] |
rockchip: pwm: fix the register layout for the PWM controller 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@rock-chips.com> Edited the commit message: Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>