diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2015-01-17 16:21:22 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-02-26 11:04:07 +0100 |
commit | e5d4ef0d731664b3fe204f4e5e87f5756e848fb1 (patch) | |
tree | 135041e482374e93f9a93d531a3f248932cbbb31 /drivers/mfd/arizona-i2c.c | |
parent | Linux 4.0-rc1 (diff) | |
download | linux-e5d4ef0d731664b3fe204f4e5e87f5756e848fb1.tar.xz linux-e5d4ef0d731664b3fe204f4e5e87f5756e848fb1.zip |
mfd: arizona: Add support for WM8280/WM8281
This adds support for the Wolfson Microelectronics WM8280 and WM8281
codecs.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
[Lee: Minor fixup to remove potentially uninitialised variable. ]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/arizona-i2c.c')
-rw-r--r-- | drivers/mfd/arizona-i2c.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-i2c.c b/drivers/mfd/arizona-i2c.c index 9d4156fb082a..ff782a5de235 100644 --- a/drivers/mfd/arizona-i2c.c +++ b/drivers/mfd/arizona-i2c.c @@ -44,6 +44,7 @@ static int arizona_i2c_probe(struct i2c_client *i2c, #endif #ifdef CONFIG_MFD_WM5110 case WM5110: + case WM8280: regmap_config = &wm5110_i2c_regmap; break; #endif @@ -87,6 +88,7 @@ static int arizona_i2c_remove(struct i2c_client *i2c) static const struct i2c_device_id arizona_i2c_id[] = { { "wm5102", WM5102 }, { "wm5110", WM5110 }, + { "wm8280", WM8280 }, { "wm8997", WM8997 }, { } }; |