1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sys/arm/xilinx
Oleksandr Tymoshenko 8857481840 Fix accidental USB port resets by GPIO on Zynq/Zedboard boards
The Zynq/Zedboard GPIO driver attempts to tri-state all GPIO pins on
boot up but the order in which I reset the hardware can cause the pins
to be briefly held low before being tri-stated.  This is a problem on
boards that use GPIO pins to reset devices.

In particular, the Zybo and ZC-706 boards use a GPIO pin as a USB PHY
reset.  If U-boot enables the USB port before booting the kernel, the
GPIO driver attach causes a glitch on the USB PHY reset and the USB
port loses power.  My fix is to have the GPIO driver leave the pins in
whatever configuration U-boot placed them.

PR:		225713
Submitted by:	Thomas Skibo <thoma555-bsd@yahoo.com>
MFC after:	1 week
2018-04-03 04:31:54 +00:00
..
files.zynq7 o Move sdhci_fdt to the generic files list. 2018-01-25 17:16:29 +00:00
std.zynq7 Make kernel option KERNVIRTADDR optional, remove it from std.<platform> 2017-12-30 00:20:49 +00:00
uart_dev_cdnc.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_devcfg.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_ehci.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_gpio.c Fix accidental USB port resets by GPIO on Zynq/Zedboard boards 2018-04-03 04:31:54 +00:00
zy7_l2cache.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_machdep.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_machdep.h Add external PLATFORM access on arm, and use it in the pl310 driver. 2017-07-11 16:30:16 +00:00
zy7_mp.c
zy7_reg.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_slcr.c sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00
zy7_slcr.h sys/arm: further adoption of SPDX licensing ID tags. 2017-11-27 15:04:10 +00:00