From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: Audio support on OMAP 3430LDP or 4430SDP boards Date: Fri, 27 Apr 2012 19:31:16 +0100 Message-ID: <20120427183116.GF28062@n2100.arm.linux.org.uk> References: <20120427135802.GA28062@n2100.arm.linux.org.uk> <20120427160445.GC28062@n2100.arm.linux.org.uk> <20120427165032.GD28062@n2100.arm.linux.org.uk> <20120427171933.GE28062@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:34591 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761129Ab2D0Sb0 (ORCPT ); Fri, 27 Apr 2012 14:31:26 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Ujfalusi, Peter" Cc: linux-omap@vger.kernel.org, Santosh Shilimkar , Liam Girdwood On Fri, Apr 27, 2012 at 09:14:23PM +0300, Ujfalusi, Peter wrote: > On Fri, Apr 27, 2012 at 8:19 PM, Russell King - ARM Linux > wrote: > > root@omap-4430sdp:~# lsmod > > Module =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Size =A0Used by > > snd_soc_dmic =A0 =A0 =A0 =A0 =A0 =A01492 =A00 > > snd_soc_omap4_hdmi =A0 =A0 =A01724 =A00 > > snd_soc_omap_hdmi =A0 =A0 =A0 1536 =A00 > > snd_soc_omap_abe_twl6040 =A0 =A0 4867 =A00 > > snd_soc_omap_dmic =A0 =A0 =A0 4248 =A00 > > snd_soc_omap_mcpdm =A0 =A0 =A03077 =A01 snd_soc_omap_abe_twl6040 > > snd_soc_omap =A0 =A0 =A0 =A0 =A0 =A02987 =A00 > > snd_soc_twl6040 =A0 =A0 =A0 =A018601 =A01 snd_soc_omap_abe_twl6040 > > root@omap-4430sdp:~# cat /proc/asound/cards > > --- no soundcards --- > > root@omap-4430sdp:~# grep . /sys/kernel/debug/asoc/* > > /sys/kernel/debug/asoc/codecs:dmic-codec > > /sys/kernel/debug/asoc/codecs:snd-soc-dummy > > /sys/kernel/debug/asoc/codecs:omapdss_hdmi >=20 > the twl6040 codec is missing. >=20 > > /sys/kernel/debug/asoc/dais:dmic-hifi > > /sys/kernel/debug/asoc/dais:omap-dmic > > /sys/kernel/debug/asoc/dais:omap-mcpdm > > /sys/kernel/debug/asoc/dais:snd-soc-dummy-dai > > /sys/kernel/debug/asoc/dais:hdmi-audio-codec >=20 > as well the dai for the twl6040. >=20 > > /sys/kernel/debug/asoc/platforms:omap-pcm-audio > > /sys/kernel/debug/asoc/platforms:snd-soc-dummy > > > > So the answer is... no. >=20 > Hrm. > I don't think you can build the twl6040 MFD core driver as a module. > Do you have CONFIG_TWL6040_CORE=3Dy ? > We have MFD for twl6040 since it provides audio and vibra functionali= ty as well. CONFIG_TWL6040_CORE=3Dy > Can you check if you have this commit: > http://git.kernel.org/?p=3Dlinux/kernel/git/torvalds/linux.git;a=3Dco= mmit;h=3D8eaeb9393397be8eb700ab38a69c450975463b77 I don't have that in the branch I'm building because I started the DMA engine work against v3.4-rc3. > This is the second patch to separate the twl6040 from twl-core. > If you are missing this patch twl6040 will not probe (twl core will > not register the audio if we have twl6030). So it sounds like if I rebase stuff forward to -rc4, it should start working? -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html