Commit 867af973 authored by Thomas Weber's avatar Thomas Weber Committed by Mark Brown

Add ASoC support for Devkit8000

This patch expands the omap3beagle sound soc for the
beagle board clone DevKit8000.
Signed-off-by: default avatarThomas Weber <weber@corscience.de>
Acked-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent c6848bf5
...@@ -94,12 +94,14 @@ config SND_OMAP_SOC_OMAP3_PANDORA ...@@ -94,12 +94,14 @@ config SND_OMAP_SOC_OMAP3_PANDORA
Say Y if you want to add support for SoC audio on the OMAP3 Pandora. Say Y if you want to add support for SoC audio on the OMAP3 Pandora.
config SND_OMAP_SOC_OMAP3_BEAGLE config SND_OMAP_SOC_OMAP3_BEAGLE
tristate "SoC Audio support for OMAP3 Beagle" tristate "SoC Audio support for OMAP3 Beagle and Devkit8000"
depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP3_BEAGLE depends on TWL4030_CORE && SND_OMAP_SOC
depends on (MACH_OMAP3_BEAGLE || MACH_DEVKIT8000)
select SND_OMAP_SOC_MCBSP select SND_OMAP_SOC_MCBSP
select SND_SOC_TWL4030 select SND_SOC_TWL4030
help help
Say Y if you want to add support for SoC audio on the Beagleboard. Say Y if you want to add support for SoC audio on the Beagleboard or
the clone Devkit8000.
config SND_OMAP_SOC_ZOOM2 config SND_OMAP_SOC_ZOOM2
tristate "SoC Audio support for Zoom2" tristate "SoC Audio support for Zoom2"
......
...@@ -117,11 +117,11 @@ static int __init omap3beagle_soc_init(void) ...@@ -117,11 +117,11 @@ static int __init omap3beagle_soc_init(void)
{ {
int ret; int ret;
if (!machine_is_omap3_beagle()) { if (!(machine_is_omap3_beagle() || machine_is_devkit8000())) {
pr_debug("Not OMAP3 Beagle!\n"); pr_debug("Not OMAP3 Beagle or Devkit8000!\n");
return -ENODEV; return -ENODEV;
} }
pr_info("OMAP3 Beagle SoC init\n"); pr_info("OMAP3 Beagle/Devkit8000 SoC init\n");
omap3beagle_snd_device = platform_device_alloc("soc-audio", -1); omap3beagle_snd_device = platform_device_alloc("soc-audio", -1);
if (!omap3beagle_snd_device) { if (!omap3beagle_snd_device) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment