1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-22 17:53:59 +01:00
Files
u-boot-megous/drivers/usb/host
Fabio Estevam 4822114f4f usb: ehci-mx6: Do not fail when 'reg' is not found
Unlike imx6, on imx7 the USB PHY is described as:

	usbphynop1: usbphynop1 {
		compatible = "usb-nop-xceiv";
		clocks = <&clks IMX7D_USB_PHY1_CLK>;
		clock-names = "main_clk";
		#phy-cells = <0>;
	};

which does not have the 'reg' property.

Do not return an error when the 'reg' property is not found
for the USB PHY.

This fixes USB gadget regression on a imx7s-warp board.

Successfully tested the "ums 0 mmc 0" command on two boards:
imx7s-warp and imx6dl-pico-pi.

Signed-off-by: Fabio Estevam <festevam@denx.de>
2021-06-24 20:23:23 +02:00
..
2020-12-18 20:32:21 -07:00
2021-06-09 13:03:47 +02:00
2009-04-06 20:40:46 +02:00
2020-12-18 20:32:21 -07:00
2021-04-06 16:38:57 +02:00