Skip to content

Add NVIDIA Tegra XUSB pad controller bindings

Thierry Reding linux-devicetree linux-tegra 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: phy: Add NVIDIA Tegra XUSB pad controller bindingDocumentation/devicetree/bindings/phy/nvidia,tegra-xusb-padctl.txt+359 -07 replies
2/2dt-bindings: phy: tegra-xusb-padctl: Add Tegra210 supportDocumentation/devicetree/bindings/phy/nvidia,tegra-xusb-padctl.txt+330 -06 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add NVIDIA Tegra XUSB pad controller bindings

From: Thierry Reding <[email protected]>

This is the result of my attempt to come up with a correct binding for the XUSB pad controller found on NVIDIA Tegra SoCs. Note how this is a completely new binding document. The old binding, which we should mark deprecated if we settle on this new one, modelled the device as a pinctrl/PHY hybrid, but it turns out that it's really not much of a pin controller after all.

I have a driver, which is pretty much Andrew's work, heavily reworked and put into drivers/phy. I've tested this on Jetson TK1 (for Tegra124) and P2371-2180 (for Tegra210) and I successfully see PCIe, SATA and super-speed USB working on Jetson TK1 as well as super-speed USB on the P2371-2180 (root on NFS and USB 3.0 and USB 2.0 pen drives work fine).

Moving the driver into drivers/phy also gives us a trivial way to keep backwards-compatibility by simply keeping the old driver in place and calling into it from the new driver if a legacy DTB is detected.

I still need to do a bit of squashing and sorting of the driver patches but I wanted to get this out now because I know Stephen is working on a set of patches to support the XUSB pad controller on Tegra210 in U-Boot and the discussion can hence continue irrespective of the driver code.

Note also that this isn't quite complete yet. I've left out most of the HSIC-specific properties for now because there is no user for those in the upstream kernel, so I didn't have an example nor test-case.

Thierry

Thierry Reding (2):
dt-bindings: phy: Add NVIDIA Tegra XUSB pad controller binding
dt-bindings: phy: tegra-xusb-padctl: Add Tegra210 support

 .../bindings/phy/nvidia,tegra-xusb-padctl.txt      | 689 +++++++++++++++++++++
 1 file changed, 689 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/phy/nvidia,tegra-xusb-padctl.txt
Signature · 1 line
2.5.0