mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 09:02:21 -04:00
Commitfe4bc1a086("phy: spacemit: support K1 USB2.0 PHY controller") created spacemit subfolder with usb driver while commit57e920b927("phy: spacemit: Introduce PCIe/combo PHY") added pcie driver in phy folder. Move latter into spacemit subfolder and rename file to phy-k1-pcie.c Reviewed-by: Alex Elder <elder@riscstar.com> Reviewed-by: Yixun Lan <dlan@kernel.org> Link: https://patch.msgid.link/20260223064240.386617-1-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
26 lines
775 B
Plaintext
26 lines
775 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for SpacemiT platforms
|
|
#
|
|
config PHY_SPACEMIT_K1_PCIE
|
|
tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC"
|
|
depends on ARCH_SPACEMIT || COMPILE_TEST
|
|
depends on COMMON_CLK
|
|
depends on HAS_IOMEM
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
default ARCH_SPACEMIT
|
|
help
|
|
Enable support for the PCIe and USB 3 combo PHY and two
|
|
PCIe-only PHYs used in the SpacemiT K1 SoC.
|
|
|
|
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.
|