]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa/magician: Enable bq24022 regulator for gpio_vbus and pda_power
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 31 Jan 2009 11:13:57 +0000 (12:13 +0100)
committerEric Miao <eric.miao@marvell.com>
Sat, 4 Apr 2009 00:24:38 +0000 (08:24 +0800)
commit819f08b0471ace5a39266e546800928ebdfc7201
treee616530198070f60581f093b64543e062b7981f4
parent22b38ecd19237823fd665db4422e5449cf5e0e37
[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>
arch/arm/configs/magician_defconfig
arch/arm/mach-pxa/include/mach/magician.h
arch/arm/mach-pxa/magician.c