This series change to use the dwc3-generic driver on all RK3328 and RK3399 boards. Also switch to use DM_USB_GADGET and remove then obsolete board_usb_init() and dm_usb_gadget_handle_interrupts() functions.
First patch change all RK33xx boards to use dwc3-generic driver. Second patch remove obsolete rk3399 usb gadget functions. This has been tested and validated on rockpro64 and rock-pi-4 boards. Changes in v2: - Drop DM_USB_GADGET related changes from first patch - Add DM_USB_GADGET condition to arch Kconfig Jonas Karlman (2): configs: rockchip: Use dwc3-generic driver on RK3328 and RK3399 rockchip: board: Remove dwc3 usb init and gadget handler functions arch/arm/Kconfig | 1 + arch/arm/mach-rockchip/board.c | 30 +------------------ configs/chromebook_bob_defconfig | 2 +- configs/chromebook_kevin_defconfig | 2 +- configs/eaidk-610-rk3399_defconfig | 4 ++- configs/evb-rk3399_defconfig | 1 - configs/firefly-rk3399_defconfig | 1 - configs/khadas-edge-captain-rk3399_defconfig | 4 ++- configs/khadas-edge-rk3399_defconfig | 4 ++- configs/khadas-edge-v-rk3399_defconfig | 4 ++- configs/leez-rk3399_defconfig | 4 ++- configs/nanopc-t4-rk3399_defconfig | 3 +- configs/nanopc-t6-rk3588_defconfig | 1 - configs/nanopi-m4-2gb-rk3399_defconfig | 4 ++- configs/nanopi-m4-rk3399_defconfig | 4 ++- configs/nanopi-m4b-rk3399_defconfig | 4 ++- configs/nanopi-neo4-rk3399_defconfig | 4 ++- configs/nanopi-r4s-rk3399_defconfig | 3 +- configs/orangepi-5-plus-rk3588_defconfig | 1 - configs/orangepi-5-rk3588s_defconfig | 1 - configs/orangepi-r1-plus-lts-rk3328_defconfig | 3 +- configs/orangepi-r1-plus-rk3328_defconfig | 3 +- configs/orangepi-rk3399_defconfig | 4 ++- configs/pinebook-pro-rk3399_defconfig | 1 - configs/pinephone-pro-rk3399_defconfig | 1 - configs/puma-rk3399_defconfig | 1 - configs/roc-pc-mezzanine-rk3399_defconfig | 1 - configs/roc-pc-rk3399_defconfig | 1 - configs/rock-4c-plus-rk3399_defconfig | 1 - configs/rock-4se-rk3399_defconfig | 1 - configs/rock-pi-4-rk3399_defconfig | 1 - configs/rock-pi-4c-rk3399_defconfig | 1 - configs/rock-pi-n10-rk3399pro_defconfig | 1 - configs/rock5a-rk3588s_defconfig | 1 - configs/rock5b-rk3588_defconfig | 1 - configs/rock960-rk3399_defconfig | 3 +- configs/rockpro64-rk3399_defconfig | 1 - drivers/usb/host/Kconfig | 1 - 38 files changed, 44 insertions(+), 65 deletions(-) -- 2.42.0