From patchwork Thu May 7 08:12:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wang X-Patchwork-Id: 245263 List-Id: U-Boot discussion From: frank.wang at rock-chips.com (Frank Wang) Date: Thu, 7 May 2020 16:12:06 +0800 Subject: [PATCH v3 0/7] Add Rockchip RK3399 USB3.0 Host support Message-ID: <20200507081213.16107-1-frank.wang@rock-chips.com> This series add quirks for DWC3 and add Rockchip RK3399 USB3.0 host support. Tested on top of Jagan 'rockchip: PHY drivers (USB)' series [1]. For V3 update: - Fix compile error for [PATCH v2 1/9]. - Use Jagan's Type-C driver instead of [PATCH v2 5/9]. - Cleanup dts changes for [PATCH v2 7/9]. - Cleanup config changes for [PATCH v2 8/9] and [PATCH v2 9/9]. For V2 update: - Amend type-c driver followed Jagan's comments for [PATCH 5/8]. - Fix dts commit for [PATCH 7/8]. - Split RK3399 default config for [PATCH 8/8]. - Add 'Reviewed-by' tag for [PATCH 1/8], [PATCH 2/8] and [PATCH 3/8]. [1] https://patchwork.ozlabs.org/project/uboot/cover/20200506075025.1677-1-jagan at amarulasolutions.com BR, Frank Frank Wang (7): usb: dwc3: add dis_enblslpm_quirk usb: dwc3: add dis_u2_freeclk_exists_quirk usb: dwc3: amend UTMI/UTMIW phy interface setup usb: dwc3: add make compatible for rockchip platform driver: usb: drop legacy rockchip xhci driver ARM: dts: rk3399-evb: usb3.0 host support configs: evb-rk3399: update support usb3.0 host arch/arm/dts/rk3399-evb.dts | 13 ++ configs/evb-rk3399_defconfig | 6 + drivers/usb/common/common.c | 25 ++++ drivers/usb/dwc3/core.c | 77 +++++++----- drivers/usb/dwc3/core.h | 9 ++ drivers/usb/dwc3/dwc3-generic.c | 33 +++++- drivers/usb/host/Kconfig | 9 -- drivers/usb/host/Makefile | 1 - drivers/usb/host/xhci-rockchip.c | 196 ------------------------------- include/dwc3-uboot.h | 2 + include/linux/usb/phy.h | 18 +++ 11 files changed, 146 insertions(+), 243 deletions(-) delete mode 100644 drivers/usb/host/xhci-rockchip.c