aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-03-07 02:04:58 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-07 07:19:50 -0500
commitf5c4ffbd65892829f7ec503a89ea24eb0fc952dc (patch)
tree321eb2c61af4a7adc27d86f1ccd3c6323110fe67 /sound/soc/samsung/Kconfig
parentb7874e4490aa201be2f904ffd8bb88a7b9970c6a (diff)
ASoC: Samsung: Merge neo1937_wm8753 and neo1973_gta02_wm8753 sound board driver
The neo1973(GTA01) and neo1973_gta02(GTA02) have a very similar audio hardware setup. They both use the same codec with the same routing to the gsm modem and bluetooth chip. But they do use different AMPs though and there are some minor differences in the speaker setup. As a result most of the code of those two drivers is identical. So from a maintenance point of view it makes sense to merge them into a single driver. It also reduces the size of kernel images supporting both the GTA01 and GTA02. As a side-effect of this merge the GTA01 for example gains support for routing audio to and from the bluetooth DAI. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/Kconfig')
-rw-r--r--sound/soc/samsung/Kconfig19
1 files changed, 5 insertions, 14 deletions
diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig
index ba78e26e20f2..c3014e821570 100644
--- a/sound/soc/samsung/Kconfig
+++ b/sound/soc/samsung/Kconfig
@@ -35,24 +35,15 @@ config SND_SAMSUNG_I2S
35 tristate 35 tristate
36 36
37config SND_SOC_SAMSUNG_NEO1973_WM8753 37config SND_SOC_SAMSUNG_NEO1973_WM8753
38 tristate "SoC I2S Audio support for NEO1973 - WM8753" 38 tristate "Audio support for Openmoko Neo1973 Smartphones (GTA01/GTA02)"
39 depends on SND_SOC_SAMSUNG && MACH_NEO1973_GTA01 39 depends on SND_SOC_SAMSUNG && (MACH_NEO1973_GTA01 || MACH_NEO1973_GTA02)
40 select SND_S3C24XX_I2S 40 select SND_S3C24XX_I2S
41 select SND_SOC_WM8753 41 select SND_SOC_WM8753
42 select SND_SOC_LM4857 42 select SND_SOC_LM4857 if MACH_NEO1973_GTA01
43 help 43 help
44 Say Y if you want to add support for SoC audio on smdk2440 44 Say Y here to enable audio support for the Openmoko Neo1973
45 with the WM8753. 45 Smartphones.
46 46
47config SND_SOC_SAMSUNG_NEO1973_GTA02_WM8753
48 tristate "Audio support for the Openmoko Neo FreeRunner (GTA02)"
49 depends on SND_SOC_SAMSUNG && MACH_NEO1973_GTA02
50 select SND_S3C24XX_I2S
51 select SND_SOC_WM8753
52 help
53 This driver provides audio support for the Openmoko Neo FreeRunner
54 smartphone.
55
56config SND_SOC_SAMSUNG_JIVE_WM8750 47config SND_SOC_SAMSUNG_JIVE_WM8750
57 tristate "SoC I2S Audio support for Jive" 48 tristate "SoC I2S Audio support for Jive"
58 depends on SND_SOC_SAMSUNG && MACH_JIVE 49 depends on SND_SOC_SAMSUNG && MACH_JIVE