<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: imx6 - tlv320aic32x4 codec no data on I2S port</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429184#M65228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Benoit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; can you give me a copy of this driver(for tlv320aic32x4)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Sep 2016 08:36:38 GMT</pubDate>
    <dc:creator>linzhang</dc:creator>
    <dc:date>2016-09-30T08:36:38Z</dc:date>
    <item>
      <title>imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429177#M65221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a custom board with an imx6d processor and a tlv320aic3204 codec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The codec is connected on the AUD4 port and the mclk comes from GPIO0 at 24MHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The codec is detected and the ssi maping seems fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx-aic32x4 sound.18:&amp;nbsp; tlv320aic32x4-hifi &amp;lt;-&amp;gt; 202c000.ssi mapping ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALSA device list:&lt;/P&gt;&lt;P&gt;&amp;nbsp; #0: tlv320aic32x4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my device tree entry for the sound card:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; sound {&lt;/P&gt;&lt;P&gt;&amp;nbsp; compatible = "fsl,imx-audio-aic32x4";&lt;/P&gt;&lt;P&gt;&amp;nbsp; model = "tlv320aic32x4";&lt;/P&gt;&lt;P&gt;&amp;nbsp; audio-codec = &amp;lt;&amp;amp;codec&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ssi-controller = &amp;lt;&amp;amp;ssi1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; audio-routing =&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Line Out Jack", "LOL",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Line Out Jack, "LOR",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Headphone Jack, "HPL",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Headphone Jack, "HPR";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mux-ext-port = &amp;lt;4&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; mux-int-port = &amp;lt;1&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;ssi1 {&lt;/P&gt;&lt;P&gt;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... --- ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; codec: tlv320aic32x4@18 {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "ti,tlv320aic32x4";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &amp;lt;0x18&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clocks = &amp;lt;&amp;amp;clks 201&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clock-names = "mclk";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gpio-reset = &amp;lt;&amp;amp;gpio5 12 0&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "okay";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I play with alsamixer, I can see I2C data on the port with the scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see data on the AUD4 pins, only the Mclk is always present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use aplay, I get this message after 13s waiting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aplay: pcm_write:1947: write error: Input/output error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a machine driver for the tlv320aic32x4 based on the sgtl5000 one...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use the 3.10.17 kernel on poky-dizzy and the meta-fsl-arm layer in dizzy too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 21:16:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429177#M65221</guid>
      <dc:creator>benoitmoffet</dc:creator>
      <dc:date>2015-11-19T21:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429178#M65222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benoit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at linux-imx_3.10.17_1.0.2_ga-imx-tlv320aic23.patch&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/323017"&gt;How to enable TLV320 on IMX6Q?&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 08:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429178#M65222</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-11-20T08:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429179#M65223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have looked at it and it's seems that what I have done so far matches those information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is something missing, probably something obvious...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All drivers are loaded, the codec one, the platform one (fsl_ssi) and the machine one (imx-aic32x4) but no data on the I2S port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 15:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429179#M65223</guid>
      <dc:creator>benoitmoffet</dc:creator>
      <dc:date>2015-11-20T15:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429180#M65224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To add details to the problem, I put traces in the fsl_ssi driver. I can see that each time I call an aplay or a speaker test the stream is created and the transfer is started. But there is no activity of sdma and ssi in /proc/interrupt...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am very close... but there is something important missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 19:16:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429180#M65224</guid>
      <dc:creator>benoitmoffet</dc:creator>
      <dc:date>2015-11-25T19:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429181#M65225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I finally managed to fix the issue. Since the driver now supports device tree, a parameter was kept uninitialized... pwr_config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just setting pwr_config with a good value solved the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 16:11:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429181#M65225</guid>
      <dc:creator>benoitmoffet</dc:creator>
      <dc:date>2015-12-02T16:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429182#M65226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benoit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I face a similar issue with another SoM, but I did not found any "pwr_config" parameter in any driver.&lt;/P&gt;&lt;P&gt;Where does this property come from ?&lt;/P&gt;&lt;P&gt;What does it represent and what value do you use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Miquel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429182#M65226</guid>
      <dc:creator>kesaco</dc:creator>
      <dc:date>2016-02-29T13:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429183#M65227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miquel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It comes from the tlv320aic32x4.c driver. Under the parse_dt function. I&lt;/P&gt;&lt;P&gt;have a patched version of the driver that use device tree, so it is maybe&lt;/P&gt;&lt;P&gt;why you did not see that parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aic32x4-&amp;gt;power_cfg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In fact you just have to be sure that your driver enables the internal LDO&lt;/P&gt;&lt;P&gt;of the codec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;snd_soc_write(codec, AIC32X4_LDOCTL, AIC32X4_LDOCTLEN);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benoit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2016-02-29 8:11 GMT-05:00 kesaco &amp;lt;admin@community.freescale.com&amp;gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;NXP Community&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg&amp;gt;&lt;/P&gt;&lt;P&gt;imx6 - tlv320aic32x4 codec no data on I2S port&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reply from Miquèl Raynal&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/people/kesaco?et=watches.email.thread&amp;gt;&lt;/P&gt;&lt;P&gt;in &lt;STRONG&gt;i.MX Community&lt;/STRONG&gt; - View the full discussion&lt;/P&gt;&lt;P&gt;&amp;lt;https://community.freescale.com/message/619562?et=watches.email.thread#619562&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 13:22:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429183#M65227</guid>
      <dc:creator>benoitmoffet</dc:creator>
      <dc:date>2016-02-29T13:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 - tlv320aic32x4 codec no data on I2S port</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429184#M65228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Benoit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; can you give me a copy of this driver(for tlv320aic32x4)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Sep 2016 08:36:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-tlv320aic32x4-codec-no-data-on-I2S-port/m-p/429184#M65228</guid>
      <dc:creator>linzhang</dc:creator>
      <dc:date>2016-09-30T08:36:38Z</dc:date>
    </item>
  </channel>
</rss>

