Linux USB
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Add Allwinner A733 USB 2.0 host support
@ 2026-11-30  1:16 Alastair D'Silva
  2026-11-30  1:16 ` [PATCH v2 1/9] dt-bindings: phy: allwinner,sun50i-a64-usb-phy: Add Allwinner A733 Alastair D'Silva
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Alastair D'Silva @ 2026-11-30  1:16 UTC (permalink / raw)
  To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Greg Kroah-Hartman, Alan Stern,
	Chen-Yu Tsai, Jernej Skrabec, Samuel Holland
  Cc: Maxime Ripard, Andre Przywara, Daniel Golle, Enzo Adriano,
	Vinicius Pedrosa, linux-phy, devicetree, linux-arm-kernel,
	linux-sunxi, linux-usb, linux-kernel, Alastair D'Silva

This series adds USB 2.0 host support (USB PHY, EHCI, and OHCI) for the
Allwinner A733 (sun60i-a733) SoC and enables USB1 on the Xunlong OrangePi
4 Pro and Radxa Cubie A7A, A7S, and A7Z. USB 3.0 (DWC3, u2phy, ComboPHY)
is left for a separate series.

Expected result: the A733 USB 2.0 PHY, EHCI, and OHCI host controllers
probe without clk_ignore_unused, enable the USB1 VBUS regulator where
present, and enumerate USB 2.0 devices with full DMA transfers.

Tested v1 on the Xunlong OrangePi 4 Pro with a USB 2.0 hub and a SanDisk
Ultra Fit flash drive (up to 32.0 MiB/s sequential reads via dd). The Radxa
Cubie A7A, A7S, and A7Z board patches are compile- and dtbs_check-tested
from their published schematics.

Changes since v1 (https://lore.kernel.org/r/20261127100808.2292229-1-alastair@d-silva.org):
- Drop the CCU patch marking mbus-msi-lite2 as CLK_IS_CRITICAL (Daniel Golle).
- Pass CLK_MBUS_MSI_LITE2 directly in ehci0/ohci0/ehci1/ohci1, allow 5
  EHCI clocks and 4 OHCI clocks in the bindings for A733, and increase
  EHCI_MAX_CLKS to 5 in ehci-platform (Daniel Golle).
- Enable USB 2.0 host on Radxa Cubie A7A, A7S, and A7Z.

Prerequisites (on top of linux-next next-20261125):
- arm64: dts: allwinner: add Radxa Cubie A7A board (and A733 SoC)
  https://lore.kernel.org/r/20261126172253.1097838-1-andre.przywara@arm.com
- arm64: dts: allwinner: add Radxa Cubie A7S board
  https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-0@gmail.com
- arm64: dts: allwinner: add Radxa Cubie A7Z board
  https://lore.kernel.org/r/20261125131435.33190-1-vinicius.eduardo.pedrosa@gmail.com
- arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support
  https://lore.kernel.org/r/20261127065343.1449675-1-alastair@d-silva.org

Alastair D'Silva (9):
  dt-bindings: phy: allwinner,sun50i-a64-usb-phy: Add Allwinner A733
  dt-bindings: usb: generic-{ehci,ohci}: Add Allwinner A733
  usb: ehci-platform: Increase EHCI_MAX_CLKS to 5
  phy: allwinner: sun4i-usb: Add Allwinner A733 support
  arm64: dts: allwinner: sun60i-a733: Add USB 2.0 host nodes
  arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable USB 2.0 host
  arm64: dts: allwinner: sun60i-a733-cubie-a7a: Enable USB 2.0 host
  arm64: dts: allwinner: sun60i-a733-cubie-a7s: Enable USB 2.0 host
  arm64: dts: allwinner: sun60i-a733-cubie-a7z: Enable USB 2.0 host

 .../phy/allwinner,sun50i-a64-usb-phy.yaml     |  24 ++++
 .../devicetree/bindings/usb/generic-ehci.yaml |  17 ++-
 .../devicetree/bindings/usb/generic-ohci.yaml |   5 +-
 .../dts/allwinner/sun60i-a733-cubie-a7a.dts   |  24 ++++
 .../dts/allwinner/sun60i-a733-cubie-a7s.dts   |  24 ++++
 .../dts/allwinner/sun60i-a733-cubie-a7z.dts   |  12 ++
 .../allwinner/sun60i-a733-orangepi-4-pro.dts  |  31 +++++
 .../arm64/boot/dts/allwinner/sun60i-a733.dtsi |  86 +++++++++++++
 drivers/phy/allwinner/phy-sun4i-usb.c         | 119 +++++++++++++-----
 drivers/usb/host/ehci-platform.c              |   2 +-
 10 files changed, 310 insertions(+), 34 deletions(-)


base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
prerequisite-patch-id: 0279f281cd59cf54bceee39b0fa4d0b6a7b87c48
prerequisite-patch-id: 14424bd8324b6cae2b8c4d6840df0db626d1385f
prerequisite-patch-id: 7b42728bc8271e5dfd57fffec47a7f5745eff357
prerequisite-patch-id: 74f5c7d066477024a374a789b3180e841398fb07
prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
-- 
2.53.0


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

end of thread, other threads:[~2026-11-30  1:28 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  1:16 [PATCH v2 0/9] Add Allwinner A733 USB 2.0 host support Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 1/9] dt-bindings: phy: allwinner,sun50i-a64-usb-phy: Add Allwinner A733 Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 2/9] dt-bindings: usb: generic-{ehci,ohci}: " Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 3/9] usb: ehci-platform: Increase EHCI_MAX_CLKS to 5 Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 4/9] phy: allwinner: sun4i-usb: Add Allwinner A733 support Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 5/9] arm64: dts: allwinner: sun60i-a733: Add USB 2.0 host nodes Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 6/9] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable USB 2.0 host Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 7/9] arm64: dts: allwinner: sun60i-a733-cubie-a7a: " Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 8/9] arm64: dts: allwinner: sun60i-a733-cubie-a7s: " Alastair D'Silva
2026-11-30  1:16 ` [PATCH v2 9/9] arm64: dts: allwinner: sun60i-a733-cubie-a7z: " Alastair D'Silva
2026-11-30  1:28 ` [PATCH v2 0/9] Add Allwinner A733 USB 2.0 host support sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox