[U-Boot] [PATCH v1 0/6] Add support for DM_USB for TI's DRA7 platforms

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Jan 5 13:50:37 UTC 2018


Supporting DM USB is required to support DM_ETH and USB network adapters
with the same binary.
This series adds support for DM_USB for the DRA7 family. It leverages the
work done for the STi family.

limitations:
- only USB2 Host is supported. USB2 Device can be added later.
- only DRA7 platforms, though it could be extended to other TI SOCs


Jean-Jacques Hiblot (6):
  board: ti: dra7xx-evm: turn on USB clocks in late init stage
  syscon: dm: Add a new method to get a regmap from DTS
  phy: Add a new driver for OMAP's USB2 PHYs
  usb: omap5: Add glue logic to support DM for USB host
  configs: enable DM_USB for all the platforms of the DRA7 family
  dts: dra7x: enable host on USB2 for all the platforms of the DRA7
    family

 arch/arm/dts/dra7-evm-common.dtsi  |   7 ++
 arch/arm/dts/dra72-evm-common.dtsi |   4 +
 arch/arm/dts/omap5-u-boot.dtsi     |   4 +
 board/ti/dra7xx/evm.c              |  19 ++++
 configs/dra7xx_evm_defconfig       |   2 +
 configs/dra7xx_hs_evm_defconfig    |   2 +
 drivers/core/syscon-uclass.c       |  23 +++++
 drivers/phy/Kconfig                |   8 ++
 drivers/phy/Makefile               |   2 +
 drivers/phy/omap-usb2-phy.c        | 186 +++++++++++++++++++++++++++++++++++++
 drivers/usb/host/Kconfig           |  10 ++
 drivers/usb/host/Makefile          |   1 +
 drivers/usb/host/dwc3-omap-glue.c  |  47 ++++++++++
 include/syscon.h                   |  13 +++
 14 files changed, 328 insertions(+)
 create mode 100644 drivers/phy/omap-usb2-phy.c
 create mode 100644 drivers/usb/host/dwc3-omap-glue.c

-- 
1.9.1



More information about the U-Boot mailing list