<?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のトピックRegistering a new Codec</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Registering-a-new-Codec/m-p/203917#M11503</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to connect a SABRE Tablet to another platform via UART4 and PCM data (using the ESAI port). I have modified the board to add the wires I need for the interconnect and made the necessary changes for the UART. I’m trying to set up the other board as a new codec and running into problems. Initially I just want to set up the system for the new board without actually having it connected. I want to be able to see the PCM data coming out to the pins as a first step. As a starting point I’m using the cs42888 driver and machine layer files (cs42888.c and imx-3stack-cs42888.c) since that codec is connected via ESAI in the SABRE Auto platform.&amp;nbsp; The steps I’ve taken are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Configure the IOMUX for the necessary pins.&lt;/LI&gt;&lt;LI&gt;Remove support for the sgtl5000 codec.&lt;/LI&gt;&lt;LI&gt;Comment out any i2c references (since there’s nothing to talk to).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I boot the system I expect to see the cs42888 in the debug listing under “ALSA Device List” but the only device that shows up is the SPDIF device. Everything seems to run fine until I get to the platform_device_add&amp;nbsp; method in my version of imx_3stack_init. Upon the return from this method there should be a value in snd_soc_card_imx_3stack.codec, but it is null. I never get to the snd_card_register method to register the card. I’ve looked into platform_device_add and device_add methods and can’t see where there should be any further modifications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what other changes would be required to make this work?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jan 2012 04:00:20 GMT</pubDate>
    <dc:creator>ScottIngham_ng</dc:creator>
    <dc:date>2012-01-19T04:00:20Z</dc:date>
    <item>
      <title>Registering a new Codec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Registering-a-new-Codec/m-p/203917#M11503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to connect a SABRE Tablet to another platform via UART4 and PCM data (using the ESAI port). I have modified the board to add the wires I need for the interconnect and made the necessary changes for the UART. I’m trying to set up the other board as a new codec and running into problems. Initially I just want to set up the system for the new board without actually having it connected. I want to be able to see the PCM data coming out to the pins as a first step. As a starting point I’m using the cs42888 driver and machine layer files (cs42888.c and imx-3stack-cs42888.c) since that codec is connected via ESAI in the SABRE Auto platform.&amp;nbsp; The steps I’ve taken are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Configure the IOMUX for the necessary pins.&lt;/LI&gt;&lt;LI&gt;Remove support for the sgtl5000 codec.&lt;/LI&gt;&lt;LI&gt;Comment out any i2c references (since there’s nothing to talk to).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I boot the system I expect to see the cs42888 in the debug listing under “ALSA Device List” but the only device that shows up is the SPDIF device. Everything seems to run fine until I get to the platform_device_add&amp;nbsp; method in my version of imx_3stack_init. Upon the return from this method there should be a value in snd_soc_card_imx_3stack.codec, but it is null. I never get to the snd_card_register method to register the card. I’ve looked into platform_device_add and device_add methods and can’t see where there should be any further modifications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what other changes would be required to make this work?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 04:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Registering-a-new-Codec/m-p/203917#M11503</guid>
      <dc:creator>ScottIngham_ng</dc:creator>
      <dc:date>2012-01-19T04:00:20Z</dc:date>
    </item>
  </channel>
</rss>

