|
@@ -244,6 +244,7 @@ static int axp20x_set_dcdc_freq(struct platform_device *pdev, u32 dcdcfreq)
|
|
step = 75;
|
|
step = 75;
|
|
break;
|
|
break;
|
|
case AXP221_ID:
|
|
case AXP221_ID:
|
|
|
|
+ case AXP223_ID:
|
|
min = 1800;
|
|
min = 1800;
|
|
max = 4050;
|
|
max = 4050;
|
|
def = 3000;
|
|
def = 3000;
|
|
@@ -322,6 +323,7 @@ static int axp20x_set_dcdc_workmode(struct regulator_dev *rdev, int id, u32 work
|
|
break;
|
|
break;
|
|
|
|
|
|
case AXP221_ID:
|
|
case AXP221_ID:
|
|
|
|
+ case AXP223_ID:
|
|
if (id < AXP22X_DCDC1 || id > AXP22X_DCDC5)
|
|
if (id < AXP22X_DCDC1 || id > AXP22X_DCDC5)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
@@ -360,6 +362,7 @@ static int axp20x_regulator_probe(struct platform_device *pdev)
|
|
nregulators = AXP20X_REG_ID_MAX;
|
|
nregulators = AXP20X_REG_ID_MAX;
|
|
break;
|
|
break;
|
|
case AXP221_ID:
|
|
case AXP221_ID:
|
|
|
|
+ case AXP223_ID:
|
|
regulators = axp22x_regulators;
|
|
regulators = axp22x_regulators;
|
|
nregulators = AXP22X_REG_ID_MAX;
|
|
nregulators = AXP22X_REG_ID_MAX;
|
|
break;
|
|
break;
|