logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.

Connect TLV320AIC3254 to IGEPv2

posted in Peripherals
Wednesday, April 25 2012, 01:07 PM
0
Hello, I'm trying to connect TLV320AIC3254 codec to Igepv2, kernel version 2.6.37-2. The kernel driver related to codec works fine, dm3730 can communicate through control data bus (I2C2 from J990 connector) to the codec and I can work with alsamixer settings from userspace. Now I need to configure audio data bus (I2S). I was going to use McBSP1 from J990 connector but I have some questions about: Can McBSP1 works like I2S (master) port? How do I configure it? and also, what should I change in snd_soc_dai_link struct in sound/soc/omap/igep0020.c to inform kernel that audio bus is McBSP1? The .0 in cpu_dai_name entry? Based on the original igep struct, is the following correct?[code] static struct snd_soc_dai_link igep2_dai = { .name = "tlv320aic32x4", .stream_name = "tlv320aic32x4", .cpu_dai_name = "omap-mcbsp-dai.0", .codec_dai_name = "tlv320aic32x4-hifi", .platform_name = "omap-pcm-audio", .codec_name = "tlv320aic32x4.2-0018", .ops = &igep2_ops, };[/code]
Responses (1)
  • Accepted Answer

    mcaro
    mcaro
    Offline
    Wednesday, April 25 2012, 09:43 PM - #permalink
    0
    Hi A) all mcbsp modules can work as master or slave, dm3730 reference manual page 3069. B) The configuration it's done in this other file: sound/soc/omap/omap-mcbsp.c C) you should check the upper file, if this is the right parameter. I hope it help you ... :) Manel
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat