public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: "Ujfalusi, Peter" <peter.ujfalusi@ti.com>
Cc: linux-omap@vger.kernel.org,
	Santosh Shilimkar <santosh.shilimkar@ti.com>,
	Liam Girdwood <lrg@ti.com>
Subject: Re: Audio support on OMAP 3430LDP or 4430SDP boards
Date: Fri, 27 Apr 2012 19:31:16 +0100	[thread overview]
Message-ID: <20120427183116.GF28062@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <CAPo=G1wDANyQ5ARyerizp6oA=Wyc7s_to7zfz-n4GdZ20tfX4g@mail.gmail.com>

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
> <linux@arm.linux.org.uk> wrote:
> > root@omap-4430sdp:~# lsmod
> > Module                  Size  Used by
> > snd_soc_dmic            1492  0
> > snd_soc_omap4_hdmi      1724  0
> > snd_soc_omap_hdmi       1536  0
> > snd_soc_omap_abe_twl6040     4867  0
> > snd_soc_omap_dmic       4248  0
> > snd_soc_omap_mcpdm      3077  1 snd_soc_omap_abe_twl6040
> > snd_soc_omap            2987  0
> > snd_soc_twl6040        18601  1 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
> 
> the twl6040 codec is missing.
> 
> > /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
> 
> as well the dai for the twl6040.
> 
> > /sys/kernel/debug/asoc/platforms:omap-pcm-audio
> > /sys/kernel/debug/asoc/platforms:snd-soc-dummy
> >
> > So the answer is... no.
> 
> Hrm.
> I don't think you can build the twl6040 MFD core driver as a module.
> Do you have CONFIG_TWL6040_CORE=y ?
> We have MFD for twl6040 since it provides audio and vibra functionality as well.

CONFIG_TWL6040_CORE=y

> Can you check if you have this commit:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=8eaeb9393397be8eb700ab38a69c450975463b77

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" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-04-27 18:31 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-27 13:58 Audio support on OMAP 3430LDP or 4430SDP boards Russell King - ARM Linux
2012-04-27 14:15 ` Shilimkar, Santosh
2012-04-27 14:56   ` Liam Girdwood
2012-04-27 15:09     ` Russell King - ARM Linux
2012-04-27 15:53 ` Ujfalusi, Peter
2012-04-27 16:04   ` Russell King - ARM Linux
2012-04-27 16:32     ` Ujfalusi, Peter
2012-04-27 16:50       ` Russell King - ARM Linux
2012-04-27 17:04         ` Ujfalusi, Peter
2012-04-27 17:19           ` Russell King - ARM Linux
2012-04-27 18:14             ` Ujfalusi, Peter
2012-04-27 18:31               ` Russell King - ARM Linux [this message]
2012-04-27 19:17                 ` Ujfalusi, Peter
2012-04-27 19:31                 ` Russell King - ARM Linux
2012-04-29 20:35                   ` Russell King - ARM Linux
2012-04-30  7:26                     ` Peter Ujfalusi
2012-05-01 11:14                       ` Russell King - ARM Linux
2012-06-21 12:59                       ` Russell King - ARM Linux
2012-06-21 13:16                         ` Russell King - ARM Linux
2012-06-21 13:22                           ` Russell King - ARM Linux
2012-06-21 18:36                             ` Ujfalusi, Peter
2012-06-21 18:58                               ` Russell King - ARM Linux

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120427183116.GF28062@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-omap@vger.kernel.org \
    --cc=lrg@ti.com \
    --cc=peter.ujfalusi@ti.com \
    --cc=santosh.shilimkar@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox