kernel: usb: kmod-usb-dwc3: add gadget and dual-role modes support
authorThomas Richard <[email protected]>
Fri, 27 Jun 2025 08:28:08 +0000 (10:28 +0200)
committerHauke Mehrtens <[email protected]>
Fri, 8 Aug 2025 16:06:51 +0000 (18:06 +0200)
commit0546f8b74d5860b5a44f453b6842f51a58842cb9
treefb44bccdeebd8eab0a54e4b4788fbd945d795083
parent0f782fc2e9ed25767b4351047e815e9dc8ac8298
kernel: usb: kmod-usb-dwc3: add gadget and dual-role modes support

Build DWC3 driver in the right mode:
- host mode if kernel have usb host support only.
- gadget mode if kernel have usbgadget support only.
- dual-role mode if kernel have both usb host and usbgadget support.

Signed-off-by: Thomas Richard <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/19246
Signed-off-by: Hauke Mehrtens <[email protected]>
package/kernel/linux/modules/usb.mk