Skip to contentSkip to conversation

SMDK64XX I2S: Added machine driver for WM8580

PATCH In review jassi brar 2 participants 3 messages Sep 18, 2009

Subsystems (2)
lore
Share & tools
lore

jassi brar

author
#0 lore raw

PATCH 1/1 SMDK64XX I2S: Added machine driver for WM8580

New machine driver for WM8580 I2S i/f on SMDK64XX.
By default SoC-Slave is set and WM8580 is configured to use it's PLLA to generate clocks from a 12MHz crystal attached to WM8580.

---
 sound/soc/s3c24xx/Kconfig           |    8 +
 sound/soc/s3c24xx/Makefile          |    2 +
 sound/soc/s3c24xx/smdk64xx_wm8580.c |  284 +++++++++++++++++++++++++++++++++++
 3 files changed, 294 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/s3c24xx/smdk64xx_wm8580.c
sound/soc/s3c24xx/Kconfig +8 -0
index 923428f..769697e 100644
@@ -56,6 +56,14 @@ config SND_S3C24XX_SOC_JIVE_WM8750
 	help
 	  Sat Y if you want to add support for SoC audio on the Jive.
 
+config SND_S3C64XX_SOC_WM8580
+	tristate "SoC I2S Audio support for WM8580 on SMDK64XX"
+	depends on SND_S3C24XX_SOC && (MACH_SMDK6400 || MACH_SMDK6410)
+	select SND_SOC_WM8580
+	select SND_S3C64XX_SOC_I2S
+	help
+	  Sat Y if you want to add support for SoC audio on the SMDK64XX.
+
 config SND_S3C24XX_SOC_SMDK2443_WM9710
 	tristate "SoC AC97 Audio support for SMDK2443 - WM9710"
 	depends on SND_S3C24XX_SOC && MACH_SMDK2443
sound/soc/s3c24xx/Makefile +2 -0
index 99f5a7d..7790406 100644
@@ -23,6 +23,7 @@ snd-soc-s3c24xx-uda134x-objs := s3c24xx_uda134x.o
 snd-soc-s3c24xx-simtec-objs := s3c24xx_simtec.o
 snd-soc-s3c24xx-simtec-hermes-objs := s3c24xx_simtec_hermes.o
 snd-soc-s3c24xx-simtec-tlv320aic23-objs := s3c24xx_simtec_tlv320aic23.o
+snd-soc-smdk64xx-wm8580-objs := smdk64xx_wm8580.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
@@ -33,4 +34,5 @@ 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_HERMES) += snd-soc-s3c24xx-simtec-hermes.o
 obj-$(CONFIG_SND_S3C24XX_SOC_SIMTEC_TLV320AIC23) += snd-soc-s3c24xx-simtec-tlv320aic23.o
+obj-$(CONFIG_SND_S3C64XX_SOC_WM8580) += snd-soc-smdk64xx-wm8580.o
 
sound/soc/s3c24xx/smdk64xx_wm8580.c new file +284 -0

284 lines not on this page · raw message

Signature · 1 line
1.6.2.5
#1 lore raw

sound/soc/s3c24xx/smdk64xx_wm8580.c line 54

Quoted 3 lines · jassi brar
sound/soc/s3c24xx/smdk64xx_wm8580.c new file +3 -0
+	/* Currently, WM8580 driver doesn't support PLL-out rates
+	 * other than those mentioned in Table-52 Page-58 of WM8580A
+	 * manual. Some of these unavailable rates include

As discussed yesterday this comment is misleading; the driver has no restrictions in it based on the example configurations listed in the datasheet and there is no possibility of any future work in the driver removing the restrictions that aren't present since the driver can't make features available that aren't present in the hardware.

author
#2 lore raw
Quoted 11 lines · Mark Brown
Quoted 3 lines · jassi brar

+     /* Currently, WM8580 driver doesn't support PLL-out rates
+      * other than those mentioned in Table-52 Page-58 of WM8580A
+      * manual. Some of these unavailable rates include

As discussed yesterday this comment is misleading; the driver has no restrictions in it based on the example configurations listed in the datasheet and there is no possibility of any future work in the driver removing the restrictions that aren't present since the driver can't make features available that aren't present in the hardware.

sorry, i thought your objection was for "exceptions" comment. Will only change this comment and resend. Thanks.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel