[PATCH 1/5] usb: dwc3-generic: Export glue structures and functions
Marek Vasut
marex at denx.de
Mon Jan 23 02:38:25 CET 2023
On 1/23/23 01:47, Kunihiko Hayashi wrote:
> In order to allow external SoC-dependent glue drivers to use dwc3-generic
> functions, push the glue structures and export the functions to a header
> file.
>
> The exported structures and functions are:
>
> - struct dwc3_glue_data
> - struct dwc3_glue_ops
> - dwc3_glue_bind()
> - dwc3_glue_probe()
> - dwc3_glue_remove()
>
> The SoC-dependent glue drivers can only define their own wrapper driver
> and specify these functions. The drivers can also add their own compatible
> strings and configure functions.
>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko at socionext.com>
Reviewed-by: Marek Vasut <marex at denx.de>
More information about the U-Boot
mailing list