drivers: regulator: axp192: Bugfix to control DCDC2 output
Fix wrong definition of DCDC2 register values. Signed-off-by: Martin Kiepfer <mrmarteng@teleschirm.org>
This commit is contained in:
parent
6bcf73ff14
commit
1a94b0ab24
|
@ -84,9 +84,9 @@ static const struct linear_range dcdc2_ranges[] = {
|
|||
};
|
||||
|
||||
static const struct regulator_axp192_desc dcdc2_desc = {
|
||||
.enable_reg = AXP192_REG_DCDC123_LDO23_CONTROL,
|
||||
.enable_mask = 0x10U,
|
||||
.enable_val = 0x10U,
|
||||
.enable_reg = AXP192_REG_EXTEN_DCDC2_CONTROL,
|
||||
.enable_mask = 0x01U,
|
||||
.enable_val = 0x01U,
|
||||
.vsel_reg = AXP192_REG_DCDC2_VOLTAGE,
|
||||
.vsel_mask = 0x3FU,
|
||||
.vsel_bitpos = 0U,
|
||||
|
|
Loading…
Reference in a new issue