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.

Reply via email to