public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/6] Add support for DM_USB and DM_USB_DEV to TI's K2G platforms
@ 2018-12-04 10:12 Jean-Jacques Hiblot
  2018-12-04 10:12 ` [U-Boot] [PATCH v2 1/6] usb: dwc3-generic: make it compatible with "ti, keystone-dwc3" Jean-Jacques Hiblot
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Jean-Jacques Hiblot @ 2018-12-04 10:12 UTC (permalink / raw)
  To: u-boot


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-12-06 22:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-04 10:12 [U-Boot] [PATCH v2 0/6] Add support for DM_USB and DM_USB_DEV to TI's K2G platforms Jean-Jacques Hiblot
2018-12-04 10:12 ` [U-Boot] [PATCH v2 1/6] usb: dwc3-generic: make it compatible with "ti, keystone-dwc3" Jean-Jacques Hiblot
2018-12-04 10:12 ` [U-Boot] [PATCH v2 2/6] board: ks2_evm: Enable the USB clocks if DM_USB is used Jean-Jacques Hiblot
2018-12-05  3:12   ` Tom Rini
2018-12-04 10:12 ` [U-Boot] [PATCH v2 3/6] ARM: dts: k2g-evm: enable USB0 and USB1 Jean-Jacques Hiblot
2018-12-05  3:12   ` Tom Rini
2018-12-04 10:12 ` [U-Boot] [PATCH v2 4/6] PHY: Add phy driver for the keystone USB PHY Jean-Jacques Hiblot
2018-12-04 10:13 ` [U-Boot] [PATCH v2 5/6] usb: host: replace xhci-keystone driver by the generic dwc3 driver Jean-Jacques Hiblot
2018-12-04 10:13 ` [U-Boot] [PATCH v2 6/6] configs: k2g_evm: Enable DFU on K2G EVM Jean-Jacques Hiblot
2018-12-05  3:12   ` Tom Rini
2018-12-06 22:09 ` [U-Boot] [PATCH v2 0/6] Add support for DM_USB and DM_USB_DEV to TI's K2G platforms Lukasz Majewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox