* [PATCH 4/4] ASoC AT91RM92000 build
@ 2006-10-02 16:17 Liam Girdwood
2006-10-04 17:20 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Liam Girdwood @ 2006-10-02 16:17 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
This patch adds a Makefile and Kconfig to build the ASoC AT91RM9200
support.
Signed-off-by: Frank Mandarino <fmandarino@endrelia.com>
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
[-- Attachment #2: asoc-at91-build.patch --]
[-- Type: text/x-patch, Size: 2154 bytes --]
Index: alsa-kernel/soc/Makefile
===================================================================
--- alsa-kernel.orig/soc/Makefile
+++ alsa-kernel/soc/Makefile
@@ -1,4 +1,4 @@
snd-soc-core-objs := soc-core.o soc-dapm.o
obj-$(CONFIG_SND_SOC) += snd-soc-core.o
-obj-$(CONFIG_SND_SOC) += codecs/
+obj-$(CONFIG_SND_SOC) += codecs/ at91/
Index: alsa-kernel/soc/at91/Kconfig
===================================================================
--- /dev/null
+++ alsa-kernel/soc/at91/Kconfig
@@ -0,0 +1,23 @@
+menu "SoC Audio for the Atmel AT91"
+
+config SND_AT91_SOC
+ tristate "SoC Audio for the Atmel AT91 System-on-Chip"
+ depends on ARCH_AT91 && SND
+ select SND_PCM
+ 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_I2S
+ tristate
+
+config SND_AT91_SOC_ETI_B1_WM8731
+ tristate "SoC I2S Audio support for Endrelia ETI-B1 board"
+ depends on SND_AT91_SOC && MACH_ETI_B1
+ select SND_AT91_SOC_I2S
+ help
+ Say Y if you want to add support for SoC audio on Endrelia
+ ETI-B1 board.
+
+endmenu
Index: alsa-kernel/soc/at91/Makefile
===================================================================
--- /dev/null
+++ alsa-kernel/soc/at91/Makefile
@@ -0,0 +1,11 @@
+# AT91 Platform Support
+snd-soc-at91-objs := at91rm9200-pcm.o
+snd-soc-at91-i2s-objs := at91rm9200-i2s.o
+
+obj-$(CONFIG_SND_AT91_SOC) += snd-soc-at91.o
+obj-$(CONFIG_SND_AT91_SOC_I2S) += snd-soc-at91-i2s.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
Index: alsa-kernel/soc/Kconfig
===================================================================
--- alsa-kernel.orig/soc/Kconfig
+++ alsa-kernel/soc/Kconfig
@@ -19,6 +19,12 @@ config SND_SOC
This SoC audio support can also be built as a module. If so, the module
will be called snd-soc-core.
+# All the supported Soc's
+menu "SoC Platforms"
+depends on SND_SOC
+source "sound/soc/at91/Kconfig"
+endmenu
+
# Supported codecs
menu "SoC Codecs"
depends on SND_SOC
[-- Attachment #3: Type: text/plain, Size: 348 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 4/4] ASoC AT91RM92000 build
2006-10-02 16:17 [PATCH 4/4] ASoC AT91RM92000 build Liam Girdwood
@ 2006-10-04 17:20 ` Takashi Iwai
2006-10-06 15:57 ` Liam Girdwood
0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2006-10-04 17:20 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel
At Mon, 02 Oct 2006 17:17:19 +0100,
Liam Girdwood wrote:
>
> Index: alsa-kernel/soc/at91/Kconfig
> ===================================================================
> --- /dev/null
> +++ alsa-kernel/soc/at91/Kconfig
> @@ -0,0 +1,23 @@
> +menu "SoC Audio for the Atmel AT91"
> +
> +config SND_AT91_SOC
> + tristate "SoC Audio for the Atmel AT91 System-on-Chip"
> + depends on ARCH_AT91 && SND
> + select SND_PCM
> + 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_I2S
> + tristate
> +
> +config SND_AT91_SOC_ETI_B1_WM8731
> + tristate "SoC I2S Audio support for Endrelia ETI-B1 board"
> + depends on SND_AT91_SOC && MACH_ETI_B1
> + select SND_AT91_SOC_I2S
Don't you need a selection of SND_SOC_WM8731 here?
Takashi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 4/4] ASoC AT91RM92000 build
2006-10-04 17:20 ` Takashi Iwai
@ 2006-10-06 15:57 ` Liam Girdwood
0 siblings, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2006-10-06 15:57 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 993 bytes --]
On Wed, 2006-10-04 at 19:20 +0200, Takashi Iwai wrote:
> At Mon, 02 Oct 2006 17:17:19 +0100,
> Liam Girdwood wrote:
> >
> > Index: alsa-kernel/soc/at91/Kconfig
> > ===================================================================
> > --- /dev/null
> > +++ alsa-kernel/soc/at91/Kconfig
> > @@ -0,0 +1,23 @@
> > +menu "SoC Audio for the Atmel AT91"
> > +
> > +config SND_AT91_SOC
> > + tristate "SoC Audio for the Atmel AT91 System-on-Chip"
> > + depends on ARCH_AT91 && SND
> > + select SND_PCM
> > + 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_I2S
> > + tristate
> > +
> > +config SND_AT91_SOC_ETI_B1_WM8731
> > + tristate "SoC I2S Audio support for Endrelia ETI-B1 board"
> > + depends on SND_AT91_SOC && MACH_ETI_B1
> > + select SND_AT91_SOC_I2S
>
> Don't you need a selection of SND_SOC_WM8731 here?
>
Fixed.
Liam
[-- Attachment #2: asoc-at91-build.patch --]
[-- Type: text/x-patch, Size: 2176 bytes --]
Index: alsa-kernel/soc/Makefile
===================================================================
--- alsa-kernel.orig/soc/Makefile
+++ alsa-kernel/soc/Makefile
@@ -1,4 +1,4 @@
snd-soc-core-objs := soc-core.o soc-dapm.o
obj-$(CONFIG_SND_SOC) += snd-soc-core.o
-obj-$(CONFIG_SND_SOC) += codecs/
+obj-$(CONFIG_SND_SOC) += codecs/ at91/
Index: alsa-kernel/soc/at91/Kconfig
===================================================================
--- /dev/null
+++ alsa-kernel/soc/at91/Kconfig
@@ -0,0 +1,24 @@
+menu "SoC Audio for the Atmel AT91"
+
+config SND_AT91_SOC
+ tristate "SoC Audio for the Atmel AT91 System-on-Chip"
+ depends on ARCH_AT91 && SND
+ select SND_PCM
+ 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_I2S
+ tristate
+
+config SND_AT91_SOC_ETI_B1_WM8731
+ tristate "SoC I2S Audio support for Endrelia ETI-B1 board"
+ depends on SND_AT91_SOC && MACH_ETI_B1
+ select SND_AT91_SOC_I2S
+ select SND_SOC_WM8731
+ help
+ Say Y if you want to add support for SoC audio on Endrelia
+ ETI-B1 board.
+
+endmenu
Index: alsa-kernel/soc/at91/Makefile
===================================================================
--- /dev/null
+++ alsa-kernel/soc/at91/Makefile
@@ -0,0 +1,11 @@
+# AT91 Platform Support
+snd-soc-at91-objs := at91rm9200-pcm.o
+snd-soc-at91-i2s-objs := at91rm9200-i2s.o
+
+obj-$(CONFIG_SND_AT91_SOC) += snd-soc-at91.o
+obj-$(CONFIG_SND_AT91_SOC_I2S) += snd-soc-at91-i2s.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
Index: alsa-kernel/soc/Kconfig
===================================================================
--- alsa-kernel.orig/soc/Kconfig
+++ alsa-kernel/soc/Kconfig
@@ -19,6 +19,12 @@ config SND_SOC
This SoC audio support can also be built as a module. If so, the module
will be called snd-soc-core.
+# All the supported Soc's
+menu "SoC Platforms"
+depends on SND_SOC
+source "sound/soc/at91/Kconfig"
+endmenu
+
# Supported codecs
source "sound/soc/codecs/Kconfig"
[-- Attachment #3: Type: text/plain, Size: 348 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #4: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-06 15:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-02 16:17 [PATCH 4/4] ASoC AT91RM92000 build Liam Girdwood
2006-10-04 17:20 ` Takashi Iwai
2006-10-06 15:57 ` Liam Girdwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox