mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
mfd: rk808: restore the OTP value to POWER_EN register of rk817/rk809
rk817/rk809 must restore the PMIC_POWER_EN OTP value before the system reboot. Change-Id: I2ccfbb4d47eb41cdcea048111873b6ab85477d64 Signed-off-by: Shengfei Xu <xsf@rock-chips.com>
This commit is contained in:
@@ -825,6 +825,9 @@ enum rk809_reg_id {
|
||||
#define RK817_RTC_COMP_LSB_REG 0x10
|
||||
#define RK817_RTC_COMP_MSB_REG 0x11
|
||||
|
||||
#define RK817_POWER_EN_SAVE0 0x99
|
||||
#define RK817_POWER_EN_SAVE1 0xa4
|
||||
|
||||
#define RK817_POWER_EN_REG(i) (0xb1 + (i))
|
||||
#define RK817_POWER_SLP_EN_REG(i) (0xb5 + (i))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user