<?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: imx6qp, audio codec support</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536226#M85033</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor. Still many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if i understand correctly, there are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- mclk (master clock)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;- ssi bitclk (also called system clock (sysclk in linux drivers) and related ssi frame clock, both linked to sample rate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 08:36:03 GMT</pubDate>
    <dc:creator>angelo_d</dc:creator>
    <dc:date>2016-07-08T08:36:03Z</dc:date>
    <item>
      <title>imx6qp, audio codec support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536222#M85029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a wm8988 connected to imx6qp, kernel 4.1.15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Linux has the wm8988 driver, but machine driver was missing and i am setting up a simple one, based on&lt;/P&gt;&lt;P&gt;similar ASoC machine drivers.&lt;/P&gt;&lt;P&gt;I am actually trying to set imx6qp as i2s master, and codec device as slave.&lt;/P&gt;&lt;P&gt;Card is detected properly and registered, if i try some alsa "speaker-test", i am observing (by scope)&lt;/P&gt;&lt;P&gt;- i2c transfers works fine, tested writing and reading from codec rtegisters&lt;/P&gt;&lt;P&gt;- i2s BCLK, LRframe clock and samples, all driven from cpu&lt;/P&gt;&lt;P&gt;- i see also sysclk, that is sent from CPU CKO output as 24000000,&lt;/P&gt;&lt;P&gt;- i see no output at all from any of the 4 codec analogues outputs. Tried do change mixer settings, aplay, paplay, always&lt;/P&gt;&lt;P&gt;nothing in the outputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my questions actually are:&lt;/P&gt;&lt;P&gt;1) what should be the reasons in selecting the codec mode as i2s master or slave ?&lt;/P&gt;&lt;P&gt;2) Is it ok to be interfaced to the codec with imx6qp as the i2s master ?&lt;/P&gt;&lt;P&gt;3) do you have any knowledge of a similar imx machine driver for a similar codec/scenario ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 05:42:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536222#M85029</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2016-07-05T05:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: imx6qp, audio codec support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536223#M85030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. preferable option slave mode, as in that case all clock signals,&lt;/P&gt;&lt;P&gt;frame sync, bit clock, are generated by external codec and allows for more&lt;/P&gt;&lt;P&gt;stable and accurate clocks.&lt;/P&gt;&lt;P&gt;2. ok&lt;/P&gt;&lt;P&gt;3. it may be useful to check&lt;/P&gt;&lt;P&gt;&lt;A href="http://permalink.gmane.org/gmane.linux.alsa.devel/127795" title="http://permalink.gmane.org/gmane.linux.alsa.devel/127795"&gt;No sound captured with SGTL5000 on i.MX6 in I²S master mode&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>Tue, 05 Jul 2016 10:31:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536223#M85030</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-05T10:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: imx6qp, audio codec support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536224#M85031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor, thanks for excellent help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still a brief question about:&lt;/P&gt;&lt;P&gt;I am assuming sysclk supplied from imx6qp cpu to codec is needed only when codec is the master and it needs to generate bitclock and lrclk from it. Correct ? Or i need to supply still the sysclk (mclk) to the codec even when the codec is just a ssi slave ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2016 12:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536224#M85031</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2016-07-06T12:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: imx6qp, audio codec support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536225#M85032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;port SRCK is used in master and synchronous mode&lt;/P&gt;&lt;P&gt;as network clock (oversampling clock, integer multiple of frame clock).&lt;/P&gt;&lt;P&gt;In other cases its usage is optional.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 01:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536225#M85032</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-07T01:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: imx6qp, audio codec support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536226#M85033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor. Still many thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if i understand correctly, there are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- mclk (master clock)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;- ssi bitclk (also called system clock (sysclk in linux drivers) and related ssi frame clock, both linked to sample rate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 08:36:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536226#M85033</guid>
      <dc:creator>angelo_d</dc:creator>
      <dc:date>2016-07-08T08:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: imx6qp, audio codec support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536227#M85034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, right&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 11:54:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6qp-audio-codec-support/m-p/536227#M85034</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-08T11:54:27Z</dc:date>
    </item>
  </channel>
</rss>

