linux/drivers/mfd
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
..
88pm860x-core.c mfd: Support 88pm8606 in 860x driver 2010-03-07 22:17:01 +01:00
88pm860x-i2c.c mfd: Support 88pm8606 in 860x driver 2010-03-07 22:17:01 +01:00
ab3100-core.c mfd: Convert AB3100 driver to threaded IRQ 2010-03-07 22:17:00 +01:00
ab3100-otp.c mfd: AB3100 OTP readout 2009-09-17 09:47:21 +02:00
ab4500-core.c mfd: Fix ab4500 compilation warnings 2009-12-13 19:20:39 +01:00
adp5520.c mfd: Staticise __adp5520_ack_bits() 2009-12-13 19:21:26 +01:00
asic3.c mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
da903x.c mfd: early init for MFD running regulators 2009-06-17 19:41:54 +02:00
dm355evm_msp.c mfd: Correct ro and cd implemantion on DM355 2009-09-17 09:46:54 +02:00
ezx-pcap.c mfd: ezx-pcap: Don't pass pcap pointer as subdev drvdata. 2009-12-13 19:21:38 +01:00
htc-egpio.c bitops: rename for_each_bit() to for_each_set_bit() 2010-03-06 11:26:23 -08:00
htc-pasic3.c mfd: remove driver_data direct access of struct device 2009-06-15 21:30:27 -07:00
Kconfig mfd: Don't allow WM8350 to be built modular 2010-03-07 22:16:58 +01:00
Makefile mfd: Split 88pm8607 driver 2010-03-07 22:17:01 +01:00
mc13783-core.c mfd/mc13783: new function reading irq mask and status register 2010-03-06 11:26:47 -08:00
mcp-core.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
mcp-sa11x0.c add gpiolib support to ucb1x00 2009-11-27 21:07:21 +01:00
menelaus.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
mfd-core.c mfd: Allow multiple MFD cells with the same name 2009-09-17 09:46:56 +02:00
pcf50633-adc.c mfd: Fix memleak in pcf50633_client_dev_register 2009-12-13 19:21:17 +01:00
pcf50633-core.c mfd: Cleanup pcf50633_probe error handling 2009-12-13 19:21:28 +01:00
pcf50633-gpio.c mfd/pcf50633-gpio.c: add MODULE_LICENSE 2009-06-17 19:41:30 +02:00
sh_mobile_sdhi.c mfd: Add power control platform data to SDHI driver 2009-11-30 12:01:24 +09:00
sm501.c mfd: Use resource_size() in sm501 2010-03-07 22:16:52 +01:00
t7l66xb.c mfd: Correct use after free for t7l66xb 2010-03-07 22:16:55 +01:00
tc6387xb.c mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
tc6393xb.c mfd: Use resouce_size for tc6393xb 2010-03-07 22:16:54 +01:00
timberdale.c V4L/DVB: mfd: Add timb-radio to the timberdale MFD 2010-02-26 15:11:03 -03:00
timberdale.h V4L/DVB: mfd: Add support for the timberdale FPGA 2010-02-26 15:10:56 -03:00
tmio_core.c mfd: tmio_mmc hardware abstraction for CNF area 2010-01-18 12:30:27 +01:00
tps65010.c mfd: Allow configuration of VDCDC2 for tps65010 2009-12-13 19:21:36 +01:00
twl4030-codec.c mfd: compile fix for twl4030 renaming 2009-12-15 09:33:36 -08:00
twl4030-irq.c twl4030-irq.c: fix compiler warning due to raw-spinlock conversion 2009-12-31 17:26:05 -08:00
twl4030-power.c mfd: Rename all twl4030_i2c* 2009-12-13 21:23:33 +01:00
twl6030-irq.c mfd: Add support for twl6030 irq framework 2009-12-14 00:25:31 +01:00
twl-core.c OMAP4: PMIC: Add support for twl6030 codec 2010-02-24 13:17:03 +00:00
ucb1x00-assabet.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1x00-core.c add gpiolib support to ucb1x00 2009-11-27 21:07:21 +01:00
ucb1x00-ts.c move drivers/mfd/*.h to include/linux/mfd 2009-11-27 21:07:18 +01:00
ucb1400_core.c Input: ucb1400_ts - allow passing IRQ through platfrom_data 2009-11-20 00:52:05 -08:00
wm831x-core.c Merge git://git.infradead.org/battery-2.6 2009-12-15 08:59:33 -08:00
wm831x-irq.c mfd: Move WM831x to generic IRQ 2009-12-13 19:21:41 +01:00
wm831x-otp.c mfd: Add basic WM831x OTP support 2009-09-17 09:46:59 +02:00
wm8350-core.c mfd: WM835x GPIO direction register is not locked 2010-01-18 12:30:28 +01:00
wm8350-gpio.c mfd: Add GPIO pin configuration support for WM8350 2008-10-13 21:51:55 +01:00
wm8350-i2c.c mfd: Add WM8351 support 2009-01-04 12:17:42 +01:00
wm8350-irq.c mfd: Convert WM8350 to genirq 2010-03-07 22:16:57 +01:00
wm8350-regmap.c mfd: Remove build time warning for WM835x register default tables 2009-12-13 19:21:53 +01:00
wm8400-core.c mfd: early init for MFD running regulators 2009-06-17 19:41:54 +02:00