* Differences between tlv320aic3x and tlv320aic31xx @ 2014-09-30 18:37 Alexandre Belloni 2014-10-01 7:47 ` Jyri Sarha 0 siblings, 1 reply; 3+ messages in thread From: Alexandre Belloni @ 2014-09-30 18:37 UTC (permalink / raw) To: linux-arm-kernel Hi, I'm trying to add support for the tlv320aic3104a present on a custom board using an am335x. I see that Benoit seemed to have been successful when using the tlv320aic3x driver with minor modifications. http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058966.html On the other hand, in the past, I've used a tlv320aic3100 with the tlv320aic31xx driver. My plan for now is to use the tlv320aic3x driver with snd-soc-evm as this is the one it is using (it is using .codec_dai_name = "tlv320aic3x-hifi"). I had no luck until now but I still have to review my pinmuxing. But before I investigate to much, can you confirm what codecs are supported by which driver? I'm pretty sure that would be a nice addition to the documentation too. Thanks, -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 3+ messages in thread
* Differences between tlv320aic3x and tlv320aic31xx 2014-09-30 18:37 Differences between tlv320aic3x and tlv320aic31xx Alexandre Belloni @ 2014-10-01 7:47 ` Jyri Sarha 2014-10-01 20:03 ` Benoît Thébaudeau 0 siblings, 1 reply; 3+ messages in thread From: Jyri Sarha @ 2014-10-01 7:47 UTC (permalink / raw) To: linux-arm-kernel On 09/30/2014 09:37 PM, Alexandre Belloni wrote: > Hi, > > I'm trying to add support for the tlv320aic3104a present on a > custom board using an am335x. > > I see that Benoit seemed to have been successful when using the > tlv320aic3x driver with minor modifications. > http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058966.html > > On the other hand, in the past, I've used a tlv320aic3100 with the > tlv320aic31xx driver. > > My plan for now is to use the tlv320aic3x driver with snd-soc-evm as > this is the one it is using (it is using .codec_dai_name = > "tlv320aic3x-hifi"). > > I had no luck until now but I still have to review my pinmuxing. But > before I investigate to much, can you confirm what codecs are supported > by which driver? I'm pretty sure that would be a nice addition to the > documentation too. > 0 Hi Alexandre, Based on a brief look at the data sheet I am afraid you will not have any luck using tlv320aic3x driver with tlv320aic3104. tlv320aic31xx is a better match, but sill not close enough. Based on the register map you may have a change to get the codec working using tlv320aic32x4 driver. At least the register map appears to be a pretty good match. However, I have no experience either with the driver or the codec. Best regards, Jyri ^ permalink raw reply [flat|nested] 3+ messages in thread
* Differences between tlv320aic3x and tlv320aic31xx 2014-10-01 7:47 ` Jyri Sarha @ 2014-10-01 20:03 ` Benoît Thébaudeau 0 siblings, 0 replies; 3+ messages in thread From: Benoît Thébaudeau @ 2014-10-01 20:03 UTC (permalink / raw) To: linux-arm-kernel Hi Alexandre, Jyri, On Wed, Oct 1, 2014 at 9:47 AM, Jyri Sarha <jsarha@ti.com> wrote: > On 09/30/2014 09:37 PM, Alexandre Belloni wrote: >> >> Hi, >> >> I'm trying to add support for the tlv320aic3104a present on a >> custom board using an am335x. >> >> I see that Benoit seemed to have been successful when using the >> tlv320aic3x driver with minor modifications. >> >> http://mailman.alsa-project.org/pipermail/alsa-devel/2013-January/058966.html >> >> On the other hand, in the past, I've used a tlv320aic3100 with the >> tlv320aic31xx driver. >> >> My plan for now is to use the tlv320aic3x driver with snd-soc-evm as >> this is the one it is using (it is using .codec_dai_name = >> "tlv320aic3x-hifi"). >> >> I had no luck until now but I still have to review my pinmuxing. But >> before I investigate to much, can you confirm what codecs are supported >> by which driver? I'm pretty sure that would be a nice addition to the >> documentation too. >> 0 > > > Hi Alexandre, > Based on a brief look at the data sheet I am afraid you will not have any > luck using tlv320aic3x driver with tlv320aic3104. tlv320aic31xx is a better > match, but sill not close enough. > > Based on the register map you may have a change to get the codec working > using tlv320aic32x4 driver. At least the register map appears to be a pretty > good match. However, I have no experience either with the driver or the > codec. I've seen that the tlv320aic31xx driver has been available for some time now, but I've not yet looked into it. However, the tlv320aic3x driver works pretty well with the tlv320aic3104 (at least, it did at the time of my post that you referred to). I've used it connected to a Freescale i.MX25 through I?S. IIRC, the register map of the tlv320aic3104 is just a subset of what this driver provides (apart from the unimplemented register page, which I had added support for locally, but I have not sent my patches yet), and there is some renaming, especially for the I/Os (see the comment in the header of this driver). I had also improved some audio controls, but I'm not sure if this was required for the tlv320aic3104, or if it was just an improvement also applicable to other CODECs supported by this driver. I agree that some clarification would be required ergarding the aic31xx CODECs those two drivers support. It may also be possible to merge the 31xx driver into the 3x one. Best regards, Beno?t ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-01 20:03 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-09-30 18:37 Differences between tlv320aic3x and tlv320aic31xx Alexandre Belloni 2014-10-01 7:47 ` Jyri Sarha 2014-10-01 20:03 ` Benoît Thébaudeau
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).