From f339f09c47ccff3f953ef3a0fd1aaa5a7c360f58 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 3 Oct 2015 15:21:53 +0200 Subject: sunxi: power: Change A23/A33 VDD-SYS default from 1.2V to 1.1V Change the axp223 dcdc2 / VDD-SYS default from 1.2V to 1.1V, 1.1V is the value recommended by Allwinner and is what most fex files specify. This has been tested on a number of A23/A33 tablets including on an A23 Ippo-q8h-v1.2 PCB tablet which has a fex file which specifies 1.2V (which is where our original 1.2V default comes from). Signed-off-by: Hans de Goede Acked-by: Ian Campbell diff --git a/configs/gt90h_v4_defconfig b/configs/gt90h_v4_defconfig index e6be718..e7347d8 100644 --- a/configs/gt90h_v4_defconfig +++ b/configs/gt90h_v4_defconfig @@ -20,7 +20,6 @@ CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=5" # CONFIG_CMD_IMLS is not set # CONFIG_CMD_FLASH is not set # CONFIG_CMD_FPGA is not set -CONFIG_AXP_DCDC2_VOLT=1100 CONFIG_AXP_DLDO1_VOLT=3300 CONFIG_AXP_ALDO1_VOLT=3000 CONFIG_USB_MUSB_HOST=y diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index befb845..81d2c39 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -53,13 +53,14 @@ config AXP_DCDC2_VOLT int "axp pmic dcdc2 voltage" depends on AXP152_POWER || AXP209_POWER || AXP221_POWER default 1400 if AXP152_POWER || AXP209_POWER - default 1200 if MACH_SUN6I || MACH_SUN8I + default 1200 if MACH_SUN6I + default 1100 if MACH_SUN8I ---help--- Set the voltage (mV) to program the axp pmic dcdc2 at, set to 0 to disable dcdc2. On A10(s) / A13 / A20 boards dcdc2 is VDD-CPU and should be 1.4V. On A31 boards dcdc2 is used for VDD-GPU and should be 1.2V. - On A23/A33 boards dcdc2 is used for VDD-SYS and should be 1.2V. + On A23/A33 boards dcdc2 is used for VDD-SYS and should be 1.1V. config AXP_DCDC3_VOLT int "axp pmic dcdc3 voltage" -- cgit v0.10.2