mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 17:24:17 +08:00
9aaca9683b
Attached is a revised version of my patch to add AT32 to ASoC. This cleans most of the style issues associated with the previous patch. Also fixes an issue with the playpaq_wm8510.c code depending on a non-released patch to th AT32 portmux support. Patch is against 2.6.24.3.atmel.3 kernel, the latest AVR32 kernel Atmel has released, with the linux-2.6-asoc patches from when v2.6.24 was tagged also applied. [Fixed up minor checkpatch issues and updated for current kernels -- broonie] Signed-off-by: Geoffrey Wossum <gwossum@acm.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
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.
|