<?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: USB role switch in Imx6q sabre AI  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651373#M99651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilles Talis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using kernel version 4.1.15 and the option CONFIG_USB_OTG_FSM=y is enabled .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 May 2017 05:10:48 GMT</pubDate>
    <dc:creator>shravansundarra</dc:creator>
    <dc:date>2017-05-02T05:10:48Z</dc:date>
    <item>
      <title>USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651370#M99648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:00:34 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;A class="" data-display="http://lxr.free-electrons.com/source/Documentation/usb/chipidea.txt?v=3.16" data-sanitized="http://www.google.com/url?q=http%3A%2F%2Flxr.free-electrons.com%2Fsource%2FDocumentation%2Fusb%2Fchipidea.txt%3Fv%3D3.16&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNFktN4GA8euVCHtAqBrLRexcmydpQ" dir="ltr" href="http://www.google.com/url?q=http%3A%2F%2Flxr.free-electrons.com%2Fsource%2FDocumentation%2Fusb%2Fchipidea.txt%3Fv%3D3.16&amp;amp;sa=D&amp;amp;sntz=1&amp;amp;usg=AFQjCNFktN4GA8euVCHtAqBrLRexcmydpQ" rel="nofollow noreferrer" tabindex="-1" target="_blank"&gt;http://lxr.free-electrons.com/source/Documentation/usb/chipidea.txt?v=3.16&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:00:41 PM UTC+5:30"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;if you refer this document &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:00:56 PM UTC+5:30" title="April 28, 2017 at 1:00:56 PM UTC+5:30"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;it says the procedure to do role switch &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:16 PM UTC+5:30"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:17 PM UTC+5:30"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:26 PM UTC+5:30"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;nodes responsible for role switch &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;DIV class=""&gt; &lt;/DIV&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;but these nodes doesnt exist in the sysfs.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;What needs to be done to see these files in sysfs&amp;nbsp; ? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Any code changes or&amp;nbsp; any kernel features needs to be enabled? &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" data-tooltip="April 28, 2017 at 1:01:42 PM UTC+5:30"&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 07:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651370#M99648</guid>
      <dc:creator>shravansundarra</dc:creator>
      <dc:date>2017-04-28T07:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651371#M99649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of kernel are you using?&lt;/P&gt;&lt;P&gt;This feature has been there since i.MX kernel 3.14.52 if I am not mistaken&lt;/P&gt;&lt;P&gt;Did you enable CONFIG_USB_OTG_FSM option in your kernel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 15:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651371#M99649</guid>
      <dc:creator>gillestalis</dc:creator>
      <dc:date>2017-04-28T15:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651372#M99650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the Chapter 39 of the attached document. Hope it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Apr 2017 10:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651372#M99650</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2017-04-30T10:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651373#M99651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilles Talis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using kernel version 4.1.15 and the option CONFIG_USB_OTG_FSM=y is enabled .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 05:10:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651373#M99651</guid>
      <dc:creator>shravansundarra</dc:creator>
      <dc:date>2017-05-02T05:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651374#M99652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you enable one of these options in the dts?&lt;/P&gt;&lt;P&gt;hnp-enable&lt;/P&gt;&lt;P&gt;srp-enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just changing hnp-disable to hnp-enable should do the trick.&lt;/P&gt;&lt;P&gt;However, the a_bus_req/a_bus_drop options do not appear there:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;but rather here for me:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;Gilles.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 06:45:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651374#M99652</guid>
      <dc:creator>gillestalis</dc:creator>
      <dc:date>2017-05-03T06:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651375#M99653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gilles Talis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes , the below configurations are updated in the dts file,&lt;/P&gt;&lt;P&gt;hnp-enable&lt;/P&gt;&lt;P&gt;srp-enable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and the a_bus_req node is not present in the path you mentioned in the above reply.&lt;/P&gt;&lt;P&gt;Is there any other requirement needed in 4.1.15 kernel ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp; Shravan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 09:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651375#M99653</guid>
      <dc:creator>shravansundarra</dc:creator>
      <dc:date>2017-05-03T09:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651376#M99654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shravan S,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To my knowledge, there's no other requirement needed in 4.1.15 kernel.&lt;/P&gt;&lt;P&gt;Which SoC and board are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 12:00:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651376#M99654</guid>
      <dc:creator>gillestalis</dc:creator>
      <dc:date>2017-05-03T12:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651377#M99655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;STRONG class=""&gt; &lt;SPAN class=""&gt;Gilles Talis&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am able to see the nodes&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;as you mentioned in the previous mail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the role switching is not happening with my iPhone&amp;nbsp; after the below command&lt;/P&gt;&lt;P&gt;echo&amp;nbsp; 1 &amp;gt;&amp;nbsp; &lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am following the procedure as per below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://lxr.free-electrons.com/source/Documentation/usb/chipidea.txt?v=3.16" title="http://lxr.free-electrons.com/source/Documentation/usb/chipidea.txt?v=3.16"&gt;Linux/Documentation/usb/chipidea.txt - Linux Cross Reference - Free Electrons&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; Board details :&amp;nbsp; iMx6q sabre Auto infotainment board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp; Shravan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 12:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651377#M99655</guid>
      <dc:creator>shravansundarra</dc:creator>
      <dc:date>2017-05-03T12:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651378#M99656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG class=""&gt; Hi &lt;SPAN class=""&gt;Gilles Talis&lt;/SPAN&gt;&lt;/STRONG&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Below are the behaviour I am facing during role switching,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) NXP board is in&amp;nbsp; host mode -By default ( echo host &amp;gt; /sys/kernel/debug/ci.hdrc0/role )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; on "lsusb" command&amp;nbsp; I am able to see the devices connected&amp;nbsp; = &amp;gt; Its a expected behaviour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The connected B-device ( Apple iPhone ) is getting charged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) NXP Board is in gadget mode ( echo gadget &amp;gt; /sys/kernel/debug/ci.hdrc0/role&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; on "lsusb" command&amp;nbsp; I am not able to see the devices connected&amp;nbsp; = &amp;gt; Its a expected behaviour.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The connected B-device ( Apple iPhone ) is not getting charged. As iPhone expects the power to be supplied from the connected device , when the iPhone is in host mode .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am suspecting that vbus should be enabled even when the NXP device is in gadget mode .&lt;/P&gt;&lt;P&gt;Did some code modification (short cut way =&amp;gt; not the proper fix) to enable to regulator to have the voltage supply in vbus in both the modes . The proper fix should be handling of gpio to enable vbus in both host and device(gadget) modes .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even after we enable the vbus , we are not able to&amp;nbsp; perform role switch , the nodes responsible for role switch&amp;nbsp; (echo host &amp;gt; /sys/kernel/debug/ci.hdrc0/role) are updating with proper values&amp;nbsp; ,&amp;nbsp; but&amp;nbsp; we are not able to see the exact functionality of role switching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the documentation part of the kernel say the different nodes for the role switching as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0ahUKEwizuoHnuODTAhURSY8KHQ_UCnQQFgglMAA&amp;amp;url=http%3A%2F%2Flxr.free-electrons.com%2Fsource%2FDocumentation%2Fusb%2Fchipidea.txt%3Fv%3D3.16&amp;amp;usg=AFQjCNFHj8iqoMYSReH7geb0Ni5Vb7fpbA" title="https://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0ahUKEwizuoHnuODTAhURSY8KHQ_UCnQQFgglMAA&amp;amp;url=http%3A%2F%2Flxr.free-electrons.com%2Fsource%2FDocumentation%2Fusb%2Fchipidea.txt%3Fv%3D3.16&amp;amp;usg=AFQjCNFHj8iqoMYSReH7geb0Ni5Vb7fpbA"&gt;https://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;cad=rja&amp;amp;uact=8&amp;amp;ved=0ahUKEwizuoHnuODTAhURSY8KHQ_UCnQQFg…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I am able to see the nodes&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;as you mentioned in the document &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the role switching is not happening with my iPhone&amp;nbsp; after the below command&lt;/P&gt;&lt;P&gt;echo&amp;nbsp; 1 &amp;gt;&amp;nbsp; &lt;SPAN class="" dir="ltr" style="text-align: left;"&gt;/sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/inputs/a_bus_req&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following the procedure as per below&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Flxr.free-electrons.com%2Fsource%2FDocumentation%2Fusb%2Fchipidea.txt%3Fv%3D3.16" rel="nofollow" target="_blank"&gt;Linux/Documentation/usb/chipidea.txt - Linux Cross Reference - Free Electrons&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp; Board details :&amp;nbsp; iMx6q sabre Auto infotainment board&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kernel Version : 4.1.15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Shravan S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2017 13:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651378#M99656</guid>
      <dc:creator>shravansundarra</dc:creator>
      <dc:date>2017-05-08T13:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: USB role switch in Imx6q sabre AI</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651379#M99657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shravan S,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for late reply.&lt;/P&gt;&lt;P&gt;This is beyond my knowledge. I was expecting this to work out of the box.&lt;/P&gt;&lt;P&gt;It is clear that something is missing, but I do not know what. It might be worth doing some debugging in the USB driver. From what I could see, the code is located in drivers/usb/chipidea/. There is a "otg_fsm.c" file, it might worth checking that the OTG state machine is implemented correctly or is not blocked in some weird state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry but I can't help more.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Gilles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 12:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-role-switch-in-Imx6q-sabre-AI/m-p/651379#M99657</guid>
      <dc:creator>gillestalis</dc:creator>
      <dc:date>2017-05-11T12:04:37Z</dc:date>
    </item>
  </channel>
</rss>

