regulator: 88pm860x: Add pre-regulator support for 88pm860x regulator
authorJett.Zhou <jtzhou@marvell.com>
Mon, 17 Sep 2012 04:19:06 +0000 (12:19 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 19 Sep 2012 10:39:13 +0000 (12:39 +0200)
commite7a7810ae08bfca5cb2cad8a8d55c16f299cc3fe
tree9e37c95144c1f811623df1014aae5ae76cb96fd4
parent51acdb61185e9c7579366712a415fc929929d3bb
regulator: 88pm860x: Add pre-regulator support for 88pm860x regulator

Pre-regulator of 88pm8606 is mainly for support charging based on vbus,
it needs to be enabled for charging battery, and will be disabled in
some exception condition like over-temp.
Add the pre-regulator support for 88pm860x regulator driver.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/regulator/88pm8607.c