Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157701
b: refs/heads/master
c: 14412ac
h: refs/heads/master
i:
  157699: bc6970d
v: v3
  • Loading branch information
Ben Dooks authored and Mark Brown committed Aug 21, 2009
1 parent fb8c0c3 commit 7ed1d7a
Show file tree
Hide file tree
Showing 7 changed files with 607 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0a499c5792b8656cd51e11d5e0db9fb21640f58
refs/heads/master: 14412acde5b57450b8afb3d4b03132419b6abebf
37 changes: 37 additions & 0 deletions trunk/arch/arm/plat-s3c/include/plat/audio-simtec.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* arch/arm/plat-s3c/include/plat/audio-simtec.h
*
* Copyright 2008 Simtec Electronics
* http://armlinux.simtec.co.uk/
* Ben Dooks <ben@simtec.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Simtec Audio support.
*/

/**
* struct s3c24xx_audio_simtec_pdata - platform data for simtec audio
* @use_mpllin: Select codec clock from MPLLin
* @output_cdclk: Need to output CDCLK to the codec
* @have_mic: Set if we have a MIC socket
* @have_lout: Set if we have a LineOut socket
* @amp_gpio: GPIO pin to enable the AMP
* @amp_gain: Option GPIO to control AMP gain
*/
struct s3c24xx_audio_simtec_pdata {
unsigned int use_mpllin:1;
unsigned int output_cdclk:1;

unsigned int have_mic:1;
unsigned int have_lout:1;

int amp_gpio;
int amp_gain[2];

void (*startup)(void);
};

extern int simtec_audio_add(const char *codec_name,
struct s3c24xx_audio_simtec_pdata *pdata);
12 changes: 12 additions & 0 deletions trunk/sound/soc/s3c24xx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,15 @@ config SND_S3C24XX_SOC_S3C24XX_UDA134X
select SND_S3C24XX_SOC_I2S
select SND_SOC_L3
select SND_SOC_UDA134X

config SND_S3C24XX_SOC_SIMTEC
tristate
help
Internal node for common S3C24XX/Simtec suppor

config SND_S3C24XX_SOC_SIMTEC_TLV320AIC23
tristate "SoC I2S Audio support for TLV320AIC23 on Simtec boards"
depends on SND_S3C24XX_SOC
select SND_S3C24XX_SOC_I2S
select SND_SOC_TLV320AIC23
select SND_S3C24XX_SOC_SIMTEC
4 changes: 4 additions & 0 deletions trunk/sound/soc/s3c24xx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ snd-soc-neo1973-gta02-wm8753-objs := neo1973_gta02_wm8753.o
snd-soc-smdk2443-wm9710-objs := smdk2443_wm9710.o
snd-soc-ln2440sbc-alc650-objs := ln2440sbc_alc650.o
snd-soc-s3c24xx-uda134x-objs := s3c24xx_uda134x.o
snd-soc-s3c24xx-simtec-objs := s3c24xx_simtec.o
snd-soc-s3c24xx-simtec-tlv320aic23-objs := s3c24xx_simtec_tlv320aic23.o

obj-$(CONFIG_SND_S3C24XX_SOC_JIVE_WM8750) += snd-soc-jive-wm8750.o
obj-$(CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753) += snd-soc-neo1973-wm8753.o
obj-$(CONFIG_SND_S3C24XX_SOC_NEO1973_GTA02_WM8753) += snd-soc-neo1973-gta02-wm8753.o
obj-$(CONFIG_SND_S3C24XX_SOC_SMDK2443_WM9710) += snd-soc-smdk2443-wm9710.o
obj-$(CONFIG_SND_S3C24XX_SOC_LN2440SBC_ALC650) += snd-soc-ln2440sbc-alc650.o
obj-$(CONFIG_SND_S3C24XX_SOC_S3C24XX_UDA134X) += snd-soc-s3c24xx-uda134x.o
obj-$(CONFIG_SND_S3C24XX_SOC_SIMTEC) += snd-soc-s3c24xx-simtec.o
obj-$(CONFIG_SND_S3C24XX_SOC_SIMTEC_TLV320AIC23) += snd-soc-s3c24xx-simtec-tlv320aic23.o
Loading

0 comments on commit 7ed1d7a

Please sign in to comment.