diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-10 07:37:58 -0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-07-16 09:00:32 -0400 |
commit | e102befe7a254f7b827fecc19eba0c5af03d1bf3 (patch) | |
tree | a58b33f847999e9ee80146f008717059945d3bf5 /drivers/mfd/arizona-spi.c | |
parent | 9cd9e289ddeb66fb571dfa83d36e15c6d4b33b4e (diff) |
mfd: Initial support for the WM5110
The WM5110 is a highly-integrated low-power audio system for smartphones,
tablets and other portable audio devices. It combines an advanced DSP
feature set with a flexible, high-performance audio hub CODEC.
The support is based on the Arizona core driver.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/arizona-spi.c')
-rw-r--r-- | drivers/mfd/arizona-spi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-spi.c b/drivers/mfd/arizona-spi.c index f4bedaf875e6..df2e5a8bee28 100644 --- a/drivers/mfd/arizona-spi.c +++ b/drivers/mfd/arizona-spi.c | |||
@@ -35,6 +35,11 @@ static int __devinit arizona_spi_probe(struct spi_device *spi) | |||
35 | regmap_config = &wm5102_spi_regmap; | 35 | regmap_config = &wm5102_spi_regmap; |
36 | break; | 36 | break; |
37 | #endif | 37 | #endif |
38 | #ifdef CONFIG_MFD_WM5110 | ||
39 | case WM5110: | ||
40 | regmap_config = &wm5110_spi_regmap; | ||
41 | break; | ||
42 | #endif | ||
38 | default: | 43 | default: |
39 | dev_err(&spi->dev, "Unknown device type %ld\n", | 44 | dev_err(&spi->dev, "Unknown device type %ld\n", |
40 | id->driver_data); | 45 | id->driver_data); |
@@ -69,6 +74,7 @@ static int __devexit arizona_spi_remove(struct spi_device *spi) | |||
69 | 74 | ||
70 | static const struct spi_device_id arizona_spi_ids[] = { | 75 | static const struct spi_device_id arizona_spi_ids[] = { |
71 | { "wm5102", WM5102 }, | 76 | { "wm5102", WM5102 }, |
77 | { "wm5110", WM5110 }, | ||
72 | { }, | 78 | { }, |
73 | }; | 79 | }; |
74 | MODULE_DEVICE_TABLE(spi, arizona_spi_ids); | 80 | MODULE_DEVICE_TABLE(spi, arizona_spi_ids); |