<?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のトピックPorting tfa9879 audio codec to Rpi3 modelB</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Porting-tfa9879-audio-codec-to-Rpi3-modelB/m-p/638404#M97335</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt;I have to use I2s to interface Rpi3 with codec tfa9879.&lt;BR /&gt;So we have 6 input for this codec&lt;BR /&gt; i) Rpi_PCM_FS (GPO_19_PCM_FS)&lt;BR /&gt;ii) Rpi_PCM_SCLK (GPIO_18_PCM_SCLK)&lt;BR /&gt;iii) Rpi_PCM_DOUT (GPIO_21_PCM-DOUT)&lt;BR /&gt;iv)Rpi_SCL (GPIO_03_SCL)&lt;BR /&gt;v) Rpi_SDA (GPIO_02_SDA)&lt;BR /&gt;vi)Rpi_ADSEL2 (GPIO_13)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got kernel source code with&lt;BR /&gt;$ git clone --depth=1 &lt;A class="" href="https://github.com/raspberrypi/linux"&gt;https://github.com/raspberrypi/linux&lt;/A&gt;&lt;BR /&gt;and using replace default kernel of raspian jessie with this compiled kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for I2s interface, I'm confused in linux driver part.&lt;BR /&gt;In path "linux/sound/soc/bcm " we have many platform drivers for audio codec but I'm not getting any I2s driver related to tfa9879 while codec driver is available in path "linux/sound/soc/codecs/tfa9879.c"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to add anything in dts file?&lt;BR /&gt;How about I2c interface for this codec? or will codec driver take care of i2c interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm following the same steps to cross-compile the kernel given in &lt;BR /&gt;&lt;A class="" href="https://www.raspberrypi.org/documentation/linux/kernel/building.md"&gt;&lt;/A&gt;&lt;A href="https://www.raspberrypi.org/documentati" target="test_blank"&gt;https://www.raspberrypi.org/documentati&lt;/A&gt; ... uilding.md for Rpi3 model B(processor bcm2837).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Hardik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Mar 2017 09:05:23 GMT</pubDate>
    <dc:creator>hardikrathore</dc:creator>
    <dc:date>2017-03-31T09:05:23Z</dc:date>
    <item>
      <title>Porting tfa9879 audio codec to Rpi3 modelB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Porting-tfa9879-audio-codec-to-Rpi3-modelB/m-p/638404#M97335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt;I have to use I2s to interface Rpi3 with codec tfa9879.&lt;BR /&gt;So we have 6 input for this codec&lt;BR /&gt; i) Rpi_PCM_FS (GPO_19_PCM_FS)&lt;BR /&gt;ii) Rpi_PCM_SCLK (GPIO_18_PCM_SCLK)&lt;BR /&gt;iii) Rpi_PCM_DOUT (GPIO_21_PCM-DOUT)&lt;BR /&gt;iv)Rpi_SCL (GPIO_03_SCL)&lt;BR /&gt;v) Rpi_SDA (GPIO_02_SDA)&lt;BR /&gt;vi)Rpi_ADSEL2 (GPIO_13)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got kernel source code with&lt;BR /&gt;$ git clone --depth=1 &lt;A class="" href="https://github.com/raspberrypi/linux"&gt;https://github.com/raspberrypi/linux&lt;/A&gt;&lt;BR /&gt;and using replace default kernel of raspian jessie with this compiled kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for I2s interface, I'm confused in linux driver part.&lt;BR /&gt;In path "linux/sound/soc/bcm " we have many platform drivers for audio codec but I'm not getting any I2s driver related to tfa9879 while codec driver is available in path "linux/sound/soc/codecs/tfa9879.c"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do i need to add anything in dts file?&lt;BR /&gt;How about I2c interface for this codec? or will codec driver take care of i2c interface?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm following the same steps to cross-compile the kernel given in &lt;BR /&gt;&lt;A class="" href="https://www.raspberrypi.org/documentation/linux/kernel/building.md"&gt;&lt;/A&gt;&lt;A href="https://www.raspberrypi.org/documentati" target="test_blank"&gt;https://www.raspberrypi.org/documentati&lt;/A&gt; ... uilding.md for Rpi3 model B(processor bcm2837).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Hardik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 09:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Porting-tfa9879-audio-codec-to-Rpi3-modelB/m-p/638404#M97335</guid>
      <dc:creator>hardikrathore</dc:creator>
      <dc:date>2017-03-31T09:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Porting tfa9879 audio codec to Rpi3 modelB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Porting-tfa9879-audio-codec-to-Rpi3-modelB/m-p/638405#M97336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After some online research I have come to know that i have to add dtoverlay in rpi.&lt;BR /&gt;and&amp;nbsp; i need to write machine driver also to glue platform driver and codec driver.&lt;BR /&gt;In my case : bcm2835-i2s (rasberrypi) &amp;lt;-----&amp;gt; tfa9879 (NXP)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Could somebody help me with this dts and machine driver part?&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;I need some references to write machine driver.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2017 09:58:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Porting-tfa9879-audio-codec-to-Rpi3-modelB/m-p/638405#M97336</guid>
      <dc:creator>hardikrathore</dc:creator>
      <dc:date>2017-04-04T09:58:04Z</dc:date>
    </item>
  </channel>
</rss>

