mirror of
https://github.com/torvalds/linux.git
synced 2024-10-31 01:01:52 +00:00
53dbab7af9
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> |
||
---|---|---|
.. | ||
88pm8607.c | ||
ab3100.c | ||
bq24022.c | ||
core.c | ||
da903x.c | ||
dummy.c | ||
dummy.h | ||
fixed.c | ||
Kconfig | ||
lp3971.c | ||
Makefile | ||
max1586.c | ||
max8649.c | ||
max8660.c | ||
mc13783-regulator.c | ||
pcap-regulator.c | ||
pcf50633-regulator.c | ||
tps6507x-regulator.c | ||
tps65023-regulator.c | ||
twl-regulator.c | ||
userspace-consumer.c | ||
virtual.c | ||
wm831x-dcdc.c | ||
wm831x-isink.c | ||
wm831x-ldo.c | ||
wm8350-regulator.c | ||
wm8400-regulator.c | ||
wm8994-regulator.c |