]> git.ipfire.org Git - thirdparty/linux.git/commit
phy: spacemit: support K1 USB2.0 PHY controller
authorZe Huang <huang.ze@linux.dev>
Fri, 17 Oct 2025 14:49:53 +0000 (22:49 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 1 Jan 2026 10:55:49 +0000 (16:25 +0530)
commitfe4bc1a08638309b6be1af37210930b856908eb7
treecef9713d83a62f16f5483253a99e0c00b3ec4567
parent61b84d5b20af2a4c9944972202c1386026598928
phy: spacemit: support K1 USB2.0 PHY controller

The SpacemiT K1 SoC includes three USB ports:

- One USB2.0 OTG port
- One USB2.0 host-only port
- One USB3.0 port with an integrated USB2.0 DRD interface

Each of these ports is connected to a USB2.0 PHY responsible for USB2
transmission.

This commit adds support for the SpacemiT K1 USB2.0 PHY, which is
compliant with the USB 2.0 specification and supports both 8-bit 60MHz
and 16-bit 30MHz parallel interfaces.

Signed-off-by: Ze Huang <huang.ze@linux.dev>
Tested-by: Aurelien Jarno <aurelien@aurel32.net>
Tested-by: Junzhong Pan <panjunzhong@linux.spacemit.com>
Link: https://patch.msgid.link/20251017-k1-usb2phy-v6-2-7cf9ea2477a1@linux.dev
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/Kconfig
drivers/phy/Makefile
drivers/phy/spacemit/Kconfig [new file with mode: 0644]
drivers/phy/spacemit/Makefile [new file with mode: 0644]
drivers/phy/spacemit/phy-k1-usb2.c [new file with mode: 0644]