Skip to content

Add support for DM_USB and DM_USB_DEV to TI's K2G platforms

Lukasz Majewski u-boot 1 version New

Get series with b4
b4 am 20181206230901.3e43ed0f@jawa

Versions newest first

  1. v2 Latest0 of 6 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/6] Add support for DM_USB and DM_USB_DEV to TI's K2G platforms

Hi Jean-Jacques, Marek,

Quoted 10 lines

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

I'm not sure if I shall wait for Marek's PR to Tom (preferred) or send new PR to Marek?

Marek what do you think?

Quoted 30 lines

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
Quoted 6 lines

-----------------------------------
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

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de -------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181206/d3307e58/attachment.sig>