<?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: IMX 8m Plus do not support USB OTG in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1839950#M222090</link>
    <description>&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;It mainly depends on whether the physical interface is type-c or OTG's AB interface. If it is Type-c, then you need to refer to the development board and add a ptn5110. If it is the AB interface of OTG, then the ID pin needs to be connected to a GPIO, software&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Here you need to use a GPIO-based exton driver.&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&amp;amp;usb_dwc3_0 {&lt;BR /&gt;  dr_mode = "otg";&lt;BR /&gt;  hnp-disable;&lt;BR /&gt;  srp-disable;&lt;BR /&gt;  adp-disable;&lt;BR /&gt;  extcon = &amp;lt;&amp;amp;extcon_usb0&amp;gt;;&lt;BR /&gt;  status = "okay";&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;extcon_usb0: extcon-usb0 {&lt;BR /&gt;    compatible = "linux,extcon-usb-gpio";&lt;BR /&gt;    pinctrl-names = "default";&lt;BR /&gt;    pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usb0_extcon&amp;gt;;&lt;BR /&gt;    id-gpios = &amp;lt;&amp;amp;gpio1 3 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;  };&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;arch\arm64\boot\dts\freescale\imx8mp-msc-sm2s.dtsi&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Example of third-party boards, i&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;t requires the OTG ID pin to generate an interrupt. USB_DNUx cannot be used as GPIO and cannot generate interrupts, so the OTG Driver cannot run.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 07:04:23 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2024-04-03T07:04:23Z</dc:date>
    <item>
      <title>IMX 8m Plus do not support USB OTG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1838364#M221972</link>
      <description>&lt;P&gt;I find that 8m mini support usb otg in the datasheet, but i can't find the&amp;nbsp;similar word in 8m Plus.&amp;nbsp;&lt;SPAN&gt;Is it not supported?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="quangan_0-1711951662501.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271291i7FEEB8EE1743F020/image-size/medium?v=v2&amp;amp;px=400" role="button" title="quangan_0-1711951662501.png" alt="quangan_0-1711951662501.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 06:08:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1838364#M221972</guid>
      <dc:creator>quangan</dc:creator>
      <dc:date>2024-04-01T06:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 8m Plus do not support USB OTG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1838985#M222022</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Currently, DRD is used instead of OTG, mainly for Type-C, so the OTG ID PIN is no longer needed.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 06:20:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1838985#M222022</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2024-04-02T06:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 8m Plus do not support USB OTG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1839380#M222056</link>
      <description>&lt;P&gt;the OTG ID PIN is no longer needed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i.MX8MP even has no CC pin, how this chip can support typeC without peripheral circuits?&lt;/P&gt;&lt;P&gt;Without typeC peripheral circuits, how i.MX8MP can do role switch as you said "the OTG ID PIN is no longer needed"?&lt;/P&gt;&lt;P&gt;It is changed to using gpio usb id from a dedicated usb id pin from the infomation in schematic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I know linux can deal with the DRD message from typeC and gpio usb id pin both.&lt;/P&gt;&lt;P&gt;The default usb id in linux is using gpio as usb id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please explain the following?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 992px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271567i7E6D71771828B15E/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 820px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271561i724A45D6F78FF257/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 826px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271562i2E0AEF9A9E5E3172/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1839380#M222056</guid>
      <dc:creator>hustdage</dc:creator>
      <dc:date>2024-04-02T13:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 8m Plus do not support USB OTG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1839950#M222090</link>
      <description>&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;It mainly depends on whether the physical interface is type-c or OTG's AB interface. If it is Type-c, then you need to refer to the development board and add a ptn5110. If it is the AB interface of OTG, then the ID pin needs to be connected to a GPIO, software&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Here you need to use a GPIO-based exton driver.&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;&amp;amp;usb_dwc3_0 {&lt;BR /&gt;  dr_mode = "otg";&lt;BR /&gt;  hnp-disable;&lt;BR /&gt;  srp-disable;&lt;BR /&gt;  adp-disable;&lt;BR /&gt;  extcon = &amp;lt;&amp;amp;extcon_usb0&amp;gt;;&lt;BR /&gt;  status = "okay";&lt;BR /&gt;};&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;extcon_usb0: extcon-usb0 {&lt;BR /&gt;    compatible = "linux,extcon-usb-gpio";&lt;BR /&gt;    pinctrl-names = "default";&lt;BR /&gt;    pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usb0_extcon&amp;gt;;&lt;BR /&gt;    id-gpios = &amp;lt;&amp;amp;gpio1 3 GPIO_ACTIVE_HIGH&amp;gt;;&lt;BR /&gt;  };&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;arch\arm64\boot\dts\freescale\imx8mp-msc-sm2s.dtsi&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Example of third-party boards, i&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;t requires the OTG ID pin to generate an interrupt. USB_DNUx cannot be used as GPIO and cannot generate interrupts, so the OTG Driver cannot run.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 07:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1839950#M222090</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2024-04-03T07:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: IMX 8m Plus do not support USB OTG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1840395#M222108</link>
      <description>&lt;P&gt;I don't need&amp;nbsp; you to explain anything.&amp;nbsp; I know that than you can do.&lt;/P&gt;&lt;P&gt;I asked you to explain is to ask NXP to improve support quality.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;OTG's AB interface?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Have you read&amp;nbsp;Cable and Connector Specification?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AB interface could be a OTG?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even USB 3.0 A SS and USB 3.0 B SS have no id pin defined. How it can be "&amp;nbsp;OTG's AB interface"?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xx.png" style="width: 485px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271864i530A07084FE01F25/image-size/large?v=v2&amp;amp;px=999" role="button" title="xx.png" alt="xx.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="r.png" style="width: 950px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271865i55D20A6D2A35078F/image-size/large?v=v2&amp;amp;px=999" role="button" title="r.png" alt="r.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 23:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-8m-Plus-do-not-support-USB-OTG/m-p/1840395#M222108</guid>
      <dc:creator>hustdage</dc:creator>
      <dc:date>2024-04-03T23:51:29Z</dc:date>
    </item>
  </channel>
</rss>

