sunxi: axp209: fix incorrect limits on ldo3
[oweals/u-boot.git] / drivers / power / axp209.c
index 4565398b0bf37d70b55e7f403aef4c3e70877cc3..f8c9b77be081ec26b51124e85a43e2f001d8c0c0 100644 (file)
@@ -119,7 +119,7 @@ int axp209_set_ldo3(int mvolt)
        if (mvolt == -1)
                cfg = 0x80;     /* determined by LDO3IN pin */
        else
-               cfg = axp209_mvolt_to_cfg(mvolt, 700, 2275, 25);
+               cfg = axp209_mvolt_to_cfg(mvolt, 700, 3500, 25);
 
        return axp209_write(AXP209_LDO3_VOLTAGE, cfg);
 }