<?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>topic Re: ASoC help needed - Only Left channel receives data in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1409853#M186702</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177867"&gt;@carotte&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are correct basically this driver of the Audio Codec seems generic nevertheless, it is needed to validate the Device Tree, if there is something missing , like in the SAI or in the AUDMUX,&amp;nbsp; do you think you can share the DTS file and the version of BSP that you are using or Linux Kernel that you are using of the i.MX6ULL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 07 Feb 2022 22:28:44 GMT</pubDate>
    <dc:creator>jamesbone</dc:creator>
    <dc:date>2022-02-07T22:28:44Z</dc:date>
    <item>
      <title>ASoC help needed - Only Left channel receives data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1405110#M186332</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to use a WM8804 codec with the i.MX6ULL processor.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is no existing ASoC machine driver for this chip - however there is one for Raspberry Pi.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/raspberrypi/linux/blob/rpi-5.4.y/sound/soc/bcm/rpi-wm8804-soundcard.c" target="_blank" rel="noopener"&gt;https://github.com/raspberrypi/linux/blob/rpi-5.4.y/sound/soc/bcm/rpi-wm8804-soundcard.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I know that these drivers are machine specific, but from my limited understanding, it looks fairly generic to me.&lt;/P&gt;&lt;P&gt;I tried using it as-is with only the necessary device tree modifications.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This actually resulted in some success - the driver is working as expected, but only on one channel.&lt;/P&gt;&lt;P&gt;The left channel produces valid audio data.&amp;nbsp;The right channel however, does not.&lt;/P&gt;&lt;P&gt;The codec is BCLK and LRCK master. These clocks are generated successfully. The SoC sends data, but as mentioned, only for one channel - as can be seen in the screenshot attached below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2022-01-25 at 23.48.27.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/168882i0C55AA0A039934E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2022-01-25 at 23.48.27.png" alt="Screenshot 2022-01-25 at 23.48.27.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The boot messages imply no problems.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[ 2.407066] debugfs: Directory '2030000.sai' with parent 'snd_allo_digione' already present!&lt;BR /&gt;[ 2.416606] snd-rpi-wm8804 sound-wm8804: wm8804-spdif &amp;lt;-&amp;gt; 2030000.sai mapping ok&lt;BR /&gt;[ 2.426440] ALSA device list:&lt;BR /&gt;[ 2.429439] #0: snd_allo_digione&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However, I suspect that there is some problem with the dai-link, since none is show with "aplay -l"&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;**** List of PLAYBACK Hardware Devices ****&lt;BR /&gt;card 0: sndallodigione [snd_allo_digione], device 0: Allo DigiOne HiFi wm8804-spdif-0 []&lt;BR /&gt;Subdevices: 1/1&lt;BR /&gt;Subdevice #0: subdevice #0&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The brackets behind wm8804-spdif-0 probably shouldn't be empty.&lt;/P&gt;&lt;P&gt;I can't imagine there being a vast problem, because one channel already works. So do the other features of this driver such as the selection of external oscillators via GPIO.&lt;/P&gt;&lt;P&gt;Any help or pointers would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 11:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1405110#M186332</guid>
      <dc:creator>carotte</dc:creator>
      <dc:date>2022-01-26T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: ASoC help needed - Only Left channel receives data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1409853#M186702</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177867"&gt;@carotte&lt;/a&gt; ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are correct basically this driver of the Audio Codec seems generic nevertheless, it is needed to validate the Device Tree, if there is something missing , like in the SAI or in the AUDMUX,&amp;nbsp; do you think you can share the DTS file and the version of BSP that you are using or Linux Kernel that you are using of the i.MX6ULL&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 22:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1409853#M186702</guid>
      <dc:creator>jamesbone</dc:creator>
      <dc:date>2022-02-07T22:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: ASoC help needed - Only Left channel receives data</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1409964#M186724</link>
      <description>&lt;P&gt;Thanks a lot for your reply !&lt;/P&gt;&lt;P&gt;I have attached the DTS file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using the 5.4.70_2.3.0 BSP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 03:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ASoC-help-needed-Only-Left-channel-receives-data/m-p/1409964#M186724</guid>
      <dc:creator>carotte</dc:creator>
      <dc:date>2022-02-08T03:52:31Z</dc:date>
    </item>
  </channel>
</rss>

