i.MX8MM: add host/gadget support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | tcpc: Add driver for USB typec port controller (TCPC)board/ board/ board/ +1 more | +1497 | 1 reply | |
| 1/8 | tcpc: Add driver for USB typec port controller (TCPC) | +0 | 1 reply | |
| 1/8 | tcpc: Add driver for USB typec port controller (TCPC) | +0 | 1 reply | |
| 1/8 | tcpc: Add driver for USB typec port controller (TCPC) | +0 | 1 reply | |
| 2/8 | power: regulator: add dummy helperinclude/ | +114 | 0 replies | |
| 3/8 | phy: nop-phy: add optional clkdrivers/ | +34 | 1 reply | |
| 3/8 | phy: nop-phy: add optional clk | +0 | 0 replies | |
| 4/8 | usb: imx: add i.MX usb ehci driverMakefile arch/ arch/ +6 more | +479 | 1 reply | |
| 4/8 | usb: imx: add i.MX usb ehci driver | +0 | 0 replies | |
| 5/8 | imx8m: enable usb power domainarch/ arch/ | +56 | 1 reply | |
| 5/8 | imx8m: enable usb power domain | +0 | 1 reply | |
| 6/8 | imx8mm_evk: add usbotg1 host supportarch/ board/ board/ +2 more | +223 | 0 replies | |
| 7/8 | usb: ci_udc: Convert driver to DM_USB_GADGETdrivers/ drivers/ include/ | +305 | 1 reply | |
| 7/8 | usb: ci_udc: Convert driver to DM_USB_GADGET | +0 | 1 reply | |
| 7/8 | usb: ci_udc: Convert driver to DM_USB_GADGET | +0 | 1 reply | |
| 7/8 | usb: ci_udc: Convert driver to DM_USB_GADGET | +0 | 1 reply | |
| 8/8 | imx8mm_evk: add fastboot supportarch/ configs/ include/ | +43 | 1 reply | |
| 8/8 | imx8mm_evk: add fastboot support | +0 | 0 replies |
Reviews trailers per patch
4 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Ye Li |
|---|---|
| 1/8 | |
| 1/8 | |
| 1/8 | |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 3/8 | |
| 4/8 | |
| 4/8 | |
| 5/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | R-b |
| 7/8 | R-b |
| 7/8 | R-b |
| 7/8 | R-b |
| 8/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] i.MX8MM: add host/gadget support
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
Signature · 1 line
2.28.0