Skip to contentSkip to conversation

ALSA SOC driver for s3c24xx with uda134x

PATCH RESEND In review Christian Pellegrin 2 participants 2 messages Nov 15, 2008 – Nov 17, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 2/3 ALSA SOC driver for s3c24xx with uda134x

Sound card definition for for s3c24xx with uda134x

---
 include/sound/s3c24xx_uda134x.h     |   14 ++
 sound/soc/s3c24xx/Kconfig           |    5 +
 sound/soc/s3c24xx/Makefile          |    2 +
 sound/soc/s3c24xx/s3c24xx_uda134x.c |  374 +++++++++++++++++++++++++++++++++++
 4 files changed, 395 insertions(+), 0 deletions(-)

--
Generated on 20081115 against f7e1798a78a30bae1cf3ebc3e1b6f7c1bac57756 --

include/sound/s3c24xx_uda134x.h new file +14 -0
new file mode 100644
index 0000000..33df4cb
@@ -0,0 +1,14 @@
+#ifndef _S3C24XX_UDA134X_H_
+#define _S3C24XX_UDA134X_H_ 1
+
+#include <sound/uda134x.h>
+
+struct s3c24xx_uda134x_platform_data {
+	int l3_clk;
+	int l3_mode;
+	int l3_data;
+	void (*power) (int);
+	int model;
+};
+
+#endif
sound/soc/s3c24xx/Kconfig +5 -0
index b9f2353..fcd03ac 100644
@@ -44,3 +44,8 @@ config SND_S3C24XX_SOC_LN2440SBC_ALC650
 	  Say Y if you want to add support for SoC audio on ln2440sbc
 	  with the ALC650.
 
+config SND_S3C24XX_SOC_S3C24XX_UDA134X
+	tristate "SoC I2S Audio support UDA134X wired to a S3C24XX"
+       	depends on SND_S3C24XX_SOC
+       	select SND_S3C24XX_SOC_I2S
+       	select SND_SOC_UDA134X
sound/soc/s3c24xx/Makefile +2 -0
index 0aa5fb0..96b3f3f 100644
@@ -13,7 +13,9 @@ obj-$(CONFIG_SND_S3C2412_SOC_I2S) += snd-soc-s3c2412-i2s.o
 snd-soc-neo1973-wm8753-objs := neo1973_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
 
 obj-$(CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753) += snd-soc-neo1973-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
sound/soc/s3c24xx/s3c24xx_uda134x.c new file +374 -0

374 lines not on this page · raw message

--
1.4.4.4