Skip to contentSkip to conversation

ASoC: add support for the Freescale / iVeia P1022 RDK reference board

PATCH Applied Timur Tabi 3 participants 3 messages Oct 12, 2012 – Oct 23, 2012

Subsystems (2)
lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

PATCH v2 1/1 ASoC: add support for the Freescale / iVeia P1022 RDK reference board

This small reference boards has a Freescale P1022 dual-core PowerPC SOC and a Wolfson Microelectronics WM8960 codec.

---
 sound/soc/fsl/Kconfig     |   14 ++
 sound/soc/fsl/Makefile    |    4 +
 sound/soc/fsl/p1022_rdk.c |  392 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 410 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/fsl/p1022_rdk.c
sound/soc/fsl/Kconfig +14 -0
index 4563b28..8e48432 100644
@@ -46,6 +46,20 @@ config SND_SOC_P1022_DS
 	  This will also include the Wolfson Microelectronics WM8776 codec
 	  driver.
 
+config SND_SOC_P1022_RDK
+	tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
+	# I2C is necessary for the WM8960 driver
+	depends on P1022_RDK && I2C
+	select SND_SOC_FSL_SSI
+	select SND_SOC_FSL_UTILS
+	select SND_SOC_POWERPC_DMA
+	select SND_SOC_WM8960
+	default y if P1022_RDK
+	help
+	  Say Y if you want to enable audio on the Freescale / iVeia
+	  P1022 RDK board.  This will also include the Wolfson
+	  Microelectronics WM8960 codec driver.
+
 config SND_SOC_MPC5200_I2S
 	tristate "Freescale MPC5200 PSC in I2S mode driver"
 	depends on PPC_MPC52xx && PPC_BESTCOMM
sound/soc/fsl/Makefile +4 -0
index 5f3cf3f..515ba66 100644
@@ -6,6 +6,10 @@ obj-$(CONFIG_SND_SOC_MPC8610_HPCD) += snd-soc-mpc8610-hpcd.o
 snd-soc-p1022-ds-objs := p1022_ds.o
 obj-$(CONFIG_SND_SOC_P1022_DS) += snd-soc-p1022-ds.o
 
+# P1022 RDK Machine Support
+snd-soc-p1022-rdk-objs := p1022_rdk.o
+obj-$(CONFIG_SND_SOC_P1022_RDK) += snd-soc-p1022-rdk.o
+
 # Freescale PowerPC SSI/DMA Platform Support
 snd-soc-fsl-ssi-objs := fsl_ssi.o
 snd-soc-fsl-utils-objs := fsl_utils.o
sound/soc/fsl/p1022_rdk.c new file +392 -0

392 lines not on this page · raw message

Signature · 1 line
1.7.3.4
Applied
#1 lore raw
Quoted 2 lines · Timur Tabi

This small reference boards has a Freescale P1022 dual-core PowerPC SOC and a Wolfson Microelectronics WM8960 codec.

Applied, thanks. It would be nice to move over to more modern bindings for new boards though.

#2 lore raw
Quoted 2 lines · Mark Brown

Applied, thanks. It would be nice to move over to more modern bindings for new boards though.

I understand, but the P1022RDK is very similar to the P1022DS. I really didn't want to put that much effort into supporting it, since it's not sold by Freescale.

I'll use the new binding for the next audio-enabled board we make.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale