mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-28 09:09:34 -04:00
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>
14 lines
427 B
Plaintext
14 lines
427 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for SpacemiT platforms
|
|
#
|
|
config PHY_SPACEMIT_K1_USB2
|
|
tristate "SpacemiT K1 USB 2.0 PHY support"
|
|
depends on (ARCH_SPACEMIT || COMPILE_TEST) && OF
|
|
depends on COMMON_CLK
|
|
depends on USB_COMMON
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support K1 USB 2.0 PHY driver. This driver takes care of
|
|
enabling and clock setup and will be used by K1 udc/ehci/otg/xhci driver.
|