diff options
author | Qiao Zhou <zhouqiao@marvell.com> | 2012-07-09 10:37:33 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-09 17:13:31 +0400 |
commit | 5500e3964b8c154dc5af51ebcd7cd4df5d4abfee (patch) | |
tree | 729e2fb0ecd6b84b445722637cb511edbcc9df0b /include/linux/mfd | |
parent | 70c6cce040661204986ebbf22224cb24bd77ea71 (diff) | |
download | linux-5500e3964b8c154dc5af51ebcd7cd4df5d4abfee.tar.xz |
mfd: Add companion chip in 88pm80x
in hw design, 800 is mainly for pmic control, while 805 for audio.
but there are 3 registers which controls class D speaker property,
and they are defined in 800 i2c client domain. so 805 codec driver
needs to use 800 i2c client to access class D speaker reg for
audio path management. so add this workaround for the purpose to
let 805 access 800 i2c in some scenario.
Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r-- | include/linux/mfd/88pm80x.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/88pm80x.h b/include/linux/mfd/88pm80x.h index 6c126e9714a3..103f06d1892d 100644 --- a/include/linux/mfd/88pm80x.h +++ b/include/linux/mfd/88pm80x.h @@ -295,6 +295,7 @@ struct pm80x_chip { struct pm80x_subchip *subchip; struct device *dev; struct i2c_client *client; + struct i2c_client *companion; struct regmap *regmap; struct regmap_irq_chip *regmap_irq_chip; struct regmap_irq_chip_data *irq_data; |