From: Richard Genoud <richard.genoud@gmail.com>
To: Krzysztof Kozlowski <krzk@kernel.org>
Cc: "Marek Szyprowski" <m.szyprowski@samsung.com>,
"Anand Moon" <linux.amoon@gmail.com>,
"Bartłomiej Żołnierkiewicz" <b.zolnierkie@samsung.com>,
"Felipe Balbi" <balbi@kernel.org>,
"Huang Rui" <ray.huang@amd.com>,
"Javier Martinez Canillas" <javier@osg.samsung.com>,
"Heikki Krogerus" <heikki.krogerus@linux.intel.com>,
"Kukjin Kim" <kgene@kernel.org>,
devicetree <devicetree@vger.kernel.org>,
"Linux USB Mailing List" <linux-usb@vger.kernel.org>,
"linux-samsung-soc@vger.kernel.org"
<linux-samsung-soc@vger.kernel.org>,
"Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports
Date: Fri, 10 Feb 2017 16:12:14 +0100 [thread overview]
Message-ID: <CACQ1gAgBFb-+CjdH50e01Q-1gt7tK8CNH_y8pytq5MDzpc6K6Q@mail.gmail.com> (raw)
In-Reply-To: <20170210133439.qfiuggbuoi7hq6el@kozik-lap>
2017-02-10 14:34 GMT+01:00 Krzysztof Kozlowski <krzk@kernel.org>:
> On Thu, Feb 09, 2017 at 11:26:48AM +0100, Richard Genoud wrote:
>> I did some tests with XU3 and XU4, playing with USB2 and USB3 quirks
>> (snps,dis_u{2,3}_susphy_quirk)
>>
>> kernel for the tests: next-20170206
>> DTBs: exynos5422-odroidxu3-lite.dtb exynos5422-odroidxu4.dtb
>>
>> USB devices used for the tests: kingston USB3 key, Akasa sata/USB3
>> +SSD standard USB2 key
>> once recognized, a dd if=/dev/sda bs=1M count=100 of=/dev/null is done.
>>
>>
>> The results are:
>> - On XU4:
>> - adding snps,dis_u2_susphy_quirk doesn't change anything:
>> inserting an USB2 or USB3 device gives the error message:
>> xhci-hcd xhci-hcd.2.auto: Port resume took longer than 20000 msec,
>> port status = 0xc400fe3
>> - with snps,dis_u3_susphy_quirk, USB2 and USB3 devices are recognized
>>
>> - On XU3:
>> - Without changing XU3 dts, USB2 devices are recognized.
>> - With or without the snps,dis_u3_susphy_quirk, USB3 devices are not
>> recognized/not working properly
>> (never seen or disconnected, unable to enumerate, etc.)
>> However, adding an external powered USB3 hub in between works. (with
>> or without the snps,dis_u3_susphy_quirk)
>> Anyway, this problem doesn't seems to be related to the other since
>> addind the quirks doesn't change anything.
>
> From this description I am missing where are you inserting the USB
> devices.
>
> Both boards have totally different USB port configuration. On XU3 the
> hub is on USB 2.0 port. On XU4 the opposite - the hub is on USB 3.0
> port.
Yes, sorry.
All the tests I did were on USB3.0 ports.
So, for the XU4, it was the double USB3.0 connector.
For the XU3, it was the single USB3.0 host port.
(and the XU3 USB3.0 device port for the test bellow)
I didn't do any test on the USB2 ports.
>
> Best regards,
> Krzysztof
>
>> - On XU3 USB3 device port (dr_mode = "peripheral"):
>> - acting as an ethernet gadget only works with the snps,dis_u3_susphy_quirk.
>> It works well as USB2 or USB3 (tested with ethernet gadget+iperf)
>>
>> So, at the end, it does seem usefull to add the
>> snps,dis_u3_susphy_quirk at the exynos5420.dtsi level.
>> Adding the snps,dis_u2_susphy_quirk doesn't seems to change anything
>> for XU3/XU4 board,
>> so I don't know if it is necessary or not.
next prev parent reply other threads:[~2017-02-10 15:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 13:48 [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports Richard Genoud
2017-01-24 18:22 ` Krzysztof Kozlowski
2017-01-25 8:34 ` Richard Genoud
[not found] ` <20170124134809.23315-1-richard.genoud-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-01-25 5:51 ` Anand Moon
[not found] ` <CANAwSgRAT0-XETx=yVRgM4GfukFLLEw-hqHjYGEWs0tqAx8g2g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-25 7:55 ` Krzysztof Kozlowski
[not found] ` <CAJKOXPesCuYsK23466=6W9PPX7DtztdymZLBfNz0Dmjzwp4qBA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-25 13:48 ` Marek Szyprowski
[not found] ` <ef6c0d33-73d6-805e-aeab-86190e8b0aa0-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2017-01-25 14:17 ` Krzysztof Kozlowski
2017-01-25 18:34 ` Anand Moon
[not found] ` <CAJKOXPd+CnmVG282NEVCFqS_3YEURCWx41udyQKpL21keGJOWg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-27 7:29 ` Richard Genoud
[not found] ` <4dca1d8e-f955-7791-90c0-4e73a273fe62-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-02-09 10:26 ` Richard Genoud
2017-02-10 13:34 ` Krzysztof Kozlowski
2017-02-10 15:12 ` Richard Genoud [this message]
2017-05-08 16:19 ` Shuah Khan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CACQ1gAgBFb-+CjdH50e01Q-1gt7tK8CNH_y8pytq5MDzpc6K6Q@mail.gmail.com \
--to=richard.genoud@gmail.com \
--cc=b.zolnierkie@samsung.com \
--cc=balbi@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heikki.krogerus@linux.intel.com \
--cc=javier@osg.samsung.com \
--cc=kgene@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux.amoon@gmail.com \
--cc=m.szyprowski@samsung.com \
--cc=ray.huang@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).