Audio on OMAP3
How is audio supported on OMAP3? In particular via the TWL4030/TPS659x0 chip? Is anyone working on this?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 2 lines · Gary Thomas
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.
Quoted 8 lines · Mark Brown
Quoted 2 lines · Gary Thomas
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/omapfor the OMAP specific stuff andsound/soc/codecs/twl4030.cfor the TWL4030 specifics.
Thanks. How is this normally configured - ALSA or OSS? What tools have been used (simple busybox system, not Android)?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 1 line · Gary Thomas
Thanks. How is this normally configured - ALSA or OSS?
It's all ALSA. There is some OSS emulation for ALSA.
Quoted 1 line
What tools have been used (simple busybox system, not Android)?
It's all standard ALSA stuff from the point of view of userspace.
Quoted 6 lines · Mark Brown
Quoted 1 line · Gary Thomas
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?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 36 lines · Gary Thomas
Quoted 5 lines · Mark Brown
Quoted 1 line · Gary Thomas
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_opsNo 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.
Quoted 4 lines
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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 3 lines · Gary Thomas
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.
Quoted 11 lines · Mark Brown
Quoted 3 lines · Gary Thomas
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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------