linux/drivers/regulator
Haojian Zhuang e88267e164 regulator: replace ADTV1 register by ADTV2 in da903x
In PXA3xx SoC family, V_CORE power doamin is supplied by BUCK1 that is
controller by ADTV1 or ADTV2 register.

By default, v1 and v2 has the same copy. If v1 or v2 is updated, the last
value that is written to either register takes effect. It means that v1
and v2 has different copy. And the actual voltage output is determinated
by last update on either register.

DA9034/35 is binded with PXA3xx SoC family. While SoC is scaling OP or
entering/exiting lower power mode, SoC needs to change voltage of V_CORE
power doamin. In order to be efficient, POWER I2C (hardcode) mode could
be enabled in SoC. In this mode, SoC will control v2 register directly.

In original DA903x driver, software will only read regulator data from v1
register. But SoC controls v2 register directly. It results that v1 and v2
isn't synchronized. Wrong data will be read from v1 register. So access v2
register in da903x driver instead.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2009-09-22 13:32:37 +01:00
..
ab3100.c regulator: Voltage count for AB3100 2009-09-17 15:48:24 +02:00
bq24022.c regulator/bq24022: fix bug in is_enabled function 2009-04-28 18:58:08 +01:00
core.c regulator: Allow consumer supplies to be set up with dev_name() 2009-09-22 13:32:36 +01:00
da903x.c regulator: replace ADTV1 register by ADTV2 in da903x 2009-09-22 13:32:37 +01:00
fixed.c regulator: Set MODULE_ALIAS for regulator drivers 2009-06-15 11:18:24 +01:00
Kconfig regulator: AB3100 support 2009-09-17 09:47:25 +02:00
lp3971.c regulator: lp3971 - fix driver link error when built-in. 2009-06-15 11:18:26 +01:00
Makefile regulator: AB3100 support 2009-09-17 09:47:25 +02:00
max1586.c regulator/max1586: fix V3 gain calculation integer overflow 2009-06-15 11:18:27 +01:00
mc13783.c regulator: Add Freescale MC13783 driver 2009-09-17 09:47:19 +02:00
pcap-regulator.c regulator: get pcap data from the parent device 2009-09-17 09:47:13 +02:00
pcf50633-regulator.c drivers/regulator/pcf50633-regulator.c: Remove unnecessary semicolons 2009-09-22 13:32:36 +01:00
twl4030-regulator.c regulator: twl4030 VAUX3 supports 3.0V 2009-03-31 11:29:54 +01:00
userspace-consumer.c regulator: build fix for powerpc - renamed show_state 2009-06-15 11:18:23 +01:00
virtual.c regulator: Make virtual consumer a bit more chatty 2009-09-22 13:32:35 +01:00
wm831x-dcdc.c regulator: Add WM831x DC-DC boost convertor support 2009-09-17 09:47:10 +02:00
wm831x-isink.c regulator: Add WM831x ISINK support 2009-09-17 09:47:11 +02:00
wm831x-ldo.c regulator: Add WM831x LDO support 2009-09-17 09:47:09 +02:00
wm8350-regulator.c regulator: add check index of wm8350->pmic.pdev[] 2009-09-22 13:32:35 +01:00
wm8400-regulator.c regulator: remove driver_data direct access of struct device 2009-06-15 11:18:25 +01:00