From patchwork Tue Apr 28 06:27:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wang X-Patchwork-Id: 238726 List-Id: U-Boot discussion From: frank.wang at rock-chips.com (Frank Wang) Date: Tue, 28 Apr 2020 14:27:39 +0800 Subject: [PATCH 0/8] Add Rockchip RK3399 USB3.0 Host support Message-ID: <20200428062747.8349-1-frank.wang@rock-chips.com> This series add quirks for DWC3 and add Rockchip RK3399 USB3.0 host support. Frank Wang (8): 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 phy: rockchip: add a new driver for type-c phy driver: usb: drop legacy rockchip xhci driver ARM: dts: rockchip: amend dwc3 nodes to keep in line with kernel configs: evb-rk3399: enable usb3.0 host support arch/arm/dts/rk3399-evb.dts | 28 +- arch/arm/dts/rk3399-puma.dtsi | 35 +- arch/arm/dts/rk3399-u-boot.dtsi | 11 + arch/arm/dts/rk3399.dtsi | 64 +-- configs/evb-rk3399_defconfig | 5 + drivers/phy/Kconfig | 6 + drivers/phy/Makefile | 1 + drivers/phy/phy-rockchip-typec.c | 534 +++++++++++++++++++++++++ drivers/usb/common/common.c | 25 ++ drivers/usb/dwc3/core.c | 77 ++-- drivers/usb/dwc3/core.h | 8 + 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 + include/linux/usb/rockchip_phy_typec.h | 52 +++ 18 files changed, 829 insertions(+), 276 deletions(-) create mode 100644 drivers/phy/phy-rockchip-typec.c delete mode 100644 drivers/usb/host/xhci-rockchip.c create mode 100644 include/linux/usb/rockchip_phy_typec.h