summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-03-30 00:26:47 +0800
committerHans de Goede <hdegoede@redhat.com>2016-03-31 17:03:56 +0200
commit4c6a9ca103f953b6e5e6dfcd56fb558e61ca3c05 (patch)
tree701bffbf500262bfe08acce1f51e4ab9f766388f
parentb25b7ad16e1b2afa531612ce0b48d84d801c38d8 (diff)
downloadu-boot-imx-4c6a9ca103f953b6e5e6dfcd56fb558e61ca3c05.zip
u-boot-imx-4c6a9ca103f953b6e5e6dfcd56fb558e61ca3c05.tar.gz
u-boot-imx-4c6a9ca103f953b6e5e6dfcd56fb558e61ca3c05.tar.bz2
power: axp818: Fix DCDC5 default voltage
DCDC5 is designed to supply VCC-DRAM, which is normally 1.5V for DDR3, 1.35V for DDR3L, and 1.2V for LPDDR3. Also remove CONFIG_AXP_DCDC5_VOLT from h8_homlet_v2_defconfig. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r--configs/h8_homlet_v2_defconfig1
-rw-r--r--drivers/power/Kconfig3
2 files changed, 1 insertions, 3 deletions
diff --git a/configs/h8_homlet_v2_defconfig b/configs/h8_homlet_v2_defconfig
index 4742aaf6..1f492ab 100644
--- a/configs/h8_homlet_v2_defconfig
+++ b/configs/h8_homlet_v2_defconfig
@@ -12,4 +12,3 @@ CONFIG_SPL=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_AXP_DCDC1_VOLT=3000
-CONFIG_AXP_DCDC5_VOLT=1500
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index adc6455..548fe26 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -118,13 +118,12 @@ config AXP_DCDC4_VOLT
config AXP_DCDC5_VOLT
int "axp pmic dcdc5 voltage"
depends on AXP221_POWER || AXP818_POWER
- default 1800 if AXP818_POWER
default 1500 if MACH_SUN6I || MACH_SUN8I
---help---
Set the voltage (mV) to program the axp pmic dcdc5 at, set to 0 to
disable dcdc5.
On A23 / A31 / A33 / A83T boards dcdc5 is VCC-DRAM and should be 1.5V,
- 1.8V for A83T.
+ 1.35V if DDR3L is used.
config AXP_ALDO1_VOLT
int "axp pmic (a)ldo1 voltage"