<?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: i.MX93-evk usdhc2 SDIO support in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1714584#M211770</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have sent a private mail.&lt;/P&gt;
&lt;P&gt;Also have a reference here.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 03:01:03 GMT</pubDate>
    <dc:creator>JosephAtNXP</dc:creator>
    <dc:date>2023-08-31T03:01:03Z</dc:date>
    <item>
      <title>i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1698821#M210241</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I enable SDIO support for usdhc2?&lt;/P&gt;&lt;P&gt;I tried the following change in the dts file but it did not work.&lt;/P&gt;&lt;P&gt;diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts&lt;BR /&gt;index 13e9e844d8fe..203fec7d2b5f 100644&lt;BR /&gt;--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts&lt;BR /&gt;+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts&lt;BR /&gt;@@ -741,8 +741,8 @@ &amp;amp;usdhc2 {&lt;BR /&gt;vmmc-supply = &amp;lt;&amp;amp;reg_usdhc2_vmmc&amp;gt;;&lt;BR /&gt;bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;- no-sdio;&lt;BR /&gt;no-mmc;&lt;BR /&gt;+ cap-sdio-irq;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 17:38:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1698821#M210241</guid>
      <dc:creator>pradeep2481</dc:creator>
      <dc:date>2023-08-03T17:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1699790#M210359</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;Are you working on a custom board? Have you double check that pins don't conflict?&lt;/P&gt;
&lt;P&gt;What do debug messages log?&lt;/P&gt;
&lt;P&gt;You can have a start with this &lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Enabling-uSDHC1-of-i-MX8MM-Based-On-L5-4-24-2-1-0-BSP/ta-p/1190668" target="_self"&gt;document&lt;/A&gt; that brings up from start.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 02:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1699790#M210359</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-08-07T02:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1700075#M210391</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It is not a custom board. It is the &lt;SPAN&gt;i.MX 93 EVK (for 11x11mm sample) &lt;/SPAN&gt;from NXP (&amp;nbsp;&lt;A href="https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-93-evaluation-kit:i.MX93EVK" target="_blank"&gt;https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/i-mx-93-evaluation-kit:i.MX93EVK&lt;/A&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to use SD card with usdhc2 and it works fine. But the SDIO is not getting detected and there is no debug message.&lt;/P&gt;&lt;P&gt;From the device tree I have seen sdo is disabled for usdhc2 (the line "no-sdio;"). So I have tried with the patch mentioned in the post but it didn't work.&lt;/P&gt;&lt;P&gt;Does sdio is disabled for usdhc2 from an hardware point of view? Or just it can be enabled by changing the device tree?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 09:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1700075#M210391</guid>
      <dc:creator>pradeep2481</dc:creator>
      <dc:date>2023-08-07T09:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1700088#M210393</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;It is not a custom board. It is the &lt;SPAN&gt;i.MX 93 EVK (for 11x11mm sample) &lt;/SPAN&gt;from NXP&lt;/P&gt;&lt;P&gt;I am able to use SD card with usdhc2 and it works fine. But the SDIO is not getting detected and there is no debug message.&lt;/P&gt;&lt;P&gt;From the device tree I have seen sdo is disabled for usdhc2 (the line "no-sdio;"). So I have tried with the patch mentioned in the post but it didn't work.&lt;/P&gt;&lt;P&gt;Does sdio is disabled for usdhc2 from an hardware point of view? Or just it can be enabled by changing the device tree?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 09:23:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1700088#M210393</guid>
      <dc:creator>pradeep2481</dc:creator>
      <dc:date>2023-08-07T09:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1702393#M210546</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please provide the&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cat /sys/kernel/debug/soc@0/path-to-mmc/&lt;/LI-CODE&gt;
&lt;P&gt;To see if there is the property was disabled or not.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 20:56:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1702393#M210546</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-08-09T20:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1702816#M210578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your message.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not get exactly what you mean &lt;A href="mailto:soc@0" target="_blank" rel="noopener"&gt;soc@0&lt;/A&gt;. I did not find it under /sys/kernel/debug.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that mmc0 used for internal flash memory, mmc2 is the M.2 SDIO and mmc1 is MicroSD. I checked M.2 SDIO and it is working fine. Issue is with the MicroSD interface for SDIO.&lt;/P&gt;&lt;P&gt;Please find the mmc1 (usdhc2) information as below.&lt;/P&gt;&lt;P&gt;root@imx93evk:~# cat /sys/kernel/debug/mmc1/&lt;BR /&gt;caps caps2 clock ios&lt;BR /&gt;root@imx93evk:~# cat /sys/kernel/debug/mmc1/caps&lt;BR /&gt;0x501f180f&lt;BR /&gt;root@imx93evk:~# cat /sys/kernel/debug/mmc1/caps2&lt;BR /&gt;0x005a8020&lt;BR /&gt;root@imx93evk:~# cat /sys/kernel/debug/mmc1/clock&lt;BR /&gt;0&lt;BR /&gt;root@imx93evk:~# cat /sys/kernel/debug/mmc1/ios&lt;BR /&gt;clock: 0 Hz&lt;BR /&gt;vdd: 0 (invalid)&lt;BR /&gt;bus mode: 2 (push-pull)&lt;BR /&gt;chip select: 0 (don't care)&lt;BR /&gt;power mode: 0 (off)&lt;BR /&gt;bus width: 0 (1 bits)&lt;BR /&gt;timing spec: 0 (legacy)&lt;BR /&gt;signal voltage: 0 (3.30 V)&lt;BR /&gt;driver type: 0 (driver type B)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/&lt;BR /&gt;driver/ of_node/ supplier:platform:44450000.clock-controller/&lt;BR /&gt;driver_override power/ supplier:platform:regulator-usdhc2/&lt;BR /&gt;leds/ subsystem/ supplier:regulator:regulator.2/&lt;BR /&gt;mmc_host/ supplier:platform:43820080.gpio/ uevent&lt;BR /&gt;modalias supplier:platform:443c0000.pinctrl/&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:443c0000.pinctrl/&lt;BR /&gt;auto_remove_on consumer/ runtime_pm status subsystem/ supplier/ sync_state_only uevent&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:443c0000.pinctrl/status&lt;BR /&gt;active&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:44450000.clock-controller/&lt;BR /&gt;auto_remove_on consumer/ runtime_pm status subsystem/ supplier/ sync_state_only uevent&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:44450000.clock-controller/status&lt;BR /&gt;active&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:regulator-usdhc2/s&lt;BR /&gt;status subsystem/ supplier/ sync_state_only&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:regulator-usdhc2/&lt;BR /&gt;auto_remove_on consumer/ runtime_pm status subsystem/ supplier/ sync_state_only uevent&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:platform\:regulator-usdhc2/status&lt;BR /&gt;active&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:regulator\:regulator.2/&lt;BR /&gt;auto_remove_on consumer/ runtime_pm status subsystem/ supplier/ sync_state_only uevent&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/supplier\:regulator\:regulator.2/status&lt;BR /&gt;not tracked&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/power/&lt;BR /&gt;autosuspend_delay_ms control runtime_active_time runtime_status runtime_suspended_time&lt;BR /&gt;root@imx93evk:~# cat /sys/class/mmc_host/mmc1/device/power/control&lt;BR /&gt;auto&lt;BR /&gt;root@imx93evk:~#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 09:18:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1702816#M210578</guid>
      <dc:creator>pradeep2481</dc:creator>
      <dc:date>2023-08-10T09:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1705155#M210837</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry for the late reply,&lt;/P&gt;
&lt;P&gt;I haven't had a board to try that with for some time and I cannot provide you the exact path but hang on a little, I am trying to verify in linux that the patch was applied correctly, you can maybe based on the PDF attached &lt;STRONG&gt;Modify Linux Device Tree at U-Boot Runtime.pdf&lt;/STRONG&gt; see if the property was enabled or not.&lt;/P&gt;
&lt;P&gt;But most likely it is and you need to modify the kernel support for the module, check &lt;STRONG&gt;AN5414 &lt;SPAN class="fontstyle0"&gt;Enabling SDIO Wi-Fi on&lt;/SPAN&gt; LS1012ARDB&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 18:18:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1705155#M210837</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-08-15T18:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1712456#M211583</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I am working on a module based on NXP chipset AW611.&lt;/P&gt;&lt;P&gt;I have already tried after changing&amp;nbsp; the device tree like below , but the sdio is still not getting enabled.&lt;/P&gt;&lt;P&gt;diff --git a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts&lt;BR /&gt;index 13e9e844d8fe..76dd13e5da37 100644&lt;BR /&gt;--- a/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts&lt;BR /&gt;+++ b/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts&lt;BR /&gt;@@ -737,12 +737,9 @@ &amp;amp;usdhc2 {&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usdhc2&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;&lt;BR /&gt;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_usdhc2&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;&lt;BR /&gt;pinctrl-2 = &amp;lt;&amp;amp;pinctrl_usdhc2&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;&lt;BR /&gt;- cd-gpios = &amp;lt;&amp;amp;gpio3 00 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;vmmc-supply = &amp;lt;&amp;amp;reg_usdhc2_vmmc&amp;gt;;&lt;BR /&gt;bus-width = &amp;lt;4&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;- no-sdio;&lt;BR /&gt;- no-mmc;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&amp;amp;usdhc3 {&lt;BR /&gt;@@ -880,7 +877,7 @@ MX93_PAD_SD2_RESET_B__GPIO3_IO07 0x31e&lt;BR /&gt;&lt;BR /&gt;pinctrl_usdhc2_gpio: usdhc2gpiogrp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;- MX93_PAD_SD2_CD_B__GPIO3_IO00 0x31e&lt;BR /&gt;+ MX93_PAD_SD2_CD_B__USDHC2_CD_B 0x31e&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Does sdio is disabled for usdhc2 from an hardware point of view?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Where can I find the&amp;nbsp;&lt;A title="" href="https://support.nxp.com/s/case/5002p00002vTHasAAG/detail" target="_blank" rel="noopener noreferrer"&gt;&amp;nbsp;i.mx93 evk Schematics?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 14:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1712456#M211583</guid>
      <dc:creator>pradeep2481</dc:creator>
      <dc:date>2023-08-28T14:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1714584#M211770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have sent a private mail.&lt;/P&gt;
&lt;P&gt;Also have a reference here.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 03:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1714584#M211770</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2023-08-31T03:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1870059#M224028</link>
      <description>&lt;P&gt;I'm having a similar issue.&amp;nbsp; Were you ever able to find the correct dts settings?&lt;/P&gt;&lt;P&gt;I was told in another support channel &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;the following example for i.MX8MM can be used for reference. &lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mm-evk-usd-wifi.dts" target="_blank" rel="noopener"&gt;https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mm-evk-usd-wifi.dts&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;but i'm unsure if that means to use the same hex values, different prefixes, or use the same thing with just MX93_ as the prefix...&lt;/P&gt;&lt;P&gt;or, is it just a matter of setting:&lt;/P&gt;&lt;P&gt;&amp;amp;usdhc2 {&lt;BR /&gt;keep-power-in-suspend;&lt;BR /&gt;no-1-8-v;&lt;BR /&gt;non-removable;&lt;BR /&gt;wakeup-source;&lt;BR /&gt;fsl,sdio-async-interrupt-enabled;&lt;BR /&gt;};&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 22:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1870059#M224028</guid>
      <dc:creator>rtwheato</dc:creator>
      <dc:date>2024-05-21T22:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX93-evk usdhc2 SDIO support</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1892220#M225347</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;NXP confirmed that i.MX93-evk doesn't support SDIO using usdhc2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Pradeep&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 15:03:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX93-evk-usdhc2-SDIO-support/m-p/1892220#M225347</guid>
      <dc:creator>pradeep2481</dc:creator>
      <dc:date>2024-06-21T15:03:08Z</dc:date>
    </item>
  </channel>
</rss>

