mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
mfd: rk808: set buck4 output ripple voltage 3%
Change-Id: I6db5db62edb0a8e1e543f8ff6c021b6dbca475b2 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Signed-off-by: Zhou weixin <zwx@rock-chips.com>
This commit is contained in:
@@ -590,6 +590,7 @@ static const struct rk808_reg_data rk805_pre_init_reg[] = {
|
||||
{RK805_GPIO_IO_POL_REG, SLP_SD_MSK, SLEEP_FUN},
|
||||
{RK808_RTC_CTRL_REG, RTC_STOP, RTC_STOP},
|
||||
{RK805_THERMAL_REG, TEMP_HOTDIE_MSK, TEMP115C},
|
||||
{RK805_DCDC_VRP_REG, REG_WRITE_MSK, BUCK4_VRP_3PERCENT},
|
||||
};
|
||||
|
||||
static struct rk808_reg_data rk805_suspend_reg[] = {
|
||||
|
||||
@@ -537,6 +537,7 @@ enum rk805_reg {
|
||||
#define RK805_OUT_REG 0x52
|
||||
#define RK805_ON_SOURCE_REG 0xAE
|
||||
#define RK805_OFF_SOURCE_REG 0xAF
|
||||
#define RK805_DCDC_VRP_REG 0x92
|
||||
|
||||
#define RK805_NUM_REGULATORS 7
|
||||
|
||||
@@ -752,6 +753,7 @@ enum rk805_reg {
|
||||
#define BUCK1_2_IMAX_MAX (0x3 << 6)
|
||||
#define BUCK3_4_IMAX_MAX (0x3 << 3)
|
||||
#define BOOST_DISABLE ((0x1 << 5) | (0x0 << 1))
|
||||
#define BUCK4_VRP_3PERCENT 0xc0
|
||||
|
||||
#define TEMP105C 0x08
|
||||
#define TEMP115C 0x0c
|
||||
|
||||
Reference in New Issue
Block a user