ASoC: S3C64XX: IISv4: Add CPU driver
Subsystems (3)
PATCH 10/11 ASoC: S3C64XX: IISv4: Add CPU driver
Add the CPU driver for the IISv4 block found on S3C6410. For now, the driver is almost a copy of s3c64xx-i2s.c but it should diverge as more IISv4 specific stuff is added.
--- sound/soc/s3c24xx/Kconfig | 5 + sound/soc/s3c24xx/Makefile | 2 + sound/soc/s3c24xx/s3c64xx-i2s-v4.c | 209 ++++++++++++++++++++++++++++++++++++ sound/soc/s3c24xx/s3c64xx-i2s.h | 1 + 4 files changed, 217 insertions(+), 0 deletions(-) create mode 100644 sound/soc/s3c24xx/s3c64xx-i2s-v4.c
sound/soc/s3c24xx/Kconfig +5 -0
@@ -24,6 +24,11 @@ config SND_S3C64XX_SOC_I2S select SND_S3C_I2SV2_SOC select S3C64XX_DMA +config SND_S3C64XX_SOC_I2S_V4 + tristate + select SND_S3C_I2SV2_SOC + select S3C64XX_DMA + config SND_S3C_SOC_PCM tristate
sound/soc/s3c24xx/Makefile +2 -0
@@ -4,6 +4,7 @@ snd-soc-s3c24xx-i2s-objs := s3c24xx-i2s.o snd-soc-s3c2412-i2s-objs := s3c2412-i2s.o snd-soc-s3c64xx-i2s-objs := s3c64xx-i2s.o snd-soc-s3c-ac97-objs := s3c-ac97.o +snd-soc-s3c64xx-i2s-v4-objs := s3c64xx-i2s-v4.o snd-soc-s3c-i2s-v2-objs := s3c-i2s-v2.o snd-soc-s3c-pcm-objs := s3c-pcm.o
@@ -12,6 +13,7 @@ obj-$(CONFIG_SND_S3C24XX_SOC_I2S) += snd-soc-s3c24xx-i2s.o obj-$(CONFIG_SND_S3C_SOC_AC97) += snd-soc-s3c-ac97.o obj-$(CONFIG_SND_S3C2412_SOC_I2S) += snd-soc-s3c2412-i2s.o obj-$(CONFIG_SND_S3C64XX_SOC_I2S) += snd-soc-s3c64xx-i2s.o +obj-$(CONFIG_SND_S3C64XX_SOC_I2S_V4) += snd-soc-s3c64xx-i2s-v4.o obj-$(CONFIG_SND_S3C_I2SV2_SOC) += snd-soc-s3c-i2s-v2.o obj-$(CONFIG_SND_S3C_SOC_PCM) += snd-soc-s3c-pcm.o
sound/soc/s3c24xx/s3c64xx-i2s-v4.c new file +209 -0
209 lines not on this page · raw message
sound/soc/s3c24xx/s3c64xx-i2s.h +1 -0
@@ -37,5 +37,6 @@ struct clk; SNDRV_PCM_FMTBIT_S24_LE) extern struct snd_soc_dai s3c64xx_i2s_dai[]; +extern struct snd_soc_dai s3c64xx_i2s_v4_dai;#endif /* __SND_SOC_S3C24XX_S3C64XX_I2S_H */
Signature · 1 line
1.6.2.5
Quoted 5 lines · Jassi Brar
Add the CPU driver for the IISv4 block found on S3C6410. For now, the driver is almost a copy of
s3c64xx-i2s.cbut it should diverge as more IISv4 specific stuff is added.Signed-off-by Jassi Brar <[email protected]>
Actually, this is the first patch that seems to have an issue so I've applied the patches up till this point.
Quoted 9 lines · Mark Brown
Quoted 5 lines · Jassi Brar
Add the CPU driver for the IISv4 block found on S3C6410. For now, the driver is almost a copy of
s3c64xx-i2s.cbut it should diverge as more IISv4 specific stuff is added.Signed-off-by Jassi Brar <[email protected]>Actually, this is the first patch that seems to have an issue so I've applied the patches up till this point.
That is strange, because I am able to cleanly apply these 11 patches against commit cb7cf44c880aeb8caf8 of for-2.6.35
Could you please try again?
Thanks
Quoted 8 lines · jassi brar
On Wed, May 5, 2010 at 11:30 PM, Mark Brown
Quoted 2 lines
Actually, this is the first patch that seems to have an issue so I've applied the patches up till this point.
That is strange, because I am able to cleanly apply these 11 patches against commit
cb7cf44c880aeb8caf8of for-2.6.35
Could you please try again?
I did try several times, including using a three way merge. It's possible some damage was introduced in the mail path (though it'd be a bit odd given that everything else might work) so a simple resend might do the trick?
Quoted 3 lines · jassi brar
That is strange, because I am able to cleanly apply these 11 patches against commit
cb7cf44c880aeb8caf8of for-2.6.35
Could you please try again?
I had another poke at this and managed to get the last two applied, thanks. However, the audio-bus clock for the IISv4 block on the S3C6410 is still not set up in -next. If that doesn't get sorted out it might be as well to mark it BROKEN again since it can't actually be used.
Quoted 8 lines · Mark Brown
Quoted 3 lines · jassi brar
That is strange, because I am able to cleanly apply these 11 patches against commit cb7cf44c880aeb8caf8 of for-2.6.35
Could you please try again?I had another poke at this and managed to get the last two applied, thanks.
ok, i waiting to reach workplace to resend.
Quoted 3 lines
However, the audio-bus clock for the IISv4 block on the S3C6410 is still not set up in -next. If that doesn't get sorted out it might be as well to mark it BROKEN again since it can't actually be used.
I reminded the patch to Ben, hope it's settled.
But of course, please do as appropriate.
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel