]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/regulator/axp20x-regulator.c
Merge tag 'mfd-for-linus-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[mirror_ubuntu-artful-kernel.git] / drivers / regulator / axp20x-regulator.c
index 214e815e98eb0d3197dc9f6441d4498863746344..40cd894e4df5e3d11f26442692dd9c0076d932af 100644 (file)
@@ -238,6 +238,7 @@ static int axp20x_set_dcdc_freq(struct platform_device *pdev, u32 dcdcfreq)
                step = 75;
                break;
        case AXP221_ID:
+       case AXP223_ID:
                min = 1800;
                max = 4050;
                def = 3000;
@@ -316,6 +317,7 @@ static int axp20x_set_dcdc_workmode(struct regulator_dev *rdev, int id, u32 work
                break;
 
        case AXP221_ID:
+       case AXP223_ID:
                if (id < AXP22X_DCDC1 || id > AXP22X_DCDC5)
                        return -EINVAL;
 
@@ -354,6 +356,7 @@ static int axp20x_regulator_probe(struct platform_device *pdev)
                nregulators = AXP20X_REG_ID_MAX;
                break;
        case AXP221_ID:
+       case AXP223_ID:
                regulators = axp22x_regulators;
                nregulators = AXP22X_REG_ID_MAX;
                break;