diff options
| author | Liam Girdwood <liam.girdwood@wolfsonmicro.com> | 2006-10-12 08:34:32 -0400 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2007-02-09 03:00:50 -0500 |
| commit | 734c2d4bb7cfccaab79923331efc7422e4e76a8a (patch) | |
| tree | 1d9e8874ac555fab5f3afcf0dc96fd6eff7c36e6 | |
| parent | 6e24dd9310b66d6f500a81ee320a8babec529573 (diff) | |
[ALSA] ASoC pxa2xx build support
This patch builds ASoC pxa2xx support for Corgi, Spitz, Tosa and Poodle
Zaurus machines.
From: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| -rw-r--r-- | sound/soc/Kconfig | 1 | ||||
| -rw-r--r-- | sound/soc/Makefile | 2 | ||||
| -rw-r--r-- | sound/soc/pxa/Kconfig | 60 | ||||
| -rw-r--r-- | sound/soc/pxa/Makefile | 20 |
4 files changed, 82 insertions, 1 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index e7dab5bdc6b2..ec821a57f843 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig | |||
| @@ -23,6 +23,7 @@ config SND_SOC | |||
| 23 | menu "SoC Platforms" | 23 | menu "SoC Platforms" |
| 24 | depends on SND_SOC | 24 | depends on SND_SOC |
| 25 | source "sound/soc/at91/Kconfig" | 25 | source "sound/soc/at91/Kconfig" |
| 26 | source "sound/soc/pxa/Kconfig" | ||
| 26 | endmenu | 27 | endmenu |
| 27 | 28 | ||
| 28 | # Supported codecs | 29 | # Supported codecs |
diff --git a/sound/soc/Makefile b/sound/soc/Makefile index 3e12a1654c49..98e6f49dafc2 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | snd-soc-core-objs := soc-core.o soc-dapm.o | 1 | snd-soc-core-objs := soc-core.o soc-dapm.o |
| 2 | 2 | ||
| 3 | obj-$(CONFIG_SND_SOC) += snd-soc-core.o | 3 | obj-$(CONFIG_SND_SOC) += snd-soc-core.o |
| 4 | obj-$(CONFIG_SND_SOC) += codecs/ at91/ | 4 | obj-$(CONFIG_SND_SOC) += codecs/ at91/ pxa/ |
diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig new file mode 100644 index 000000000000..a07598cdab3c --- /dev/null +++ b/sound/soc/pxa/Kconfig | |||
| @@ -0,0 +1,60 @@ | |||
| 1 | menu "SoC Audio for the Intel PXA2xx" | ||
| 2 | |||
| 3 | config SND_PXA2XX_SOC | ||
| 4 | tristate "SoC Audio for the Intel PXA2xx chip" | ||
| 5 | depends on ARCH_PXA && SND | ||
| 6 | select SND_PCM | ||
| 7 | help | ||
| 8 | Say Y or M if you want to add support for codecs attached to | ||
| 9 | the PXA2xx AC97, I2S or SSP interface. You will also need | ||
| 10 | to select the audio interfaces to support below. | ||
| 11 | |||
| 12 | config SND_PXA2XX_AC97 | ||
| 13 | tristate | ||
| 14 | select SND_AC97_CODEC | ||
| 15 | |||
| 16 | config SND_PXA2XX_SOC_AC97 | ||
| 17 | tristate | ||
| 18 | select SND_AC97_BUS | ||
| 19 | select SND_SOC_AC97_BUS | ||
| 20 | |||
| 21 | config SND_PXA2XX_SOC_I2S | ||
| 22 | tristate | ||
| 23 | |||
| 24 | config SND_PXA2XX_SOC_CORGI | ||
| 25 | tristate "SoC Audio support for Sharp Zaurus SL-C7x0" | ||
| 26 | depends on SND_PXA2XX_SOC && PXA_SHARP_C7xx | ||
| 27 | select SND_PXA2XX_SOC_I2S | ||
| 28 | select SND_SOC_WM8731 | ||
| 29 | help | ||
| 30 | Say Y if you want to add support for SoC audio on Sharp | ||
| 31 | Zaurus SL-C7x0 models (Corgi, Shepherd, Husky). | ||
| 32 | |||
| 33 | config SND_PXA2XX_SOC_SPITZ | ||
| 34 | tristate "SoC Audio support for Sharp Zaurus SL-Cxx00" | ||
| 35 | depends on SND_PXA2XX_SOC && PXA_SHARP_Cxx00 | ||
| 36 | select SND_PXA2XX_SOC_I2S | ||
| 37 | select SND_SOC_WM8750 | ||
| 38 | help | ||
| 39 | Say Y if you want to add support for SoC audio on Sharp | ||
| 40 | Zaurus SL-Cxx00 models (Spitz, Borzoi and Akita). | ||
| 41 | |||
| 42 | config SND_PXA2XX_SOC_POODLE | ||
| 43 | tristate "SoC Audio support for Poodle" | ||
| 44 | depends on SND_PXA2XX_SOC && MACH_POODLE | ||
| 45 | select SND_PXA2XX_SOC_I2S | ||
| 46 | select SND_SOC_WM8731 | ||
| 47 | help | ||
| 48 | Say Y if you want to add support for SoC audio on Sharp | ||
| 49 | Zaurus SL-5600 model (Poodle). | ||
| 50 | |||
| 51 | config SND_PXA2XX_SOC_TOSA | ||
| 52 | tristate "SoC AC97 Audio support for Tosa" | ||
| 53 | depends on SND_PXA2XX_SOC && MACH_TOSA | ||
| 54 | select SND_PXA2XX_SOC_AC97 | ||
| 55 | select SND_SOC_WM9712 | ||
| 56 | help | ||
| 57 | Say Y if you want to add support for SoC audio on Sharp | ||
| 58 | Zaurus SL-C6000x models (Tosa). | ||
| 59 | |||
| 60 | endmenu | ||
diff --git a/sound/soc/pxa/Makefile b/sound/soc/pxa/Makefile new file mode 100644 index 000000000000..78e0d6b07d1d --- /dev/null +++ b/sound/soc/pxa/Makefile | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | # PXA Platform Support | ||
| 2 | snd-soc-pxa2xx-objs := pxa2xx-pcm.o | ||
| 3 | snd-soc-pxa2xx-ac97-objs := pxa2xx-ac97.o | ||
| 4 | snd-soc-pxa2xx-i2s-objs := pxa2xx-i2s.o | ||
| 5 | |||
| 6 | obj-$(CONFIG_SND_PXA2XX_SOC) += snd-soc-pxa2xx.o | ||
| 7 | obj-$(CONFIG_SND_PXA2XX_SOC_AC97) += snd-soc-pxa2xx-ac97.o | ||
| 8 | obj-$(CONFIG_SND_PXA2XX_SOC_I2S) += snd-soc-pxa2xx-i2s.o | ||
| 9 | |||
| 10 | # PXA Machine Support | ||
| 11 | snd-soc-corgi-objs := corgi.o | ||
| 12 | snd-soc-poodle-objs := poodle.o | ||
| 13 | snd-soc-tosa-objs := tosa.o | ||
| 14 | snd-soc-spitz-objs := spitz.o | ||
| 15 | |||
| 16 | obj-$(CONFIG_SND_PXA2XX_SOC_CORGI) += snd-soc-corgi.o | ||
| 17 | obj-$(CONFIG_SND_PXA2XX_SOC_POODLE) += snd-soc-poodle.o | ||
| 18 | obj-$(CONFIG_SND_PXA2XX_SOC_TOSA) += snd-soc-tosa.o | ||
| 19 | obj-$(CONFIG_SND_PXA2XX_SOC_SPITZ) += snd-soc-spitz.o | ||
| 20 | |||
