arm64: rockchip: rk805: Add LDO regulators
Add the 3 LDO regulator found in the RK805 Power Management IC. MFC after: 1 week
This commit is contained in:
parent
ed8d62c038
commit
836eb97045
@ -138,6 +138,42 @@ static struct rk805_regdef rk805_regdefs[] = {
|
||||
.voltage_step = 100000,
|
||||
.voltage_nstep = 28,
|
||||
},
|
||||
{
|
||||
.id = RK805_LDO1,
|
||||
.name = "LDO_REG1",
|
||||
.enable_reg = RK805_LDO_EN,
|
||||
.enable_mask = 0x11,
|
||||
.voltage_reg = RK805_LDO1_ON_VSEL,
|
||||
.voltage_mask = 0x1F,
|
||||
.voltage_min = 800000,
|
||||
.voltage_max = 3400000,
|
||||
.voltage_step = 100000,
|
||||
.voltage_nstep = 27,
|
||||
},
|
||||
{
|
||||
.id = RK805_LDO2,
|
||||
.name = "LDO_REG2",
|
||||
.enable_reg = RK805_LDO_EN,
|
||||
.enable_mask = 0x22,
|
||||
.voltage_reg = RK805_LDO2_ON_VSEL,
|
||||
.voltage_mask = 0x1F,
|
||||
.voltage_min = 800000,
|
||||
.voltage_max = 3400000,
|
||||
.voltage_step = 100000,
|
||||
.voltage_nstep = 27,
|
||||
},
|
||||
{
|
||||
.id = RK805_LDO3,
|
||||
.name = "LDO_REG3",
|
||||
.enable_reg = RK805_LDO_EN,
|
||||
.enable_mask = 0x44,
|
||||
.voltage_reg = RK805_LDO3_ON_VSEL,
|
||||
.voltage_mask = 0x1F,
|
||||
.voltage_min = 800000,
|
||||
.voltage_max = 3400000,
|
||||
.voltage_step = 100000,
|
||||
.voltage_nstep = 27,
|
||||
},
|
||||
};
|
||||
|
||||
static struct rk805_regdef rk808_regdefs[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user