alistair23-linux/drivers/regulator
Haojian Zhuang 53dbab7af9 mfd: Support 88pm8606 in 860x driver
88PM8606 and 88PM8607 are two discrete chips used for power management.
Hardware designer can use them together or only one of them according to
requirement.

There's some logic tightly linked between these two chips. For example, USB
charger driver needs to access both chips by I2C interface.

Now share one driver to these two devices. Only one I2C client is identified
in platform init data. If another chip is also used, user should mark it in
companion_addr field of platform init data. Then driver could create another
I2C client for the companion chip.

All I2C operations are accessed by 860x-i2c driver. In order to support both
I2C client address, the read/write API is changed in below.

reg_read(client, offset)
reg_write(client, offset, data)

The benefit is that client drivers only need one kind of read/write API. I2C
and MFD driver can be shared in both 8606 and 8607.

Since API is changed, update API in 8607 regulator driver.

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2010-03-07 22:17:01 +01:00
..
88pm8607.c mfd: Support 88pm8606 in 860x driver 2010-03-07 22:17:01 +01:00
ab3100.c Regulators: ab3100 - fix probe and remove annotations 2010-03-03 14:49:27 +00:00
bq24022.c regulator/bq24022: fix bug in is_enabled function 2009-04-28 18:58:08 +01:00
core.c regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
da903x.c regulator: keep index within bounds in da9034_get_ldo12_voltage() 2009-12-17 10:27:25 +00:00
dummy.c regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
dummy.h regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
fixed.c Regulators: fixed - annotate probe and remove methods 2010-03-03 14:49:27 +00:00
Kconfig regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
lp3971.c Regulators: lp3971 - fail if platform data was not supplied 2010-03-03 14:49:28 +00:00
Makefile regulator: Provide optional dummy regulator for consumers 2010-03-03 14:49:26 +00:00
max1586.c Regulators: max1586 - annotate probe and remove methods 2010-03-03 14:49:28 +00:00
max8649.c regulator: enable max8649 regulator driver 2010-03-03 14:49:24 +00:00
max8660.c Regulators: max8660 - annotate probe and remove methods 2010-03-03 14:49:29 +00:00
mc13783-regulator.c regulator: mc13783: consider Power Gates as digital regulators. 2010-03-03 14:49:23 +00:00
pcap-regulator.c Regulators: pcap-regulator - clean up driver data after removal 2010-03-03 14:49:29 +00:00
pcf50633-regulator.c mfd: Fix pcf50633-regulator drvdata usage 2009-12-13 19:21:20 +01:00
tps6507x-regulator.c Regulators: tps6507x-regulator - mark probe method as __devinit 2010-03-03 14:49:28 +00:00
tps65023-regulator.c Regulators: tps65023-regulator - mark probe method as __devinit 2010-03-03 14:49:27 +00:00
twl-regulator.c Regulators: twl-regulator - mark probe function as __devinit 2010-03-03 14:49:27 +00:00
userspace-consumer.c regulator: userspace: use sysfs_create_group 2009-09-22 13:32:41 +01:00
virtual.c Regulators: virtual - use sysfs attribute groups 2010-03-03 14:49:26 +00:00
wm831x-dcdc.c Regulators: wm831x-xxx - clean up driver data after removal 2010-03-03 14:49:29 +00:00
wm831x-isink.c Regulators: wm831x-xxx - clean up driver data after removal 2010-03-03 14:49:29 +00:00
wm831x-ldo.c Regulators: wm831x-xxx - clean up driver data after removal 2010-03-03 14:49:29 +00:00
wm8350-regulator.c mfd: Add a data argument to the WM8350 IRQ free function 2010-03-07 22:16:56 +01:00
wm8400-regulator.c Regulators: wm8400 - cleanup platform driver data handling 2010-03-03 14:49:30 +00:00
wm8994-regulator.c Regulators: wm8994 - clean up driver data after removal 2010-03-03 14:49:29 +00:00