* [PATCH 1/2] ARM: dt: tegra trimslice: enable USB2 port
@ 2012-07-25 20:02 Stephen Warren
[not found] ` <1343246564-21527-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2012-07-25 20:02 UTC (permalink / raw)
To: arm-DgEjT+Ai2ygdnm+yROfE0A
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren
From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
This was accidentally disabled by commit 2a5fdc9 "ARM: dt: tegra:
invert status=disable vs status=okay".
Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # v3.5 (file is named tegra-trimslice.dts there)
Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
arch/arm/boot/dts/tegra20-trimslice.dts | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts
index 9de5636..84a9523 100644
--- a/arch/arm/boot/dts/tegra20-trimslice.dts
+++ b/arch/arm/boot/dts/tegra20-trimslice.dts
@@ -279,6 +279,7 @@
};
usb@c5004000 {
+ status = "okay";
nvidia,phy-reset-gpio = <&gpio 168 0>; /* gpio PV0 */
};
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1343246564-21527-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* [PATCH 2/2] ARM: dt: tegra trimslice: add vbus-gpio property [not found] ` <1343246564-21527-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2012-07-25 20:02 ` Stephen Warren 2012-07-25 20:09 ` [PATCH 1/2] ARM: dt: tegra trimslice: enable USB2 port Arnd Bergmann 1 sibling, 0 replies; 3+ messages in thread From: Stephen Warren @ 2012-07-25 20:02 UTC (permalink / raw) To: arm-DgEjT+Ai2ygdnm+yROfE0A Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> 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. Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # v3.5 (file is named tegra-trimslice.dts there) Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> --- arch/arm/boot/dts/tegra20-trimslice.dts | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts b/arch/arm/boot/dts/tegra20-trimslice.dts index 84a9523..27fb8a6 100644 --- a/arch/arm/boot/dts/tegra20-trimslice.dts +++ b/arch/arm/boot/dts/tegra20-trimslice.dts @@ -276,6 +276,7 @@ usb@c5000000 { status = "okay"; + nvidia,vbus-gpio = <&gpio 170 0>; /* gpio PV2 */ }; usb@c5004000 { -- 1.7.0.4 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] ARM: dt: tegra trimslice: enable USB2 port [not found] ` <1343246564-21527-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> 2012-07-25 20:02 ` [PATCH 2/2] ARM: dt: tegra trimslice: add vbus-gpio property Stephen Warren @ 2012-07-25 20:09 ` Arnd Bergmann 1 sibling, 0 replies; 3+ messages in thread From: Arnd Bergmann @ 2012-07-25 20:09 UTC (permalink / raw) To: Stephen Warren Cc: arm-DgEjT+Ai2ygdnm+yROfE0A, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren On Wednesday 25 July 2012, Stephen Warren wrote: > From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > This was accidentally disabled by commit 2a5fdc9 "ARM: dt: tegra: > invert status=disable vs status=okay". > > Cc: <stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org> # v3.5 (file is named tegra-trimslice.dts there) > Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> Applied both, thanks! Arnd ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-07-25 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-25 20:02 [PATCH 1/2] ARM: dt: tegra trimslice: enable USB2 port Stephen Warren
[not found] ` <1343246564-21527-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2012-07-25 20:02 ` [PATCH 2/2] ARM: dt: tegra trimslice: add vbus-gpio property Stephen Warren
2012-07-25 20:09 ` [PATCH 1/2] ARM: dt: tegra trimslice: enable USB2 port Arnd Bergmann
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).