Skip to contentSkip to conversation

ASoC: omap: Add basic audio support for Nokia RX-51/N900

PATCH Applied Jarkko Nikula 5 participants 5 messages May 5, 2010 – May 6, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ASoC: omap: Add basic audio support for Nokia RX-51/N900

This patch adds support for integrated stereo speakers and digital microphone found on Nokia RX-51 hardware. This is a cut down version based on Maemo kernel sources and earlier patchset by Eduardo Valentin et al.

http://mailman.alsa-project.org/pipermail/alsa-devel/2009-October/022033.html

Cc Eduardo Valentin <[email protected]>
Cc Peter Ujfalusi <[email protected]>

---

This is for sound-2.6.git. This is independent and boot safe patch but audio codec doesn't probe without a few patches to arch/arm/mach-omap2/board-rx51-peripherals.c. See

http://marc.info/?l=linux-omap&m=127290212826770&w=2

Some audio features would need more work and some, even being trivial to add, need more testing are there support for them in mainline. Thus this heavily simplified and little bit cleaned up version.

---
 sound/soc/omap/Kconfig  |   10 ++
 sound/soc/omap/Makefile |    2 +
 sound/soc/omap/rx51.c   |  294 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 306 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/omap/rx51.c
sound/soc/omap/Kconfig +10 -0
index f11963c..83be4a7 100644
@@ -18,6 +18,16 @@ config SND_OMAP_SOC_N810
 	help
 	  Say Y if you want to add support for SoC audio on Nokia N810.
 
+config SND_OMAP_SOC_RX51
+	tristate "SoC Audio support for Nokia RX-51"
+	depends on SND_OMAP_SOC && MACH_NOKIA_RX51
+	select OMAP_MCBSP
+	select SND_OMAP_SOC_MCBSP
+	select SND_SOC_TLV320AIC3X
+	help
+	  Say Y if you want to add support for SoC audio on Nokia RX-51
+	  hardware. This is also known as Nokia N900 product.
+
 config SND_OMAP_SOC_AMS_DELTA
 	tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
 	depends on SND_OMAP_SOC && MACH_AMS_DELTA
sound/soc/omap/Makefile +2 -0
index 0bc00ca..3a75755 100644
@@ -9,6 +9,7 @@ obj-$(CONFIG_SND_OMAP_SOC_MCPDM) += snd-soc-omap-mcpdm.o
 
 # OMAP Machine Support
 snd-soc-n810-objs := n810.o
+snd-soc-rx51-objs := rx51.o
 snd-soc-ams-delta-objs := ams-delta.o
 snd-soc-osk5912-objs := osk5912.o
 snd-soc-overo-objs := overo.o
@@ -22,6 +23,7 @@ snd-soc-zoom2-objs := zoom2.o
 snd-soc-igep0020-objs := igep0020.o
 
 obj-$(CONFIG_SND_OMAP_SOC_N810) += snd-soc-n810.o
+obj-$(CONFIG_SND_OMAP_SOC_RX51) += snd-soc-rx51.o
 obj-$(CONFIG_SND_OMAP_SOC_AMS_DELTA) += snd-soc-ams-delta.o
 obj-$(CONFIG_SND_OMAP_SOC_OSK5912) += snd-soc-osk5912.o
 obj-$(CONFIG_SND_OMAP_SOC_OVERO) += snd-soc-overo.o
sound/soc/omap/rx51.c new file +294 -0

294 lines not on this page · raw message

Signature · 1 line
1.7.0
Acked-by on v2 1/1
#1 lore raw
Quoted 10 lines · On Wednesday 05 May 2010 11:14:22 ext Jarkko Nikula wrote:

This patch adds support for integrated stereo speakers and digital microphone found on Nokia RX-51 hardware. This is a cut down version based on Maemo kernel sources and earlier patchset by Eduardo Valentin et al.

http://mailman.alsa-project.org/pipermail/alsa-devel/2009-October/022033.ht
ml

Cc Eduardo Valentin <[email protected]>
Cc Peter Ujfalusi <[email protected]>

For me this looks good,

Acked-by on v2 1/1
#2 lore raw
In reply to Jarkko Nikula
Quoted 9 lines · Jarkko Nikula

This patch adds support for integrated stereo speakers and digital microphone found on Nokia RX-51 hardware. This is a cut down version based on Maemo kernel sources and earlier patchset by Eduardo Valentin et al.

http://mailman.alsa-project.org/pipermail/alsa-devel/2009-October/022033.html

Cc Eduardo Valentin <[email protected]>
Cc Peter Ujfalusi <[email protected]>
Acked-by on v2 1/1
#3 lore raw
In reply to Jarkko Nikula
Quoted 11 lines · Jarkko Nikula

This patch adds support for integrated stereo speakers and digital microphone found on Nokia RX-51 hardware. This is a cut down version based on Maemo kernel sources and earlier patchset by Eduardo Valentin et al.

http://mailman.alsa-project.org/pipermail/alsa-devel/2009-October/022033.html

Cc Eduardo Valentin <[email protected]>
Cc Peter Ujfalusi <[email protected]>

---

#4 lore raw
In reply to Jarkko Nikula
Quoted 21 lines · Jarkko Nikula

This patch adds support for integrated stereo speakers and digital microphone found on Nokia RX-51 hardware. This is a cut down version based on Maemo kernel sources and earlier patchset by Eduardo Valentin et al.

http://mailman.alsa-project.org/pipermail/alsa-devel/2009-October/022033.html

Cc Eduardo Valentin <[email protected]>
Cc Peter Ujfalusi <[email protected]>

---

This is for sound-2.6.git. This is independent and boot safe patch but audio codec doesn't probe without a few patches to arch/arm/mach-omap2/board-rx51-peripherals.c. See

http://marc.info/?l=linux-omap&m=127290212826770&w=2

Some audio features would need more work and some, even being trivial to add, need more testing are there support for them in mainline. Thus this heavily simplified and little bit cleaned up version.

Quoted 6 lines
---
 sound/soc/omap/Kconfig  |   10 ++
 sound/soc/omap/Makefile |    2 +
 sound/soc/omap/rx51.c   |  294 +++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 306 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/omap/rx51.c

Applied.

Thanks

Liam