diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2009-01-31 06:13:57 -0500 |
---|---|---|
committer | Eric Miao <eric.miao@marvell.com> | 2009-04-03 20:24:38 -0400 |
commit | eb650b9ed0f69be075a5a86ef9c4fc2cf7915293 (patch) | |
tree | e616530198070f60581f093b64543e062b7981f4 /arch/arm/configs | |
parent | 20bec8ab1458c24bed0d5492ee15d87807fc415a (diff) |
[ARM] pxa/magician: Enable bq24022 regulator for gpio_vbus and pda_power
With this patch, the bq24022 battery charger is controlled by the USB
gadget framework (via gpio_vbus) when connected to USB.
To compile, this patch depends on the "regulator: Allow init data to be
supplied for bq24022" patch (queued for next in the regulator tree) to
add the init_data field to struct bq24022_mach_info.
It also depends on the "add optional OTG transceiver and voltage
regulator support to pda_power" patch (queued for next in the power
supply tree) to enable charging when connected to the AC charger.
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/configs')
-rw-r--r-- | arch/arm/configs/magician_defconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/configs/magician_defconfig b/arch/arm/configs/magician_defconfig index 82428c2f234c..f56837f69ca7 100644 --- a/arch/arm/configs/magician_defconfig +++ b/arch/arm/configs/magician_defconfig | |||
@@ -1183,7 +1183,11 @@ CONFIG_RTC_INTF_DEV=y | |||
1183 | CONFIG_RTC_DRV_SA1100=y | 1183 | CONFIG_RTC_DRV_SA1100=y |
1184 | # CONFIG_RTC_DRV_PXA is not set | 1184 | # CONFIG_RTC_DRV_PXA is not set |
1185 | # CONFIG_DMADEVICES is not set | 1185 | # CONFIG_DMADEVICES is not set |
1186 | # CONFIG_REGULATOR is not set | 1186 | CONFIG_REGULATOR=y |
1187 | # CONFIG_REGULATOR_DEBUG is not set | ||
1188 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
1189 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
1190 | CONFIG_REGULATOR_BQ24022=y | ||
1187 | # CONFIG_UIO is not set | 1191 | # CONFIG_UIO is not set |
1188 | # CONFIG_STAGING is not set | 1192 | # CONFIG_STAGING is not set |
1189 | 1193 | ||