forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
f10485e
commit 9aaca96
Showing
9 changed files
with
2,050 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +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/ at91/ pxa/ s3c24xx/ sh/ fsl/ davinci/ omap/ | ||
obj-$(CONFIG_SND_SOC) += codecs/ at32/ at91/ pxa/ s3c24xx/ sh/ fsl/ davinci/ | ||
obj-$(CONFIG_SND_SOC) += omap/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# 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 |
Oops, something went wrong.