u-boot/drivers/usb
Kunihiko Hayashi f7b7c72133 usb: dwc3-generic: Allow different controller DT node pattern
The most of devicetree has the following USB node structure.
The controller node is placed as a child node of the glue node.
Current dwc3-generic driver works on this premise.

    glue {
        /* glue node */
	usb {
            /* controller node */
	};
    };

However, UniPhier original devicetree has the following USB node structure.
The controller node is separately placed from the glue node.

    usb {
        /* controller node */
    };
    glue {
        /* glue node */
    };

In dwc_glue_bind(), this patch provides .glue_get_ctrl_dev() callback to
get such a controller node and binds the driver related to the node.

If this callback isn't defined, dwc_glue_bind() looks for the controller
nodes from the child nodes, as before.

Suggested-by: Marek Vasut <marex@denx.de>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Marek Vasut <marex@denx.de>
2023-02-22 19:40:11 +01:00
..
cdns3 usb: cdns3: cdns3-ti: Add compatible for AM64 SoC 2021-11-17 17:09:47 -05:00
common usb: add isp1760 family driver 2022-07-12 21:59:54 +02:00
dwc3 usb: dwc3-generic: Allow different controller DT node pattern 2023-02-22 19:40:11 +01:00
emul sandbox: check lseek return value in handle_ufi_command 2022-11-22 15:13:35 -07:00
eth usb: eth: Remove non-DM_ETH code 2022-12-07 16:04:17 -05:00
gadget usb: gadget: Fix typo in obj line 2023-02-11 09:25:44 -05:00
host Correct SPL uses of IMX_MODULE_FUSE 2023-02-10 07:41:39 -05: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 Correct SPL uses of USB_MUSB_HOST 2023-02-10 07:41:40 -05: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: onboard-hub: add driver to manage onboard hub supplies 2023-01-12 16:19:53 +01:00