ASoC: SDP4430: Add sdp4430 machine driver
PATCH 1/2 ASoC: SDP4430: Add sdp4430 machine driver
From: Misael Lopez Cruz <[email protected]>
Add ASoC support for TI SDP4430.
Signed-off-by Misael Lopez Cruz <[email protected]>
Signed-off-by Margarita Olaya Cabrera <[email protected]>
Signed-off-by Jorge Eduardo Candelaria <[email protected]>
--- sound/soc/omap/Kconfig | 9 ++ sound/soc/omap/Makefile | 2 + sound/soc/omap/sdp4430.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 239 insertions(+), 0 deletions(-) create mode 100644 sound/soc/omap/sdp4430.c
sound/soc/omap/Kconfig +9 -0
@@ -102,6 +102,15 @@ config SND_OMAP_SOC_SDP3430 Say Y if you want to add support for SoC audio on Texas Instruments SDP3430. +config SND_OMAP_SOC_SDP4430 + tristate "SoC Audio support for Texas Instruments SDP4430" + depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP_4430SDP + select SND_OMAP_SOC_MCPDM + select SND_SOC_TWL6040 + help + Say Y if you want to add support for SoC audio on Texas Instruments + SDP4430. + config SND_OMAP_SOC_OMAP3_PANDORA tristate "SoC Audio support for OMAP3 Pandora" depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP3_PANDORA
sound/soc/omap/Makefile +2 -0
@@ -17,6 +17,7 @@ snd-soc-omap2evm-objs := omap2evm.o snd-soc-omap3evm-objs := omap3evm.o snd-soc-am3517evm-objs := am3517evm.o snd-soc-sdp3430-objs := sdp3430.o +snd-soc-sdp4430-objs := sdp4430.o snd-soc-omap3pandora-objs := omap3pandora.o snd-soc-omap3beagle-objs := omap3beagle.o snd-soc-zoom2-objs := zoom2.o
@@ -31,6 +32,7 @@ obj-$(CONFIG_SND_OMAP_SOC_OMAP2EVM) += snd-soc-omap2evm.o obj-$(CONFIG_SND_OMAP_SOC_OMAP3EVM) += snd-soc-omap3evm.o obj-$(CONFIG_SND_OMAP_SOC_AM3517EVM) += snd-soc-am3517evm.o obj-$(CONFIG_SND_OMAP_SOC_SDP3430) += snd-soc-sdp3430.o +obj-$(CONFIG_SND_OMAP_SOC_SDP4430) += snd-soc-sdp4430.o obj-$(CONFIG_SND_OMAP_SOC_OMAP3_PANDORA) += snd-soc-omap3pandora.o obj-$(CONFIG_SND_OMAP_SOC_OMAP3_BEAGLE) += snd-soc-omap3beagle.o obj-$(CONFIG_SND_OMAP_SOC_ZOOM2) += snd-soc-zoom2.o
sound/soc/omap/sdp4430.c new file +228 -0
228 lines not on this page · raw message
Signature · 1 line
1.6.3.3
Quoted 7 lines · Jorge Eduardo Candelaria
From: Misael Lopez Cruz <[email protected]>
Add ASoC support for TI SDP4430.
Signed-off-by Misael Lopez Cruz <[email protected]>Signed-off-by Margarita Olaya Cabrera <[email protected]>Signed-off-by Jorge Eduardo Candelaria <[email protected]>
Looks OK to me in so far as I'm able to check.
Acked-by Mark Brown <[email protected]>
Quoted 7 lines · Jorge Eduardo Candelaria
From: Misael Lopez Cruz <[email protected]>
Add ASoC support for TI SDP4430.
Signed-off-by Misael Lopez Cruz <[email protected]>Signed-off-by Margarita Olaya Cabrera <[email protected]>Signed-off-by Jorge Eduardo Candelaria <[email protected]>
Quoted 7 lines
--- sound/soc/omap/Kconfig | 9 ++ sound/soc/omap/Makefile | 2 + sound/soc/omap/sdp4430.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 239 insertions(+), 0 deletions(-) create mode 100644 sound/soc/omap/sdp4430.c
Applied. Btw, I had to add the following to remove a build warning.
commit d8b55d2cd00df4d599985440fd75b38d153bffcb
Author: Liam Girdwood <[email protected]> Date: Wed May 19 14:14:51 2010 +0100
ASoC: sdp4430 - add sdp4430 pcm ops to DAI.
Fix build warning about unused ops and add ops to the sdp4430 DAI link.
Signed-off-by Liam Girdwood <[email protected]>
sound/soc/omap/sdp4430.c +1 -0
@@ -167,6 +167,7 @@ static struct snd_soc_dai_link sdp4430_dai = { .cpu_dai = &omap_mcpdm_dai, .codec_dai = &twl6040_dai, .init = sdp4430_twl6040_init, + .ops = &sdp4430_ops, };/* Audio machine driver */
Thanks
Liam
Signature · 3 lines
Freelance Developer, SlimLogic Ltd ASoC and Voltage Regulator Maintainer. http://www.slimlogic.co.uk