Sound with 2.6.38

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Sound with 2.6.38

861 Views
PhilEndecott
Contributor II
What's up with sound in the 2.6.38 kernel config? This board has the SGTL5000 audio chip. In the 2.6.35 kernel config, I had CONFIG_SND_SOC_IMX_3STACK_SGTL5000=y CONFIG_SND_SOC_SGTL5000=y In 2.6.38, there is this in sound/soc/imx/Kconfig: config SND_SOC_IMX_SGTL5000 tristate "SoC Audio support for i.MX boards with sgtl5000" depends on MACH_MX35_3DS || MACH_MX51_BABBAGE select SND_SOC_SGTL5000 select SND_MXC_SOC_MX2 help Say Y if you want to add support for SoC audio on an i.MX board with a sgtl5000 codec. So that is disabled on MACH_MX53_LOCO, and there doesn't seem to be any other way to turn on SGTL5000 support. I have tried hacking it to also depend on MACH_MX53_LOCO, but when I do that I get a link error: sound/built-in.o: In function `imx_sgtl5000_probe': last.c:(.devinit.text+0x215c): undefined reference to `mxc_audmux_v2_configure_port' last.c:(.devinit.text+0x2170): undefined reference to `mxc_audmux_v2_configure_port' What is going on here? Does sound work on the pre-built 2.6.38 kernels? If it does, how has the kernel been configured?
Labels (1)
0 Kudos
3 Replies

745 Views
IvanW_
Contributor I

Are you on the imx_2.6.38_11.09.01 branch?

0 Kudos

745 Views
TroyKisky
Contributor II

Hi Phil,

 

You'll probably need more patches as well, but try the following patch

diff --git a/arch/arm/mach-mx5/Kconfig b/arch/arm/mach-mx5/Kconfig
index 6d02118..a688c4b 100644
--- a/arch/arm/mach-mx5/Kconfig
+++ b/arch/arm/mach-mx5/Kconfig
@@ -41,6 +41,7 @@ config        SOC_IMX53
        bool
        select MXC_TZIC
        select ARCH_MXC_IOMUX_V3
+       select ARCH_MXC_AUDMUX_V2
        select ARCH_HAS_CPUFREQ
        select ARCH_MX53
        select IMX_HAVE_PLATFORM_FEC

0 Kudos

745 Views
PhilEndecott
Contributor II
Hmm. There is something new in 2.6.38 called "SSI" that might be related to sound, but it fails to build. Any ideas?
0 Kudos