From f70444980b23f5f52025aa6b7d22233312dea136 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sat, 13 Dec 2014 12:40:45 +0100 Subject: sunxi: axp221: Add Kconfig help and sane defaults for typical ldo usage Some of the ldo-s of the axp221 are used in the same way on most boards, add comments to the Kconfig help text to reflect this, and give them defaults matching their typical usage. Signed-off-by: Hans de Goede Acked-by: Ian Campbell --- configs/CSQ_CS908_defconfig | 3 --- configs/Colombus_defconfig | 3 --- configs/Hummingbird_A31_defconfig | 4 ---- configs/Mele_M9_defconfig | 3 --- 4 files changed, 13 deletions(-) (limited to 'configs') diff --git a/configs/CSQ_CS908_defconfig b/configs/CSQ_CS908_defconfig index 4c9cff6e92..1b6cdbf811 100644 --- a/configs/CSQ_CS908_defconfig +++ b/configs/CSQ_CS908_defconfig @@ -11,9 +11,6 @@ CONFIG_FDTFILE="sun6i-a31s-cs908.dtb" +S:CONFIG_AXP221_DLDO1_VOLT=3300 # Wifi power +S:CONFIG_AXP221_ALDO1_VOLT=3300 -# HDMI power ? -+S:CONFIG_AXP221_ALDO2_VOLT=1800 -+S:CONFIG_AXP221_ALDO3_VOLT=3000 # No Vbus gpio for either usb +S:CONFIG_USB1_VBUS_PIN="" +S:CONFIG_USB2_VBUS_PIN="" diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig index b8c5400267..f42ae5222e 100644 --- a/configs/Colombus_defconfig +++ b/configs/Colombus_defconfig @@ -9,8 +9,5 @@ CONFIG_FDTFILE="sun6i-a31-colombus.dtb" +S:CONFIG_DRAM_ZQ=251 # Wifi power +S:CONFIG_AXP221_ALDO1_VOLT=3300 -# HDMI power ? -+S:CONFIG_AXP221_ALDO2_VOLT=1800 -+S:CONFIG_AXP221_ALDO3_VOLT=3000 # No Vbus gpio for usb1 +S:CONFIG_USB1_VBUS_PIN="" diff --git a/configs/Hummingbird_A31_defconfig b/configs/Hummingbird_A31_defconfig index b60d579e4b..93820ab966 100644 --- a/configs/Hummingbird_A31_defconfig +++ b/configs/Hummingbird_A31_defconfig @@ -9,10 +9,6 @@ CONFIG_FDTFILE="sun6i-a31-hummingbird.dtb" +S:CONFIG_DRAM_ZQ=251 # Wifi power +S:CONFIG_AXP221_ALDO1_VOLT=3300 -# PM-CPUS GPIO power -+S:CONFIG_AXP221_ALDO2_VOLT=1800 -# SoC IR, PLL and Analog power (must be 3.0V) -+S:CONFIG_AXP221_ALDO3_VOLT=3000 # Vbus gpio for usb1 +S:CONFIG_USB1_VBUS_PIN="PH24" # No Vbus gpio for usb2 diff --git a/configs/Mele_M9_defconfig b/configs/Mele_M9_defconfig index a598254b2d..445cc574d8 100644 --- a/configs/Mele_M9_defconfig +++ b/configs/Mele_M9_defconfig @@ -13,9 +13,6 @@ CONFIG_FDTFILE="sun6i-a31-m9.dtb" +S:CONFIG_AXP221_DLDO4_VOLT=3300 # Wifi power +S:CONFIG_AXP221_ALDO1_VOLT=3300 -# HDMI power ? -+S:CONFIG_AXP221_ALDO2_VOLT=1800 -+S:CONFIG_AXP221_ALDO3_VOLT=3000 # Vbus gpio for usb1 +S:CONFIG_USB1_VBUS_PIN="PC27" # No Vbus gpio for usb2 -- cgit v1.2.3