power: pmic: rk8xx: SYS shut down voltage select 3100mV
Let the CPU stop working earlier so that the last operation of spinand can be maintained at a better power supply level. Signed-off-by: shengfei Xu <xsf@rock-chips.com> Change-Id: I5bb008abaa6d5da3431f2edcee50579f7ab14eff
This commit is contained in:
parent
feffd38e6d
commit
465b1b6c16
|
|
@ -149,7 +149,7 @@ static struct reg_data rk817_init_reg[] = {
|
||||||
* the under-voltage protection will shutdown the LDO3 and reset the PMIC
|
* the under-voltage protection will shutdown the LDO3 and reset the PMIC
|
||||||
*/
|
*/
|
||||||
{ RK817_BUCK4_CMIN, 0x60, 0x60},
|
{ RK817_BUCK4_CMIN, 0x60, 0x60},
|
||||||
|
{ RK817_PMIC_SYS_CFG1, 0x40, 0x40},
|
||||||
/* Set pmic_sleep as none function */
|
/* Set pmic_sleep as none function */
|
||||||
{ RK817_PMIC_SYS_CFG3, 0x00, 0x18 },
|
{ RK817_PMIC_SYS_CFG3, 0x00, 0x18 },
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -198,7 +198,6 @@ enum {
|
||||||
RK817_POWER_EN2,
|
RK817_POWER_EN2,
|
||||||
RK817_POWER_EN3,
|
RK817_POWER_EN3,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define RK817_POWER_EN_SAVE0 0x99
|
#define RK817_POWER_EN_SAVE0 0x99
|
||||||
#define RK817_POWER_EN_SAVE1 0xa4
|
#define RK817_POWER_EN_SAVE1 0xa4
|
||||||
|
|
||||||
|
|
@ -206,6 +205,7 @@ enum {
|
||||||
#define RK817_ID_LSB 0xee
|
#define RK817_ID_LSB 0xee
|
||||||
#define RK8XX_ID_MSK 0xfff0
|
#define RK8XX_ID_MSK 0xfff0
|
||||||
|
|
||||||
|
#define RK817_PMIC_SYS_CFG1 0xf1
|
||||||
#define RK817_PMIC_SYS_CFG3 0xf4
|
#define RK817_PMIC_SYS_CFG3 0xf4
|
||||||
#define RK817_GPIO_INT_CFG 0xfe
|
#define RK817_GPIO_INT_CFG 0xfe
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue