pxa: magician/hx4700: Convert to gpio-regulator from bq24022
authorHeiko Stübner <heiko@sntech.de>
Fri, 2 Mar 2012 12:56:38 +0000 (13:56 +0100)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Tue, 6 Mar 2012 06:01:15 +0000 (14:01 +0800)
commit6967cca8b431a181d3a02eee81f0c9f8b5e9e75a
treed8a6842c0b7766261ac48b1645f4b1d43f26f73b
parent192cfd58774b4d17b2fe8bdc77d89c2ef4e0591d
pxa: magician/hx4700: Convert to gpio-regulator from bq24022

The bq24022 on these machines is a very simple regulator using gpios.
One provides the on/off functionality and a second one is used to
change the current between 100 and 500 mA.

This functionality can also be provided by the more generic gpio-regulator.

Therefore convert both machines which makes it possible to remove the
bq24022 driver later on.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/configs/magician_defconfig
arch/arm/mach-pxa/hx4700.c
arch/arm/mach-pxa/magician.c