Skip to contentSkip to conversation

ALSA:ATMEL: common arch for audio via ssc(patch 1/3: removing directories)

PATCH Sedji Gaouaou 1 participant 1 message Sep 26, 2008

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

Hi,

I am trying to merge two directories: sound/soc/at32 and sound/soc/at91, to have a single atmel interface.
I have written a patch but I can't test it on avr32 boards, nor eti board, so if any body can test it, it would be appreciated.

I have changed the file eti_b1_wm8731.c, because the ssc was allocated in it and it should be allocated in the board file. So there are some changes to do in the eti board file otherwise the dai will not work for the eti board.

I didn't change the i2c initialization since I don't know what is the status of the patch(I tried this one:
http://git.kernel.org/?p=linux/kernel/git/tiwai/sound-2.6.git;a=commitdiff;h=be99827ea333eb15560a8b52ba57a2dce1bdfbb8
but I not sure it is complete??

Regards,
Sedji

sound/soc/at32/Kconfig deleted +0 -34
deleted file mode 100644
index b0765e8..0000000
@@ -1,34 +0,0 @@
-config SND_AT32_SOC
-        tristate "SoC Audio for the Atmel AT32 System-on-a-Chip"
-        depends on AVR32 && SND_SOC
-        help
-          Say Y or M if you want to add support for codecs attached to 
-          the AT32 SSC interface.  You will also need to
-          to select the audio interfaces to support below.
-
-
-config SND_AT32_SOC_SSC
-        tristate
-
-
-
-config SND_AT32_SOC_PLAYPAQ
-        tristate "SoC Audio support for PlayPaq with WM8510"
-        depends on SND_AT32_SOC && BOARD_PLAYPAQ
-        select SND_AT32_SOC_SSC
-        select SND_SOC_WM8510
-        help
-          Say Y or M here if you want to add support for SoC audio
-          on the LRS PlayPaq.
-
-
-
-config SND_AT32_SOC_PLAYPAQ_SLAVE
-        bool "Run CODEC on PlayPaq in slave mode"
-        depends on SND_AT32_SOC_PLAYPAQ
-        default n
-        help
-          Say Y if you want to run with the AT32 SSC generating the BCLK
-          and FRAME signals on the PlayPaq.  Unless you want to play
-          with the AT32 as the SSC master, you probably want to say N here,
-          as this will give you better sound quality.
sound/soc/at32/Makefile deleted +0 -11
deleted file mode 100644
index c03e55e..0000000
@@ -1,11 +0,0 @@
-# AT32 Platform Support
-snd-soc-at32-objs := at32-pcm.o
-snd-soc-at32-ssc-objs := at32-ssc.o
-
-obj-$(CONFIG_SND_AT32_SOC) += snd-soc-at32.o
-obj-$(CONFIG_SND_AT32_SOC_SSC) += snd-soc-at32-ssc.o
-
-# AT32 Machine Support
-snd-soc-playpaq-objs := playpaq_wm8510.o
-
-obj-$(CONFIG_SND_AT32_SOC_PLAYPAQ) += snd-soc-playpaq.o
sound/soc/at32/at32-pcm.c deleted +0 -491

491 lines not on this page · raw message

sound/soc/at32/at32-pcm.h deleted +0 -79

79 lines not on this page · raw message

sound/soc/at32/at32-ssc.c deleted +0 -849

849 lines not on this page · raw message

sound/soc/at32/at32-ssc.h deleted +0 -59

59 lines not on this page · raw message

sound/soc/at32/playpaq_wm8510.c deleted +0 -522

522 lines not on this page · raw message

sound/soc/at91/Kconfig deleted +0 -27
deleted file mode 100644
index 9051865..0000000
@@ -1,27 +0,0 @@
-config SND_AT91_SOC
-	tristate "SoC Audio for the Atmel AT91 System-on-Chip"
-	depends on ARCH_AT91
-	help
-	  Say Y or M if you want to add support for codecs attached to
-	  the AT91 SSC interface. You will also need
-	  to select the audio interfaces to support below.
-
-config SND_AT91_SOC_SSC
-	tristate
-
-config SND_AT91_SOC_ETI_B1_WM8731
-	tristate "SoC Audio support for WM8731-based Endrelia ETI-B1 boards"
-	depends on SND_AT91_SOC && (MACH_ETI_B1 || MACH_ETI_C1)
-	select SND_AT91_SOC_SSC
-	select SND_SOC_WM8731
-	help
-	  Say Y if you want to add support for SoC audio on WM8731-based
-	  Endrelia Technologies Inc ETI-B1 or ETI-C1 boards.
-
-config SND_AT91_SOC_ETI_SLAVE
-	bool "Run codec in slave Mode on Endrelia boards"
-	depends on SND_AT91_SOC_ETI_B1_WM8731
-	default n
-	help
-	  Say Y if you want to run with the AT91 SSC generating the BCLK
-	  and LRC signals on Endrelia boards.
sound/soc/at91/Makefile deleted +0 -11
deleted file mode 100644
index f23da17..0000000
@@ -1,11 +0,0 @@
-# AT91 Platform Support
-snd-soc-at91-objs := at91-pcm.o
-snd-soc-at91-ssc-objs := at91-ssc.o
-
-obj-$(CONFIG_SND_AT91_SOC) += snd-soc-at91.o
-obj-$(CONFIG_SND_AT91_SOC_SSC) += snd-soc-at91-ssc.o
-
-# AT91 Machine Support
-snd-soc-eti-b1-wm8731-objs := eti_b1_wm8731.o
-
-obj-$(CONFIG_SND_AT91_SOC_ETI_B1_WM8731) += snd-soc-eti-b1-wm8731.o
sound/soc/at91/at91-pcm.c deleted +0 -434

434 lines not on this page · raw message

sound/soc/at91/at91-pcm.h deleted +0 -72

72 lines not on this page · raw message

sound/soc/at91/at91-ssc.c deleted +0 -791

411 lines not on this page · raw message

sound/soc/at91/at91-ssc.h deleted +0 -27
deleted file mode 100644
index 6b7bf38..0000000

Lines of this file are not shown. View the raw message.

sound/soc/at91/eti_b1_wm8731.c deleted +0 -348

348 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.