public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Audio on OMAP3
@ 2009-08-09 17:25 Gary Thomas
  2009-08-09 19:04 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2009-08-09 17:25 UTC (permalink / raw)
  To: linux-omap

How is audio supported on OMAP3?  In particular via the
TWL4030/TPS659x0 chip?  Is anyone working on this?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-09 17:25 Audio on OMAP3 Gary Thomas
@ 2009-08-09 19:04 ` Mark Brown
  2009-08-09 20:34   ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2009-08-09 19:04 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap

On Sun, Aug 09, 2009 at 11:25:33AM -0600, Gary Thomas wrote:

> How is audio supported on OMAP3?  In particular via the
> TWL4030/TPS659x0 chip?  Is anyone working on this?

This is supported in the ASoC subsystem - see sound/soc/omap for the
OMAP specific stuff and sound/soc/codecs/twl4030.c for the TWL4030
specifics.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-09 19:04 ` Mark Brown
@ 2009-08-09 20:34   ` Gary Thomas
  2009-08-10  9:51     ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2009-08-09 20:34 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-omap

Mark Brown wrote:
> On Sun, Aug 09, 2009 at 11:25:33AM -0600, Gary Thomas wrote:
> 
>> How is audio supported on OMAP3?  In particular via the
>> TWL4030/TPS659x0 chip?  Is anyone working on this?
> 
> This is supported in the ASoC subsystem - see sound/soc/omap for the
> OMAP specific stuff and sound/soc/codecs/twl4030.c for the TWL4030
> specifics.

Thanks.  How is this normally configured - ALSA or OSS?
What tools have been used (simple busybox system, not Android)?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-09 20:34   ` Gary Thomas
@ 2009-08-10  9:51     ` Mark Brown
  2009-08-10 13:19       ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Brown @ 2009-08-10  9:51 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap

On Sun, Aug 09, 2009 at 02:34:18PM -0600, Gary Thomas wrote:

> Thanks.  How is this normally configured - ALSA or OSS?

It's all ALSA.  There is some OSS emulation for ALSA.

> What tools have been used (simple busybox system, not Android)?

It's all standard ALSA stuff from the point of view of userspace.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-10  9:51     ` Mark Brown
@ 2009-08-10 13:19       ` Gary Thomas
  2009-08-10 14:24         ` Gary Thomas
  2009-08-10 14:49         ` Mark Brown
  0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2009-08-10 13:19 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-omap

Mark Brown wrote:
> On Sun, Aug 09, 2009 at 02:34:18PM -0600, Gary Thomas wrote:
> 
>> Thanks.  How is this normally configured - ALSA or OSS?
> 
> It's all ALSA.  There is some OSS emulation for ALSA.
> 

Sorry for being dense, but I'm just trying to understand how to
get this going.  I turned on the SOC+ALSA support (there didn't
seem to be an easy way to configure just the TWL4030 driver) and
I got this:

Advanced Linux Sound Architecture Driver Version 1.0.20.
Platform driver 'soc-audio' needs updating - please use dev_pm_ops
No device for DAI AD73311
Asahi Kasei AK4104 ALSA SoC Codec Driver
No device for DAI AK4535
Cirrus Logic CS4270 ALSA SoC Codec Driver
No device for DAI PCM3008 HiFi
No device for DAI SSM2602
No device for DAI tlv320aic23
No device for DAI tlv320aic3x
No device for DAI twl4030
No device for DAI twl4030 Voice
No device for DAI UDA134X
No device for DAI UDA1380
No device for DAI UDA1380
No device for DAI UDA1380
No device for DAI WM8510 HiFi
No device for DAI WM8728
No device for DAI WM8750
No device for DAI WM8971
No device for DAI WM8990 ADC/DAC Primary
ALSA device list:
  No soundcards found.

Is there more configury/setup required, beyond just enabling the drivers?
Is there an example board that uses this?
Is the code in the mainline linux-omap tree?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-10 13:19       ` Gary Thomas
@ 2009-08-10 14:24         ` Gary Thomas
  2009-08-10 14:49         ` Mark Brown
  1 sibling, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2009-08-10 14:24 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-omap

Gary Thomas wrote:
> Mark Brown wrote:
>> On Sun, Aug 09, 2009 at 02:34:18PM -0600, Gary Thomas wrote:
>>
>>> Thanks.  How is this normally configured - ALSA or OSS?
>> It's all ALSA.  There is some OSS emulation for ALSA.
>>
> 
> Sorry for being dense, but I'm just trying to understand how to
> get this going.  I turned on the SOC+ALSA support (there didn't
> seem to be an easy way to configure just the TWL4030 driver) and
> I got this:
> 
> Advanced Linux Sound Architecture Driver Version 1.0.20.
> Platform driver 'soc-audio' needs updating - please use dev_pm_ops
> No device for DAI AD73311
> Asahi Kasei AK4104 ALSA SoC Codec Driver
> No device for DAI AK4535
> Cirrus Logic CS4270 ALSA SoC Codec Driver
> No device for DAI PCM3008 HiFi
> No device for DAI SSM2602
> No device for DAI tlv320aic23
> No device for DAI tlv320aic3x
> No device for DAI twl4030
> No device for DAI twl4030 Voice
> No device for DAI UDA134X
> No device for DAI UDA1380
> No device for DAI UDA1380
> No device for DAI UDA1380
> No device for DAI WM8510 HiFi
> No device for DAI WM8728
> No device for DAI WM8750
> No device for DAI WM8971
> No device for DAI WM8990 ADC/DAC Primary
> ALSA device list:
>   No soundcards found.
> 
> Is there more configury/setup required, beyond just enabling the drivers?
> Is there an example board that uses this?
> Is the code in the mainline linux-omap tree?
> 

I found some in "sound/soc/omap/..." - trying to understand them now.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-10 13:19       ` Gary Thomas
  2009-08-10 14:24         ` Gary Thomas
@ 2009-08-10 14:49         ` Mark Brown
  2009-08-10 21:19           ` Gary Thomas
  1 sibling, 1 reply; 8+ messages in thread
From: Mark Brown @ 2009-08-10 14:49 UTC (permalink / raw)
  To: Gary Thomas; +Cc: linux-omap

On Mon, Aug 10, 2009 at 07:19:33AM -0600, Gary Thomas wrote:

> Sorry for being dense, but I'm just trying to understand how to
> get this going.  I turned on the SOC+ALSA support (there didn't
> seem to be an easy way to configure just the TWL4030 driver) and

You need to provide a machine-specific driver which tells the McBSP and
TWL4030 drivers how they are connected together on your particular
board.  There are several examples of this for standard reference boards
in the OMAP directory - if your audio hardware is based closely enough
on one of those then you should be able to just use the same driver.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Audio on OMAP3
  2009-08-10 14:49         ` Mark Brown
@ 2009-08-10 21:19           ` Gary Thomas
  0 siblings, 0 replies; 8+ messages in thread
From: Gary Thomas @ 2009-08-10 21:19 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-omap

Mark Brown wrote:
> On Mon, Aug 10, 2009 at 07:19:33AM -0600, Gary Thomas wrote:
> 
>> Sorry for being dense, but I'm just trying to understand how to
>> get this going.  I turned on the SOC+ALSA support (there didn't
>> seem to be an easy way to configure just the TWL4030 driver) and
> 
> You need to provide a machine-specific driver which tells the McBSP and
> TWL4030 drivers how they are connected together on your particular
> board.  There are several examples of this for standard reference boards
> in the OMAP directory - if your audio hardware is based closely enough
> on one of those then you should be able to just use the same driver.

My hardware is much like the Beagle, so I started with that
driver.  Got it going fine, thanks.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-08-10 21:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-09 17:25 Audio on OMAP3 Gary Thomas
2009-08-09 19:04 ` Mark Brown
2009-08-09 20:34   ` Gary Thomas
2009-08-10  9:51     ` Mark Brown
2009-08-10 13:19       ` Gary Thomas
2009-08-10 14:24         ` Gary Thomas
2009-08-10 14:49         ` Mark Brown
2009-08-10 21:19           ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox