freebsd-skq/sys/arm
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
..
allwinner aw_sid(4): Release resources and destroy mutex on failure 2018-03-26 14:03:39 +00:00
altera/socfpga dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
amlogic/aml8726 [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
annapurna/alpine [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
arm Add the missing header for malloc(9). It was pulled in through header 2018-04-02 13:36:48 +00:00
at91 This is MPSAFE on this platform, so don't take Giant out while running 2018-03-21 14:47:08 +00:00
broadcom/bcm2835 [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
cavium/cns11xx Use the TSLOG framework to record entry/exit timestamps for DELAY and 2017-12-31 09:24:41 +00:00
cloudabi32 Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
conf Add dtb overlays support 2018-03-24 21:30:24 +00:00
freescale [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
include amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
mv [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
nvidia Fix build when option MMCCAM is defined. 2018-03-08 22:49:36 +00:00
qemu Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
ralink Use the TSLOG framework to record entry/exit timestamps for DELAY and 2017-12-31 09:24:41 +00:00
rockchip dwmmc: Fully subclass driver 2017-12-30 22:01:17 +00:00
samsung/exynos [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
ti [ofw] fix errneous checks for OF_finddevice(9) return value 2018-03-20 00:03:49 +00:00
versatile Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
xilinx Fix accidental USB port resets by GPIO on Zynq/Zedboard boards 2018-04-03 04:31:54 +00:00
xscale Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00