Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62038
b: refs/heads/master
c: aef3b06
h: refs/heads/master
v: v3
  • Loading branch information
Manuel Lauss authored and Jaroslav Kysela committed Jul 20, 2007
1 parent 2698798 commit 220c5db
Show file tree
Hide file tree
Showing 9 changed files with 1,224 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 80ab1c0e9ea90467e34dd3187b1d8162e8be314b
refs/heads/master: aef3b06ac69783d6a6d1e4357c62bab46dd16141
1 change: 1 addition & 0 deletions trunk/sound/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ config SND_SOC
source "sound/soc/at91/Kconfig"
source "sound/soc/pxa/Kconfig"
source "sound/soc/s3c24xx/Kconfig"
source "sound/soc/sh/Kconfig"

# Supported codecs
source "sound/soc/codecs/Kconfig"
Expand Down
2 changes: 1 addition & 1 deletion trunk/sound/soc/Makefile
Original file line number Diff line number Diff line change
@@ -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/ at91/ pxa/ s3c24xx/
obj-$(CONFIG_SND_SOC) += codecs/ at91/ pxa/ s3c24xx/ sh/
39 changes: 39 additions & 0 deletions trunk/sound/soc/sh/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
menu "SoC Audio support for SuperH"

config SND_SOC_PCM_SH7760
tristate "SoC Audio support for Renesas SH7760"
depends on CPU_SUBTYPE_SH7760 && SND_SOC
select SH_DMABRG
help
Enable this option for SH7760 AC97/I2S audio support.


##
## Audio unit modules
##

config SND_SOC_SH4_HAC
select AC97_BUS
select SND_SOC_AC97_BUS
select SND_AC97_CODEC
tristate

config SND_SOC_SH4_SSI
tristate



##
## Boards
##

config SND_SH7760_AC97
tristate "SH7760 AC97 sound support"
depends on CPU_SUBTYPE_SH7760 && SND_SOC_PCM_SH7760
select SND_SOC_SH4_HAC
select SND_SOC_AC97_CODEC
help
This option enables generic sound support for the first
AC97 unit of the SH7760.

endmenu
14 changes: 14 additions & 0 deletions trunk/sound/soc/sh/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## DMA engines
snd-soc-dma-sh7760-objs := dma-sh7760.o
obj-$(CONFIG_SND_SOC_PCM_SH7760) += snd-soc-dma-sh7760.o

## audio units found on some SH-4
snd-soc-hac-objs := hac.o
snd-soc-ssi-objs := ssi.o
obj-$(CONFIG_SND_SOC_SH4_HAC) += snd-soc-hac.o
obj-$(CONFIG_SND_SOC_SH4_SSI) += snd-soc-ssi.o

## boards
snd-soc-sh7760-ac97-objs := sh7760-ac97.o

obj-$(CONFIG_SND_SH7760_AC97) += snd-soc-sh7760-ac97.o
Loading

0 comments on commit 220c5db

Please sign in to comment.