u-boot-brain/drivers/usb
Stephen Warren 2f6a7e8ce5 ARM: tegra: fix USB ULPI PHY reset signal inversion confusion
USB ULPI PHY reset signals are typically active low. Consequently, they
should be marked as GPIO_ACTIVE_LOW in device tree, and indeed they are in
the Linux kernel DTs, and in DT properties that U-Boot doesn't yet use.
However, in DT properties that U-Boot does use, the value has been set to
0 (== GPIO_ACTIVE_HIGH) to work around a bug in U-Boot.

This change fixes the DT to correctly represent the HW, and fixes the
Tegra USB driver to cope with the fact that dm_gpio_set_value() internally
handles any inversions implied by the DT value GPIO_ACTIVE_LOW.

Cc: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2016-09-27 09:11:03 -07:00
..
common armv8: fsl-layerscape: Append "A" in SoC name for ARM based SoCs 2016-06-28 12:08:53 -07:00
dwc3 usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled 2016-05-27 15:39:49 -04:00
emul dm: Use dm_scan_fdt_dev() directly where possible 2016-07-27 14:15:54 -06:00
eth net: asix: Fix AX88772B when used with DriverModel 2016-09-09 13:13:42 -05:00
gadget Move ENOTSUPP defines to include/linux/errno.h 2016-09-23 22:25:43 -04:00
host ARM: tegra: fix USB ULPI PHY reset signal inversion confusion 2016-09-27 09:11:03 -07:00
musb Fix spelling of "occurred". 2016-05-02 18:37:09 -04:00
musb-new treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
phy treewide: replace #include <asm-generic/errno.h> with <linux/errno.h> 2016-09-23 22:25:27 -04:00
ulpi usb: ulpi: Fix compile warning in read/write on 64-bit machines. 2016-04-01 17:18:09 -04:00
Kconfig usb: gadget: Move CONFIG_USB_GADGET_DUALSPEED to Kconfig 2016-04-20 11:43:27 +02:00