Skip to contentSkip to conversation

ASoC: Create a common directory for AVR32 and ARM9 atmel boards.

PATCH New Sedji Gaouaou 1 participant 1 message Oct 1, 2008

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

PATCH 1/1 ASoC: Create a common directory for AVR32 and ARM9 atmel boards.

Create a common directory for AVR32 and ARM9 atmel boards to unify atmel audio DAI.

---
 sound/soc/Kconfig                |    3 +-
 sound/soc/Makefile               |    2 +-
 sound/soc/atmel/Kconfig          |   43 ++
 sound/soc/atmel/Makefile         |   15 +
 sound/soc/atmel/atmel-pcm.c      |  484 +++++++++++++++++++++++
 sound/soc/atmel/atmel-pcm.h      |   86 ++++
 sound/soc/atmel/atmel_ssc_dai.c  |  803 ++++++++++++++++++++++++++++++++++++++
 sound/soc/atmel/atmel_ssc_dai.h  |  121 ++++++
 sound/soc/atmel/playpaq_wm8510.c |  523 +++++++++++++++++++++++++
 sound/soc/atmel/sam9g20_wm8731.c |  329 ++++++++++++++++
 10 files changed, 2406 insertions(+), 3 deletions(-)
 create mode 100644 sound/soc/atmel/Kconfig
 create mode 100644 sound/soc/atmel/Makefile
 create mode 100644 sound/soc/atmel/atmel-pcm.c
 create mode 100644 sound/soc/atmel/atmel-pcm.h
 create mode 100644 sound/soc/atmel/atmel_ssc_dai.c
 create mode 100644 sound/soc/atmel/atmel_ssc_dai.h
 create mode 100644 sound/soc/atmel/playpaq_wm8510.c
 create mode 100644 sound/soc/atmel/sam9g20_wm8731.c
sound/soc/Kconfig +1 -2
index 4dfda66..615ebf0 100644
@@ -23,8 +23,7 @@ config SND_SOC_AC97_BUS
 	bool
 
 # All the supported Soc's
-source "sound/soc/at32/Kconfig"
-source "sound/soc/at91/Kconfig"
+source "sound/soc/atmel/Kconfig"
 source "sound/soc/au1x/Kconfig"
 source "sound/soc/pxa/Kconfig"
 source "sound/soc/s3c24xx/Kconfig"
sound/soc/Makefile +1 -1
index d849349..4d475c3 100644
@@ -1,5 +1,5 @@
 snd-soc-core-objs := soc-core.o soc-dapm.o
 
 obj-$(CONFIG_SND_SOC)	+= snd-soc-core.o
-obj-$(CONFIG_SND_SOC)	+= codecs/ at32/ at91/ pxa/ s3c24xx/ sh/ fsl/ davinci/
+obj-$(CONFIG_SND_SOC)	+= codecs/ atmel/ pxa/ s3c24xx/ sh/ fsl/ davinci/
 obj-$(CONFIG_SND_SOC)	+= omap/ au1x/ blackfin/
sound/soc/atmel/Kconfig new file +43 -0

43 lines not on this page · raw message

sound/soc/atmel/Makefile new file +15 -0
new file mode 100644
index 0000000..f54a7cc
@@ -0,0 +1,15 @@
+# AT91 Platform Support
+snd-soc-atmel-pcm-objs := atmel-pcm.o
+snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o
+
+obj-$(CONFIG_SND_ATMEL_SOC) += snd-soc-atmel-pcm.o
+obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o
+
+# AT91 Machine Support
+snd-soc-sam9g20-wm8731-objs := sam9g20_wm8731.o
+
+# AT32 Machine Support
+snd-soc-playpaq-objs := playpaq_wm8510.o
+
+obj-$(CONFIG_SND_AT91_SOC_SAM9G20_WM8731) += snd-soc-sam9g20-wm8731.o
+obj-$(CONFIG_SND_AT32_SOC_PLAYPAQ) += snd-soc-playpaq.o
sound/soc/atmel/atmel-pcm.c new file +484 -0

484 lines not on this page · raw message

sound/soc/atmel/atmel-pcm.h new file +86 -0

86 lines not on this page · raw message

sound/soc/atmel/atmel_ssc_dai.c new file +803 -0

803 lines not on this page · raw message

sound/soc/atmel/atmel_ssc_dai.h new file +121 -0

121 lines not on this page · raw message

sound/soc/atmel/playpaq_wm8510.c new file +523 -0

523 lines not on this page · raw message

sound/soc/atmel/sam9g20_wm8731.c new file +329 -0

329 lines not on this page · raw message

Signature · 1 line
1.5.3.7