[U-Boot] [PATCH v2 0/6] Add support for DM_USB and DM_USB_DEV to TI's K2G platforms
Jean-Jacques Hiblot
jjhiblot at ti.com
Tue Dec 4 10:12:55 UTC 2018
The K2G platforms can use the generic DWC3 driver instead of relying on the
keystone-xhci driver.
Benefits are:
- moving toward DM
- brings USB gadget for free
- allows us to remove some code
Tested on:
- K2G EVM
Changes in v2:
- rebased on latest version of u-boot-usb/master
- use DM_USB_GADGET instead of DM_USB_DEV
Jean-Jacques Hiblot (6):
usb: dwc3-generic: make it compatible with "ti,keystone-dwc3"
board: ks2_evm: Enable the USB clocks if DM_USB is used
ARM: dts: k2g-evm: enable USB0 and USB1
PHY: Add phy driver for the keystone USB PHY
usb: host: replace xhci-keystone driver by the generic dwc3 driver
configs: k2g_evm: Enable DFU on K2G EVM
arch/arm/dts/keystone-k2g-evm.dts | 28 ++++
arch/arm/dts/keystone-k2g.dtsi | 56 ++++++++
board/ti/ks2_evm/board.c | 12 ++
configs/k2e_evm_defconfig | 7 +
configs/k2e_hs_evm_defconfig | 7 +
configs/k2g_evm_defconfig | 12 ++
configs/k2g_hs_evm_defconfig | 12 ++
configs/k2hk_evm_defconfig | 7 +
configs/k2hk_hs_evm_defconfig | 7 +
configs/k2l_evm_defconfig | 7 +
configs/k2l_hs_evm_defconfig | 7 +
drivers/phy/Kconfig | 10 ++
drivers/phy/Makefile | 1 +
drivers/phy/keystone-usb-phy.c | 109 ++++++++++++++++
drivers/usb/dwc3/dwc3-generic.c | 1 +
drivers/usb/host/Makefile | 1 -
drivers/usb/host/xhci-keystone.c | 240 -----------------------------------
include/configs/ti_armv7_keystone2.h | 17 ++-
18 files changed, 294 insertions(+), 247 deletions(-)
create mode 100644 drivers/phy/keystone-usb-phy.c
delete mode 100644 drivers/usb/host/xhci-keystone.c
--
2.7.4
More information about the U-Boot
mailing list