[PATCH 0/5] rockchip: rk3568: Use dwc3-generic driver
Jonas Karlman
jonas at kwiboo.se
Tue May 30 12:26:20 CEST 2023
This series add support for rk3568 in dwc3-generic driver and change to
use the dwc3-generic driver for rk3568 devices having usb enabled.
After these changes it should be possible to support usb gadget on
rk3568 with e.g.:
# CONFIG_USB_FUNCTION_FASTBOOT is not set
CONFIG_DM_USB_GADGET=y
CONFIG_USB_GADGET=y
Patch 1 reverts addition of now unnecessary regulator-boot-on props.
Patch 2 improve support for childless glue/ctrl dt node.
Patch 3 relax a hard error when usb gadget support is not enabled.
Patch 4 add support for the glue/ctrl dt node used by rk3568.
Patch 5 change rk3568 devices to use dwc3-generic driver.
This series is also available at [1]
[1] https://github.com/Kwiboo/u-boot-rockchip/commits/rk3568-dwc3-generic-v1
Jonas Karlman (5):
Revert "arm: dts: rockchip: radxa-cm3-io, rock-3a: enable regulators
for usb"
usb: dwc3-generic: Return early when there is no child node
usb: dwc3-generic: Relax unsupported dr_mode check
usb: dwc3-generic: Add rk3568 support
rockchip: rk3568: Use dwc3-generic driver
arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 4 ---
arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 8 ------
configs/radxa-cm3-io-rk3566_defconfig | 2 +-
configs/rock-3a-rk3568_defconfig | 2 +-
drivers/usb/dwc3/dwc3-generic.c | 27 ++++++++++++++++----
5 files changed, 24 insertions(+), 19 deletions(-)
--
2.40.1
More information about the U-Boot
mailing list