Home
last modified time | relevance | path

Searched hist:c0de53344560ec25c94219a5f7d650d04b2cf3ae (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Ddwc3-generic.hc0de53344560ec25c94219a5f7d650d04b2cf3ae Mon Feb 20 05:50:28 UTC 2023 Kunihiko Hayashi <hayashi.kunihiko@socionext.com> UPSTREAM: usb: dwc3-generic: Export glue structures and functions

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.

Change-Id: I0464fa8121a8ffc4d473f03be9940c5874f193be
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit ef2313b8a26e83c92a14b43b3b3bb1c7af017d98)
H A Ddwc3-generic.cc0de53344560ec25c94219a5f7d650d04b2cf3ae Mon Feb 20 05:50:28 UTC 2023 Kunihiko Hayashi <hayashi.kunihiko@socionext.com> UPSTREAM: usb: dwc3-generic: Export glue structures and functions

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.

Change-Id: I0464fa8121a8ffc4d473f03be9940c5874f193be
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
(cherry picked from commit ef2313b8a26e83c92a14b43b3b3bb1c7af017d98)