<?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>i.MX Processors中的主题 Re: imx6 HSIC usb2 probe hang</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404587#M60123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Sagar.&lt;/P&gt;&lt;P&gt;It worked!&lt;/P&gt;&lt;P&gt;You are right the most important part is the patch inside &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;/drivers/usb/chipidea/usbmisc_imx.c&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ if (usbdev-&amp;gt;index == 2 || usbdev-&amp;gt;index == 3) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + writel(0x00003000, usbmisc-&amp;gt;base + usbdev-&amp;gt;index * 4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + writel(0x80001842, usbmisc-&amp;gt;base + 0x8 + usbdev-&amp;gt;index * 4);&lt;/P&gt;&lt;P&gt;+ }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that enables the HSIC clock and HW and write also in reserved control bits...&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2015 15:52:53 GMT</pubDate>
    <dc:creator>andreacollamati</dc:creator>
    <dc:date>2015-07-15T15:52:53Z</dc:date>
    <item>
      <title>imx6 HSIC usb2 probe hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404584#M60120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;we are porting the imx_3.14.28_1.0.0_ga kernel on a&amp;nbsp; custom board based on a imx6dl processor.&lt;/P&gt;&lt;P&gt;On our board we connected the USB2 HSIC port to a microchip USB3503 HSIC HUB.&lt;/P&gt;&lt;P&gt;We attached our device tree.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The kernel hangs during the probe of &lt;STRONG&gt;usbhc2&lt;/STRONG&gt; inside the ci_hdrc_imx_probe.&lt;/P&gt;&lt;P&gt;Using kgdb we found&amp;nbsp; that the exact point is the call of &lt;STRONG&gt;device_add&lt;/STRONG&gt;:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ci_hdrc_imx_probe&lt;/STRONG&gt; -&amp;gt; ci_hdrc_imx_probe -&amp;gt; ci_hdrc_add_device&amp;nbsp;&amp;nbsp; -&amp;gt; platform_device_add -&amp;gt; &lt;STRONG&gt;device_add&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions?&lt;/P&gt;&lt;P&gt;Best Regards&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; Andrea&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336844"&gt;devicetree.dts.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 10:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404584#M60120</guid>
      <dc:creator>andreacollamati</dc:creator>
      <dc:date>2015-07-13T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 HSIC usb2 probe hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404585#M60121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HSIC is supported in i.MX6 BSPs; please refer to attached i.MX6 Linux Reference Manual&lt;/P&gt;&lt;P&gt;Chapter 34 "ARC USB Driver" and &amp;lt;usb_hsic_xcvr.c&amp;gt; “HSIC featured phy's interface”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, please take a look at the following thread which has related information:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/320042"&gt;HSIC under linux (imx6d)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this will be useful for you.&lt;BR /&gt;Best regards!&lt;BR /&gt;/Carlos&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>Mon, 13 Jul 2015 22:58:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404585#M60121</guid>
      <dc:creator>CarlosCasillas</dc:creator>
      <dc:date>2015-07-13T22:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 HSIC usb2 probe hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404586#M60122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrea,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had the similar problem described by you. I was able to fix this issue with following changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please review your changes against patch mentioned here. &lt;A href="http://www.spinics.net/lists/arm-kernel/msg303287.html" title="http://www.spinics.net/lists/arm-kernel/msg303287.html"&gt;Re: imx6: usbhc2/3 and HSIC — ARM, OMAP, Xscale Linux Kernel&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changes in &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;/drivers/usb/chipidea/usbmisc_imx.c&lt;/EM&gt;&lt;/STRONG&gt; are important to fix this hang issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It helped me resolve my hang issue. I hope it helps you as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 03:58:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404586#M60122</guid>
      <dc:creator>sagar_jariwala</dc:creator>
      <dc:date>2015-07-14T03:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: imx6 HSIC usb2 probe hang</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404587#M60123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much Sagar.&lt;/P&gt;&lt;P&gt;It worked!&lt;/P&gt;&lt;P&gt;You are right the most important part is the patch inside &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;/drivers/usb/chipidea/usbmisc_imx.c&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;+ if (usbdev-&amp;gt;index == 2 || usbdev-&amp;gt;index == 3) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + writel(0x00003000, usbmisc-&amp;gt;base + usbdev-&amp;gt;index * 4);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + writel(0x80001842, usbmisc-&amp;gt;base + 0x8 + usbdev-&amp;gt;index * 4);&lt;/P&gt;&lt;P&gt;+ }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that enables the HSIC clock and HW and write also in reserved control bits...&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 15:52:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6-HSIC-usb2-probe-hang/m-p/404587#M60123</guid>
      <dc:creator>andreacollamati</dc:creator>
      <dc:date>2015-07-15T15:52:53Z</dc:date>
    </item>
  </channel>
</rss>

