All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 asix reset
@ 2015-03-26  1:17 Marcel Ziswiler
  2015-03-26 14:15 ` Stephen Warren
  0 siblings, 1 reply; 2+ messages in thread
From: Marcel Ziswiler @ 2015-03-26  1:17 UTC (permalink / raw)
  To: u-boot

Fix ASIX USB to Ethernet chip reset.

Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
---
Changes in v2:
- added my previously missing signed-off-by

 board/toradex/colibri_t20/colibri_t20.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c
index 4656094..5d8bdec 100644
--- a/board/toradex/colibri_t20/colibri_t20.c
+++ b/board/toradex/colibri_t20/colibri_t20.c
@@ -46,7 +46,14 @@ void pin_mux_usb(void)
 	/* VBus GPIO */
 	pinmux_tristate_disable(PMUX_PINGRP_DTE);
 
-	/* USB 1 aka Tegra USB port 3 VBus */
+	/* Reset ASIX using LAN_RESET */
+	gpio_request(GPIO_PV4, "LAN_RESET");
+	gpio_direction_output(GPIO_PV4, 0);
+	pinmux_tristate_disable(PMUX_PINGRP_GPV);
+	udelay(5);
+	gpio_set_value(GPIO_PV4, 1);
+
+	/* USBH_PEN: USB 1 aka Tegra USB port 3 VBus */
 	pinmux_tristate_disable(PMUX_PINGRP_SPIG);
 }
 #endif
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 asix reset
  2015-03-26  1:17 [U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 asix reset Marcel Ziswiler
@ 2015-03-26 14:15 ` Stephen Warren
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Warren @ 2015-03-26 14:15 UTC (permalink / raw)
  To: u-boot

On 03/25/2015 07:17 PM, Marcel Ziswiler wrote:
> Fix ASIX USB to Ethernet chip reset.

Acked-by: Stephen Warren <swarren@nvidia.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-26 14:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-26  1:17 [U-Boot] [PATCH v2] ARM: tegra: fix colibri_t20 asix reset Marcel Ziswiler
2015-03-26 14:15 ` Stephen Warren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.