mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
mfd: rk809: the sw1 interconvert with sw2
The patch is in line with the latest SPEC. Change-Id: I874ba2bea37c72745c34ca926a06881f605746ac Signed-off-by: shengfei Xu <xsf@rock-chips.com>
This commit is contained in:
parent
cbd6ff3011
commit
d7c6b6bd61
|
|
@ -571,15 +571,13 @@ regulator-state-mem {
|
|||
};
|
||||
};
|
||||
|
||||
vcc3v3_lcd: SWITCH_REG1 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
vcc5v0_host: SWITCH_REG1 {
|
||||
regulator-name = "vcc5v0_host";
|
||||
};
|
||||
|
||||
vcc5v0_host: SWITCH_REG2 {
|
||||
regulator-always-on;
|
||||
vcc3v3_lcd: SWITCH_REG2 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc5v0_host";
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -558,15 +558,13 @@ regulator-state-mem {
|
|||
};
|
||||
};
|
||||
|
||||
vcc3v3_lcd: SWITCH_REG1 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
vcc5v0_host: SWITCH_REG1 {
|
||||
regulator-name = "vcc5v0_host";
|
||||
};
|
||||
|
||||
vcc5v0_host: SWITCH_REG2 {
|
||||
regulator-always-on;
|
||||
vcc3v3_lcd: SWITCH_REG2 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc5v0_host";
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -623,15 +623,14 @@ regulator-state-mem {
|
|||
};
|
||||
};
|
||||
|
||||
vcc3v3_lcd: SWITCH_REG1 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
|
||||
vcc5v0_host: SWITCH_REG1 {
|
||||
regulator-name = "vcc5v0_host";
|
||||
};
|
||||
|
||||
vcc5v0_host: SWITCH_REG2 {
|
||||
regulator-always-on;
|
||||
vcc3v3_lcd: SWITCH_REG2 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc5v0_host";
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -635,15 +635,13 @@ regulator-state-mem {
|
|||
};
|
||||
};
|
||||
|
||||
vcc3v3_lcd: SWITCH_REG1 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
vcc5v0_host: SWITCH_REG1 {
|
||||
regulator-name = "vcc5v0_host";
|
||||
};
|
||||
|
||||
vcc5v0_host: SWITCH_REG2 {
|
||||
regulator-always-on;
|
||||
vcc3v3_lcd: SWITCH_REG2 {
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc5v0_host";
|
||||
regulator-name = "vcc3v3_lcd";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1473,12 +1473,12 @@ static const struct regulator_desc rk809_reg[] = {
|
|||
RK817_LDO_ON_VSEL_REG(8), RK817_LDO_VSEL_MASK,
|
||||
RK817_POWER_EN_REG(3), ENABLE_MASK(0), ENABLE_MASK(0),
|
||||
DISABLE_VAL(0), 400),
|
||||
RK817_DESC_SWITCH(RK809_ID_SW1, "SWITCH_REG1", "vcc8",
|
||||
RK817_POWER_EN_REG(3), ENABLE_MASK(3),
|
||||
ENABLE_MASK(3), DISABLE_VAL(3)),
|
||||
RK817_DESC_SWITCH(RK809_ID_SW2, "SWITCH_REG2", "vcc9",
|
||||
RK817_DESC_SWITCH(RK809_ID_SW1, "SWITCH_REG1", "vcc9",
|
||||
RK817_POWER_EN_REG(3), ENABLE_MASK(2),
|
||||
ENABLE_MASK(2), DISABLE_VAL(2)),
|
||||
RK817_DESC_SWITCH(RK809_ID_SW2, "SWITCH_REG2", "vcc8",
|
||||
RK817_POWER_EN_REG(3), ENABLE_MASK(3),
|
||||
ENABLE_MASK(3), DISABLE_VAL(3)),
|
||||
};
|
||||
|
||||
static int rk808_regulator_dt_parse_pdata(struct device *dev,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user