diff options
author | Kever Yang | 2016-09-23 15:57:18 +0800 |
---|---|---|
committer | Simon Glass | 2016-10-01 18:35:01 -0600 |
commit | d840daf4c247aa2a9bfade9317a4d2724afe21b3 (patch) | |
tree | f1a0d1bdee530ca2f9b3b1bed9d119de2bfbcbe6 | |
parent | 8389dcbf98b756d01b0b31679d3b83119382ac51 (diff) |
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 <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/arm/include/asm/arch-rockchip/pwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-rockchip/pwm.h b/arch/arm/include/asm/arch-rockchip/pwm.h index 08ff94591c9..5d9a178a701 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); |