Re: [PATCH v10 1/9] dt-bindings: phy: Add NVIDIA Tegra XUSB pad controller binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Thierry

On Fri, 2016-03-04 at 17:19 +0100, Thierry Reding wrote:
> From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@xxxxxxxxxxxxxxxx
> >
> 
> The NVIDIA Tegra XUSB pad controller provides a set of pads, each
> with a
> set of lanes that are used for PCIe, SATA and USB.

I finally got around trying this both on Jetson TK1 as well as our own
Toradex Apalis TK1 module we are about to mainline. I actually applied
your patch set on top of 4.6.0-rc1. While USB 3.0 seems to work fine I
noticed PCIe and SATA no more to come up right with the following
message:

[    2.794458] tegra-pcie 1003000.pcie-controller: PLL failed to lock:
-110
[    2.801177] tegra-pcie 1003000.pcie-controller: failed to power on
PHY: -110
[    2.809031] tegra-pcie: probe of 1003000.pcie-controller failed with
error -110

Do you happen to know what could be the issue?

As for USB I do get some message about the endpoint companion but do
not know whether or not this is to be expected:

[ 1021.575301] usb 4-1: new SuperSpeed USB device number 2 using tegra-
xusb
[ 1021.598913] usb 4-1: No SuperSpeed endpoint companion for config
1  interface 0 altsetting 0 ep 2: using minimum values

Otherwise it looks good:

ubuntu@tegra-ubuntu:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And performs satisfactorily (up from around 24 MB/sec with just USB
2.0):

ubuntu@tegra-ubuntu:~$ sudo hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  94 MB in  3.05 seconds =  30.81 MB/sec

Apalis TK1 actually features two USB 3.0 host ports:

ubuntu@tegra-ubuntu:~$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0951:1666 Kingston Technology DataTraveler G4
Bus 005 Device 003: ID 1f75:0902 Innostor Technology Corporation IS902
UFD controller
Bus 005 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ubuntu@tegra-ubuntu:~$ sudo hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  96 MB in  3.00 seconds =  31.98 MB/sec

ubuntu@tegra-ubuntu:~$ sudo hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads: 152 MB in  3.04 seconds =  49.99 MB/sec

Cheers

Marcel

> Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.
> gmane.org>
> ---
> Changes in v10:
> - clarify that the hardware documentation means something different
> when
>   referring to a "port" (intra-SoC connectivity)
> 
> Changes in v9:
> - rename UTMI -> USB2 to match hardware documentation
> - reword according to suggestions by Stephen Warren
> - make Tegra132 compatible string list consistent
> - remove mailbox support
> ...
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux