Hi Puneet, ignore what I said it was my spdif changes on my branch that broke the build. I've now switched to the stage/sunxi branch, added this change diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index adafead..2334cab 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig @@ -60,7 +60,7 @@ source "sound/soc/sunxi/Kconfig" source "sound/soc/sunxi/hdmiaudio/Kconfig" source "sound/soc/sunxi/spdif/Kconfig" # i2s needs various adjustments for sun7i -if ARCH_SUN4I || ARCH_SUN5I +if ARCH_SUN4I || ARCH_SUN5I || ARCH_SUN7I source "sound/soc/sunxi/i2s/Kconfig" endif endif
and i2s now builds. CK On 20 February 2014 08:15, Code Kipper <[email protected]> wrote: > Hi Puneet, > I'm not sure if I2S is currently supported on the sun7i. Looking at > sound/soc/Kconfig I see this: > if SOUND_SUNXI > source "sound/soc/sunxi/Kconfig" > source "sound/soc/sunxi/hdmiaudio/Kconfig" > source "sound/soc/sunxi/spdif/Kconfig" > # i2s needs various adjustments for sun7i > if ARCH_SUN4I || ARCH_SUN5I > source "sound/soc/sunxi/i2s/Kconfig" > endif > endif > which explains why it's not being built. If I enable it then there are > compile errors as the dma that the current software uses isn't supported by > sun7i build. I think you will need to look into this more. In sunxi-codec > etc you can see that the dma routines are platform dependant. You will need > to hack something similar into i2s. > BR, > CK > > > On 20 February 2014 06:18, Puneet B <[email protected]> wrote: > >> Hi CodeKipper, >> >> ls sound/soc/sunxi/i2s >> >> built-in.o Makefile modules.order sndi2s.h sunxi-i2sdma.c >> sunxi-i2s.h sunxi-sndi2s.h >> Kconfig modules.builtin sndi2s.c sunxi-i2s.c sunxi-i2sdma.h >> sunxi-sndi2s.c >> >> in menuconfig if i select ARCH_SUN7i then there is no option for i2s >> support in sound card support for ALSA. >> >> but if i select ARCH_SUN4i or ARCH_SUN5i then there is option for i2s >> support in sound card support for ALSA. >> >> >> in my actual project we are using TLV320AIC3100IRHBR chip set for i2s >> support. >> >> Regards >> Punith >> >> -- >> You received this message because you are subscribed to the Google Groups >> "linux-sunxi" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
