u-boot/drivers/usb
Andre Przywara 81755b8c20 usb: host: ehci-generic: Make resets and clocks optional
The generic EHCI binding does not *require* resets and clocks
properties, and indeed for instance the Allwinner A20 SoCs does not
need or define any resets in its DT.

Don't easily give up if clk_get_bulk() or reset_get_bulk() return an
error, but check if that is due to the DT simply having no entries for
either of them.

This fixes USB operation on all boards with an Allwinner A10 or A20 SoC,
which were reporting an error after commit ba96176ab7:
=======================
Bus usb@1c14000: ehci_generic usb@1c14000: Failed to get resets (err=-2)
probe failed, error -2
=======================

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
2022-06-16 15:22:55 -04:00
..
cdns3 usb: cdns3: cdns3-ti: Add compatible for AM64 SoC 2021-11-17 17:09:47 -05:00
common usb: xhci-dwc3: Support role switch default role 2022-05-20 09:41:33 +02:00
dwc3 usb: dwc3: Fix non-usb3 configurations 2022-05-20 23:30:36 +02:00
emul usb: sandbox: Bounds check read from buffer 2022-04-29 11:11:36 -04:00
eth Add support for TP-Link UE200 dongle 2022-04-22 10:35:14 +02:00
gadget spi: spi-uclass: Add new spi_get_bus_and_cs() implementation 2022-05-23 09:33:10 -04:00
host usb: host: ehci-generic: Make resets and clocks optional 2022-06-16 15:22:55 -04:00
mtu3 usb: mtu3: flush cache for the first GPD when allocate GPD ring 2021-11-03 08:47:57 +01:00
musb drivers/usb/musb/musb_udc.c: Fix spelling of "mismatch". 2022-01-13 07:57:49 -05:00
musb-new doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
phy usb: phy: ti: Remove non-DM PHY code 2021-09-27 21:38:34 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig usb: Enforce DM_USB migration for USB_HOST devices. 2021-07-18 21:05:31 -04:00