ARM: dt: tegra trimslice: enable USB2 port
Subsystems (2)
PATCH 1/2 ARM: dt: tegra trimslice: enable USB2 port
From: Stephen Warren <[email protected]>
This was accidentally disabled by commit 2a5fdc9 "ARM: dt: tegra:
invert status=disable vs status=okay".
--- arch/arm/boot/dts/tegra20-trimslice.dts | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra20-trimslice.dts +1 -0
@@ -279,6 +279,7 @@ }; usb at c5004000 { + status = "okay"; nvidia,phy-reset-gpio = <&gpio 168 0>; /* gpio PV0 */ };
Signature · 1 line
1.7.0.4
PATCH 2/2 ARM: dt: tegra trimslice: add vbus-gpio property
From: Stephen Warren <[email protected]>
On TrimSlice, Tegra's USB1 port may be routed to either an external micro USB port, or an internal USB->SATA bridge for SSD or HDD. This muxing is controlled by a GPIO. Whilst not strictly a VBUS GPIO, the TrimSlice board files caused this GPIO to be set appropriately to enable the SATA bridge by passing it as the VBUS GPIO to the USB driver. Echo this same configuration in device tree to enable the SATA bridge.
An alternative might be to implement a full USB bus mux driver. However, that seems over-complex right now.
--- arch/arm/boot/dts/tegra20-trimslice.dts | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/boot/dts/tegra20-trimslice.dts +1 -0
@@ -276,6 +276,7 @@ usb at c5000000 { status = "okay"; + nvidia,vbus-gpio = <&gpio 170 0>; /* gpio PV2 */ }; usb at c5004000 {
Signature · 1 line
1.7.0.4
Arnd Bergmann
AppliedPATCH 1/2 ARM: dt: tegra trimslice: enable USB2 port
In reply to Stephen WarrenQuoted 7 lines · Stephen Warren
From: Stephen Warren <[email protected]>
This was accidentally disabled by commit 2a5fdc9 "ARM: dt: tegra:
invert status=disable vs status=okay".Cc <[email protected]> # v3.5 (file is named tegra-trimslice.dts there)Signed-off-by Stephen Warren <[email protected]>
Applied both, thanks!
Arnd