u-boot/drivers/usb
Jonas Karlman 5ccfdd8a83 usb: dwc3: Use generic_phy_valid() helper
The documentation for struct phy state that "The content of the
structure is managed solely by the PHY API and PHY drivers".

Change to use the generic_phy_valid() helper to check if phy is valid.
Also remove setting phy->dev to NULL now that generic_phy_get_by_name()
properly initialize phy->dev to NULL.

Fixes: 142d50fbce ("usb: dwc3: Add support for usb3-phy PHY configuration")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
2023-09-13 15:52:20 -04:00
..
cdns3 usb: cdns3: gadget: Configure speed in udc_start 2023-07-21 02:05:10 +02:00
common usb: add isp1760 family driver 2022-07-12 21:59:54 +02:00
dwc3 usb: dwc3: Use generic_phy_valid() helper 2023-09-13 15:52:20 -04:00
emul sandbox: fix sandbox_hub_submit_control_msg() 2023-04-28 11:30:17 -06:00
eth usb: eth: lan78xx: Fix logic in lan78xx_read_otp() to avoid a warning 2023-06-20 13:02:59 -04:00
gadget Kconfigs: Correct default of "0" on hex type entries 2023-08-09 09:21:42 -04:00
host usb: host: ohci-generic: Make usage of clock/reset bulk() API 2023-09-04 18:25:20 +02:00
isp1760 usb: add isp1760 family driver 2022-07-12 21:59:54 +02:00
mtu3 usb: mtu3: flush cache for the first GPD when allocate GPD ring 2021-11-03 08:47:57 +01:00
musb usb: musb: Rename CONFIG_USB_MUSB_TIMEOUT to MUSB_TIMEOUT 2023-01-20 12:27:06 -05:00
musb-new sunxi: Kconfig: rework PHY_USB_SUN4I selection 2023-07-21 00:26:36 +01:00
phy rockchip: usb: phy: add rk3066/rk3188 support 2022-06-29 11:28:15 +08:00
ulpi global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
Kconfig usb: Move SPL_USB_STORAGE Kconfig symbol to drivers/usb/ 2023-05-17 01:51:39 +02:00