[PATCH 0/8] i.MX8MM: add host/gadget support
Peng Fan
peng.fan at nxp.com
Mon Oct 12 08:23:46 CEST 2020
This patchset is based on
https://patchwork.ozlabs.org/project/uboot/list/?series=202112
https://patchwork.ozlabs.org/project/uboot/list/?series=202117
In this patchset, A new pure DM USB driver was added to driver/use/imx
which will be used to hold i.MX DM USB stuff, the ehci-mx6.c will retire
step by step after more code moved.
It also includes the DM GADGET part of ci udc, my future idea is to
add gadget support in driver/usb/imx/ and use one driver to handle
host and gadget support.
The i.MX8MM EVK board has a typec devices, so need to setup the typec,
this piece code was added in board/freescale/common.
Stefano:
This might not be good to merge the patches into one patchset,
but to make people could easy to setup test, so send in a whole.
Marek:
Please see whether you are fine moving the code to drivers/usb/imx/
Peng Fan (6):
power: regulator: add dummy helper
phy: nop-phy: add optional clk
usb: imx: add i.MX usb ehci driver
imx8m: enable usb power domain
imx8mm_evk: add usbotg1 host support
imx8mm_evk: add fastboot support
Sherry Sun (1):
usb: ci_udc: Convert driver to DM_USB_GADGET
Ye Li (1):
tcpc: Add driver for USB typec port controller (TCPC)
Makefile | 1 +
arch/arm/dts/imx8mm-evk-u-boot.dtsi | 43 +
arch/arm/include/asm/arch-imx8m/sys_proto.h | 1 +
arch/arm/include/asm/mach-imx/regs-usbphy.h | 5 +
arch/arm/include/asm/mach-imx/sys_proto.h | 2 +
arch/arm/mach-imx/imx8m/soc.c | 55 +
board/freescale/common/Kconfig | 6 +
board/freescale/common/Makefile | 4 +
board/freescale/common/tcpc.c | 1018 +++++++++++++++++++
board/freescale/common/tcpc.h | 469 +++++++++
board/freescale/imx8mm_evk/Kconfig | 1 +
board/freescale/imx8mm_evk/imx8mm_evk.c | 181 ++++
configs/imx8mm_evk_defconfig | 23 +
drivers/Makefile | 1 +
drivers/phy/nop-phy.c | 34 +
drivers/usb/Kconfig | 2 +
drivers/usb/gadget/ci_udc.c | 305 +++++-
drivers/usb/host/ehci-mx6.c | 15 +-
drivers/usb/imx/Kconfig | 10 +
drivers/usb/imx/Makefile | 5 +
drivers/usb/imx/ehci-imx.c | 406 ++++++++
drivers/usb/imx/imx-usb-misc.c | 47 +
include/configs/imx8mm_evk.h | 17 +
include/power/regulator.h | 114 +++
include/usb/ci_udc.h | 3 +
25 files changed, 2750 insertions(+), 18 deletions(-)
create mode 100644 board/freescale/common/tcpc.c
create mode 100644 board/freescale/common/tcpc.h
create mode 100644 drivers/usb/imx/Kconfig
create mode 100644 drivers/usb/imx/Makefile
create mode 100644 drivers/usb/imx/ehci-imx.c
create mode 100644 drivers/usb/imx/imx-usb-misc.c
--
2.28.0
More information about the U-Boot
mailing list