[U-Boot] [PATCH v3 00/10] Add support for DM_USB for TI's DRA7 EVMs and AM57 EVMs platforms
Jean-Jacques Hiblot
jjhiblot at ti.com
Mon Mar 26 13:50:23 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/AM57 families. It
leverages the work done for the STi family.
This series applies on top of "xhci-dwc3: Couple of fixes for USB3 support"
limitation:
- only Host mode is supported. The Device mode can be added later.
Tested on:
- dra7 evm
- dra71 evm
- dra72 evm
- dra72 evm rev C
- dra76 evm
- AM572 evm
Changes in v3:
- in syscon_regmap_lookup_by_phandle(), use dev_dbg() instead of printf()
- added unit test for syscon_regmap_lookup_by_phandle()
- use the live tree API in the omap5 glue logic
Changes in v2:
- Add USB3 support to ti-pipe3-phy driver
- omap-usb2-phy: Implement power_on and power_off callbacks
- am57xx boards: when DM_USB is used, turn on the required USB clocks
- split dts changes in 2 commits: one for binding the children of
ocp2scp at 4a080000, and one to disable USB1 on all DRA7 EVMs
- Instead of disabling USB1 port in dts files, use *-u-boot.dtsi files
- Enable DM_USB in am57xx_evm_defconfig. USB3 (super speed) is supported.
Jean-Jacques Hiblot (8):
syscon: dm: Add a new method to get a regmap from DTS
usb: omap5: Add glue logic to support DM for USB host
phy: Add a new driver for OMAP's USB2 PHYs
board: ti: dra7xx-evm: turn on USB clocks in late init stage
dts: dra7x: make ocp2scp at 4a080000 compatible with simple-bus
dts: dra7x: Disable USB1 on all evms
configs: enable DM_USB for all the platforms of the DRA7 family
configs: am57xx_evm: Enable DM_USB and dependencies
Vignesh R (2):
phy: ti-pip3-phy: Add support for USB3 PHY
board; ti: am57xx: turn on USB clocks
arch/arm/dts/dra7-evm-u-boot.dtsi | 8 ++
arch/arm/dts/dra71-evm-u-boot.dtsi | 9 ++
arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 8 ++
arch/arm/dts/dra72-evm-u-boot.dtsi | 23 ++++
arch/arm/dts/dra76-evm-u-boot.dtsi | 9 ++
arch/arm/dts/omap5-u-boot.dtsi | 4 +
arch/sandbox/dts/test.dts | 6 +-
board/ti/am57xx/board.c | 19 +++
board/ti/dra7xx/evm.c | 19 +++
configs/am57xx_evm_defconfig | 5 +
configs/dra7xx_evm_defconfig | 2 +
configs/dra7xx_hs_evm_defconfig | 2 +
drivers/core/syscon-uclass.c | 23 ++++
drivers/phy/Kconfig | 8 ++
drivers/phy/Makefile | 1 +
drivers/phy/omap-usb2-phy.c | 198 ++++++++++++++++++++++++++++++++
drivers/phy/ti-pipe3-phy.c | 30 +++--
drivers/usb/host/Kconfig | 10 ++
drivers/usb/host/Makefile | 1 +
drivers/usb/host/dwc3-omap-glue.c | 60 ++++++++++
include/syscon.h | 13 +++
test/dm/syscon.c | 29 +++++
22 files changed, 478 insertions(+), 9 deletions(-)
create mode 100644 arch/arm/dts/dra72-evm-u-boot.dtsi
create mode 100644 drivers/phy/omap-usb2-phy.c
create mode 100644 drivers/usb/host/dwc3-omap-glue.c
--
2.7.4
More information about the U-Boot
mailing list