<?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 Example for invoking SAI driver in ALSA im i.Mx8Mini in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1725498#M212788</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a custom SOC ,in which the audio data is transmitted/received through the SAI component to my Audio card.&lt;/P&gt;&lt;P&gt;In i.Mx8MM evk board if i type cat /proc/asound/cards i could see the ALSA devices listed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;0 [wm8524audio ]: wm8524-audio - wm8524-audio&lt;BR /&gt;wm8524-audio&lt;BR /&gt;1 [imxspdif ]: imx-spdif - imx-spdif&lt;BR /&gt;imx-spdif&lt;BR /&gt;2 [imxaudiomicfil ]: imx-audio-micfi - imx-audio-micfil&lt;BR /&gt;imx-audio-micfil&lt;/P&gt;&lt;P&gt;&amp;nbsp;I can open these devices through the ALSA API's and tx/rx data.&lt;/P&gt;&lt;P&gt;But in my SOC I want to see my Audio card detected and listed that is getting in inputs/outputs through the SAI driver.&lt;/P&gt;&lt;P&gt;what changes do i need to make to detect my card and drive the inputs to the card through SAI driver.&lt;/P&gt;&lt;P&gt;if someone could provide me an example it would be of great help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 11:40:38 GMT</pubDate>
    <dc:creator>rajeshkorabandi</dc:creator>
    <dc:date>2023-09-19T11:40:38Z</dc:date>
    <item>
      <title>Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1725498#M212788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on a custom SOC ,in which the audio data is transmitted/received through the SAI component to my Audio card.&lt;/P&gt;&lt;P&gt;In i.Mx8MM evk board if i type cat /proc/asound/cards i could see the ALSA devices listed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;0 [wm8524audio ]: wm8524-audio - wm8524-audio&lt;BR /&gt;wm8524-audio&lt;BR /&gt;1 [imxspdif ]: imx-spdif - imx-spdif&lt;BR /&gt;imx-spdif&lt;BR /&gt;2 [imxaudiomicfil ]: imx-audio-micfi - imx-audio-micfil&lt;BR /&gt;imx-audio-micfil&lt;/P&gt;&lt;P&gt;&amp;nbsp;I can open these devices through the ALSA API's and tx/rx data.&lt;/P&gt;&lt;P&gt;But in my SOC I want to see my Audio card detected and listed that is getting in inputs/outputs through the SAI driver.&lt;/P&gt;&lt;P&gt;what changes do i need to make to detect my card and drive the inputs to the card through SAI driver.&lt;/P&gt;&lt;P&gt;if someone could provide me an example it would be of great help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 11:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1725498#M212788</guid>
      <dc:creator>rajeshkorabandi</dc:creator>
      <dc:date>2023-09-19T11:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1725703#M212806</link>
      <description>&lt;P&gt;Hello, I hope you are doing well.&lt;/P&gt;
&lt;P&gt;If your sound card is working as expected, you should be able to see it using the command:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;aplay -l&lt;/LI-CODE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;arecord -l&lt;/LI-CODE&gt;
&lt;P&gt;When the sound card is correctly configured and declared on device tree should be enough to see your device on the list.&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 18:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1725703#M212806</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2023-09-19T18:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1726074#M212849</link>
      <description>&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;Thanks for your reply. Could you please elaborate on your statement "When the sound card is correctly configured and declared on device tree should be enough to see your device on the list".&lt;/P&gt;&lt;P&gt;what are the changes that i would have to make in the device tree. is there any documentation that i could refer to make the necessary changes?&lt;/P&gt;&lt;P&gt;in imx8mm EVK dts file i see the following instantiation of the wm8524 sound card.&lt;/P&gt;&lt;P&gt;do i have to add similar information for my card?&lt;/P&gt;&lt;P&gt;sound-wm8524 {&lt;BR /&gt;compatible = "fsl,imx-audio-wm8524";&lt;BR /&gt;model = "wm8524-audio";&lt;BR /&gt;audio-cpu = &amp;lt;&amp;amp;sai3&amp;gt;;&lt;BR /&gt;audio-codec = &amp;lt;&amp;amp;wm8524&amp;gt;;&lt;BR /&gt;audio-routing =&lt;BR /&gt;"Line Out Jack", "LINEVOUTL",&lt;BR /&gt;"Line Out Jack", "LINEVOUTR";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;what does the following line represents. does it mean the soundcard wm8524 is using the SAI driver for audio data transfer?&lt;/P&gt;&lt;P&gt;audio-cpu = &amp;lt;&amp;amp;sai3&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 08:08:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1726074#M212849</guid>
      <dc:creator>rajeshkorabandi</dc:creator>
      <dc:date>2023-09-20T08:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1726496#M212891</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I apologize if I was not clear, on that statement I was referring that you are able to play and record audio with the sound card.&lt;/P&gt;
&lt;P&gt;If you need more information related with the documentation on device tree, I suggest you check the &lt;A href="https://www.nxp.com/docs/en/user-guide/IMX_PORTING_GUIDE.pdf?_gl=1*1r0r9gf*_ga*MTIyMTI0MDIwMC4xNjkwODE4NDc5*_ga_WM5LE0KMSH*MTY5MDgyNjIxMy4yLjAuMTY5MDgyNjIxMy4wLjAuMA" target="_self"&gt;i.MX Porting Guide&lt;/A&gt; on section 16 "Porting Audio Codecs".&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 18:39:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1726496#M212891</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2023-09-20T18:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1732799#M213470</link>
      <description>&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;Thanks for the information. Please help me understand the follow up question.&lt;/P&gt;&lt;P&gt;In i.mx8mini evk board we have a sound card(&lt;STRONG&gt;wm8524-audio)&lt;/STRONG&gt; that gets detected by the ALSA -&lt;/P&gt;&lt;P&gt;root@device-05fa4c:~# aplay -l&lt;/P&gt;&lt;P&gt;**** List of PLAYBACK Hardware Devices ****&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;card 0: wm8524audio [wm8524-audio], device 0: HiFi wm8524-hifi-0 []&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevices: 1/1&lt;/P&gt;&lt;P&gt;&amp;nbsp; Subdevice #0: subdevice #0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The node for the &lt;STRONG&gt;wm8524-audio &lt;/STRONG&gt;is present in the dts file(fsl-imx8mm-evk-emmc.dts)&lt;/P&gt;&lt;P&gt;Here the audio-cpu is mentioned as sai3 interface as highlighted below.&lt;/P&gt;&lt;P&gt;wm8524: wm8524 {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "wlf,wm8524";&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; clocks = &amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_ROOT&amp;gt;;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wlf,mute-gpios = &amp;lt;&amp;amp;gpio5 21 GPIO_ACTIVE_LOW&amp;gt;;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; sound-wm8524 {&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "fsl,imx-audio-wm8524";&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model = "wm8524-audio";&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio-cpu = &amp;lt;&amp;amp;sai3&amp;gt;;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio-codec = &amp;lt;&amp;amp;wm8524&amp;gt;;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; audio-routing =&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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", "LINEVOUTL",&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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", "LINEVOUTR";&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that Audio going to the Lineout in EVK is through the sai3 interface?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 22:23:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1732799#M213470</guid>
      <dc:creator>rajeshkorabandi</dc:creator>
      <dc:date>2023-10-02T22:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1733251#M213517</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Yes, that is correct.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge7u7_0-1696349988572.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243495iD6EC1797B3AD75E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jorge7u7_0-1696349988572.png" alt="Jorge7u7_0-1696349988572.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Jorge7u7_0-1696349988572.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 16:20:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1733251#M213517</guid>
      <dc:creator>JorgeCas</dc:creator>
      <dc:date>2023-10-03T16:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1801768#M219641</link>
      <description>&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;need a help understanding clocks. As you&amp;nbsp; mentioned in the diagram that you have shared MCLK is the clock that is set on wm8524 codec.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;dts file sai3 interface:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;sai3: sai@30030000 {&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai", "fsl,imx6sx-sai";&lt;BR /&gt;reg = &amp;lt;0x0 0x30030000 0x0 0x10000&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_IPG&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_ROOT&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;, &amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;;&lt;BR /&gt;clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";&lt;BR /&gt;dmas = &amp;lt;&amp;amp;sdma2 4 2 0&amp;gt;, &amp;lt;&amp;amp;sdma2 5 2 0&amp;gt;;&lt;BR /&gt;dma-names = "rx", "tx";&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;as i see in the dts file the clock is defined as.&lt;/P&gt;&lt;P&gt;clocks = &amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_IPG&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_ROOT&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;, &amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;;&lt;BR /&gt;clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to define these clocks?&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_ROOT&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_DUMMY&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;amp;clk IMX8MM_CLK_SAI3_IPG&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 09:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1801768#M219641</guid>
      <dc:creator>rajeshkorabandi</dc:creator>
      <dc:date>2024-02-05T09:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Example for invoking SAI driver in ALSA im i.Mx8Mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1801844#M219647</link>
      <description>&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please clarify this point as well.&lt;/P&gt;&lt;P&gt;when we define&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:clock@0" target="_blank"&gt;clock@0 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:clock@1" target="_blank"&gt;clock@1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:clock@2" target="_blank"&gt;clock@2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in the definition file ,what is the clock source device we are referring to in the dts file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;dts file clock definitions:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;clocks {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;/P&gt;&lt;P&gt;osc_32k: clock@0 {&lt;BR /&gt;compatible = "fixed-clock";&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;#clock-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;clock-frequency = &amp;lt;32768&amp;gt;;&lt;BR /&gt;clock-output-names = "osc_32k";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;osc_24m: clock@1 {&lt;BR /&gt;compatible = "fixed-clock";&lt;BR /&gt;reg = &amp;lt;1&amp;gt;;&lt;BR /&gt;#clock-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;clock-frequency = &amp;lt;24000000&amp;gt;;&lt;BR /&gt;clock-output-names = "osc_24m";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;clk_ext1: clock@2 {&lt;BR /&gt;compatible = "fixed-clock";&lt;BR /&gt;reg = &amp;lt;3&amp;gt;;&lt;BR /&gt;#clock-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;clock-frequency = &amp;lt;133000000&amp;gt;;&lt;BR /&gt;clock-output-names = "clk_ext1";&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 10:59:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Example-for-invoking-SAI-driver-in-ALSA-im-i-Mx8Mini/m-p/1801844#M219647</guid>
      <dc:creator>rajeshkorabandi</dc:creator>
      <dc:date>2024-02-05T10:59:56Z</dc:date>
    </item>
  </channel>
</rss>

