Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1495695

Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422

From Vivek Gautam <vivek.gautam@codeaurora.org>
Newsgroups linux.kernel
Subject Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422
Date 2016-10-05 06:50 +0200
Message-ID <soMjv-4ib-5@gated-at.bofh.it> (permalink)
References (4 earlier) <sbJt7-ss-9@gated-at.bofh.it> <sor5n-70H-7@gated-at.bofh.it> <sovC2-1A5-15@gated-at.bofh.it> <sowHL-2uG-15@gated-at.bofh.it> <sozFE-4xt-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Anand,


On Tue, Oct 4, 2016 at 8:39 PM, Anand Moon <linux.amoon@gmail.com> wrote:
> Hi Vivek,
>

[snip]

>
> What I feel is that their need to be some reset of usb phy so that
> device are assigned to respective bus ports.

The phy resets are what we do in the phy-exynos5-usbdrd driver. In
addition to what we
have currently in this phy driver, we just need the phy calibration
patch [1] for phy configurations.

[1] https://lkml.org/lkml/2015/2/2/259

> odroid@odroid:~$ lsusb -t
> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>     |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 480M

This shows the ethernet device gets detected on the high-speed port of one
of the controller.
The lsusb output for kernel v4.7.x posted by Michael show that the
ethernet device got detected on super-speed port of the controller.
So, there seems to be a difference between the two.
Or, is this how it is behaving ?

Is this lsusb output on 4.8 kernel with the patch [1] ?

> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>     |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
>         |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
>         |__ Port 2: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>     |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
>     |__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 480M
>
>
> Bus 06.Port should register the Realtek Ethernet r8153 device.
> But I am not able to trace out how it's should happen.

If i understand, below is how the configuration looks like on the board?

                +-----------------------+
        +------>|                       |
        |       |       Bus 6           |-------+
+-----------+   |    (super-speed)      |       |
|           |   +-----------------------+       |
|Controller |                                   | --------> Ethernet device
|    2      |                                   |
|           |   +-----------------------+       |
+-----------+   |                       |       |
        |       |       Bus 5           |-------+
        +------>|   (high-speed)        |
                +-----------------------+


                +-----------------------+
        +------>|                       |
        |       |       Bus 4           |-------+
+-----------+   |    (super-speed)      |       |
|           |   +-----------------------+       |
|Controller |                                   | --------> (On board
hub ?? _OR_ external hub with downstream devices) ???
|    1      |                                   |
|           |   +-----------------------+       |
+-----------+   |                       |       |
        |       |       Bus 3           |-------+
        +------>|   (high-speed)        |
                +-----------------------+


Thanks
Vivek


--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-10-04 08:10 +0200
  Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-10-04 14:10 +0200
    Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Anand Moon <linux.amoon@gmail.com> - 2016-10-04 17:20 +0200
      Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Vivek Gautam <vivek.gautam@codeaurora.org> - 2016-10-05 06:50 +0200
    Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos  5422 Michael Niewöhner <linux@mniewoehner.de> - 2016-10-06 18:40 +0200
      Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos 5422 Felipe Balbi <balbi@kernel.org> - 2016-10-07 09:50 +0200
        Re: PROBLEM: DWC3 USB 3.0 not working on Odroid-XU4 with Exynos  5422 Michael Niewöhner <linux@mniewoehner.de> - 2016-10-07 22:30 +0200

csiph-web