All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] Enable USB in device mode on i.MX8ULP EVK
@ 2025-12-16  6:38 alice.guo
  2025-12-16  6:38 ` [PATCH v1 1/7] usb: ehci-mx6: Move USB PHY register definitions to common header alice.guo
                   ` (6 more replies)
  0 siblings, 7 replies; 21+ messages in thread
From: alice.guo @ 2025-12-16  6:38 UTC (permalink / raw)
  To: NXP i.MX U-Boot Team, u-boot
  Cc: Stefano Babic, Fabio Estevam, Tom Rini, Marek Vasut, Marek Vasut,
	Ye Li, Tim Harvey, Peng Fan, Mattijs Korpershoek, Lukasz Majewski,
	Sherry Sun, Kever Yang, Jonas Karlman, Quentin Schulz,
	George Chan, Simon Glass, David Zang, Alice Guo

Changes for v1:
- Refactor USB PHY register definitions to a common header file to
  enable code sharing between ehci-mx6.c and ci_udc.c.
- Fix the usb_oc_config() function to correctly handle overcurrent
  configuration on i.MX7/8M/9/7ULP/8/8ULP platforms, where the register
  layout differs from i.MX6.
- Extract PHY initialization code into a reusable function that can be
  shared between ehci-mx6.c and ci_udc.c.
- Convert the ci_udc driver to use driver model.
- Updating Kconfig to automatically select DM_USB_GADGET when CI_UDC is
  enabled.
- Add i.MX8ULP platform support.

Tested on i.MX8ULP EVK board with USB mass storage functionality.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
---
Alice Guo (5):
      usb: ehci-mx6: Move USB PHY register definitions to common header
      usb: ehci-mx6: Fix usb_oc_config() for i.MX7/8M/9/7ULP/8 and 8ULP platforms
      usb: ehci-mx6: Extract PHY initialization into reusable function
      usb: gadget: ci_udc: Add i.MX8ULP support
      imx8ulp_evk: Enable USB controller at 0x29920000 in device mode

Sherry Sun (2):
      usb: ci_udc: Convert driver to DM_USB_GADGET
      usb: Kconfig: imply DM_USB_GADGET

 arch/arm/dts/imx8ulp-evk-u-boot.dtsi        |  17 ++
 arch/arm/include/asm/mach-imx/regs-usbphy.h |   3 +
 configs/imx8ulp_evk_defconfig               |   7 +
 drivers/usb/gadget/Kconfig                  |   2 +-
 drivers/usb/gadget/ci_udc.c                 | 354 +++++++++++++++++++++++++++-
 drivers/usb/host/ehci-mx6.c                 |  93 ++++++--
 include/usb/ci_udc.h                        |   9 +
 7 files changed, 465 insertions(+), 20 deletions(-)
---
base-commit: d21fcfb29ec2871976de8d21ea0e60fb13ce032f
change-id: 20251216-imx8ulp-129e9fdc1128

Best regards,
-- 
Alice Guo <alice.guo@nxp.com>


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2025-12-25 21:46 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-16  6:38 [PATCH 0/7] Enable USB in device mode on i.MX8ULP EVK alice.guo
2025-12-16  6:38 ` [PATCH v1 1/7] usb: ehci-mx6: Move USB PHY register definitions to common header alice.guo
2025-12-16  6:38 ` [PATCH v1 2/7] usb: ehci-mx6: Fix usb_oc_config() for i.MX7/8M/9/7ULP/8 and 8ULP platforms alice.guo
2025-12-16 11:15   ` Marek Vasut
2025-12-25 10:41     ` 回复: " Alice Guo (OSS)
2025-12-25 20:56       ` Marek Vasut
2025-12-16  6:38 ` [PATCH v1 3/7] usb: ehci-mx6: Extract PHY initialization into reusable function alice.guo
2025-12-16  9:52   ` [PATCH v1 3/7] usb: ehci-mx6: Extract PHY initialization into reusable functionr Yao Zi
2025-12-16 11:17   ` [PATCH v1 3/7] usb: ehci-mx6: Extract PHY initialization into reusable function Marek Vasut
2025-12-25 10:49     ` 回复: " Alice Guo (OSS)
2025-12-16  6:38 ` [PATCH v1 4/7] usb: ci_udc: Convert driver to DM_USB_GADGET alice.guo
2025-12-16 10:00   ` Yao Zi
2025-12-16 11:19   ` Marek Vasut
2025-12-16 14:07   ` Tom Rini
2025-12-16  6:38 ` [PATCH v1 5/7] usb: Kconfig: imply DM_USB_GADGET alice.guo
2025-12-16  9:49   ` Quentin Schulz
2025-12-16 10:07     ` Yao Zi
2025-12-25 10:16     ` 回复: " Alice Guo (OSS)
2025-12-25 15:06       ` Tom Rini
2025-12-16  6:38 ` [PATCH v1 6/7] usb: gadget: ci_udc: Add i.MX8ULP support alice.guo
2025-12-16  6:38 ` [PATCH v1 7/7] imx8ulp_evk: Enable USB controller at 0x29920000 in device mode alice.guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.