qcom_dwc3: add initial Qualcomm SoC DWC3 controller glue

This adds some very simple DWC3 glue for the IPQ4018/IPQ4019.
Other chipsets introduce reset line iteration, some further
clock line iteration and some customisations; I'll look at adding
those later.

This is enough to finally bring up USB 3.0 on my IPQ4018 ASUS
RT-58U router.
This commit is contained in:
Adrian Chadd
2021-12-27 18:25:32 -08:00
parent 86f0c3ec13
commit 777963afb5
3 changed files with 189 additions and 0 deletions
+7
View File
@@ -65,3 +65,10 @@ options ARM_FORCE_DBG_MONITOR_DISABLE
# USB PHY support
device qcom_ipq4018_hs_usbphy
device qcom_ipq4018_ss_usbphy
# USB support
device usb
device xhci
device dwc3
device qcom_dwc3
options USB_HOST_ALIGN=64
+2
View File
@@ -6,6 +6,8 @@ arm/qualcomm/qcom_cpu_kpssv2.c optional smp
arm/qualcomm/ipq4018_usb_hs_phy.c optional qcom_ipq4018_hs_usbphy
arm/qualcomm/ipq4018_usb_ss_phy.c optional qcom_ipq4018_ss_usbphy
dev/qcom_dwc3/qcom_dwc3.c optional qcom_dwc3
dev/qcom_rnd/qcom_rnd.c optional qcom_rnd
dev/qcom_qup/qcom_spi.c optional qcom_qup_spi