xref: /linux/drivers/phy/spacemit/Kconfig (revision 5ea5880764cbb164afb17a62e76ca75dc371409d)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for SpacemiT platforms
4#
5config PHY_SPACEMIT_K1_PCIE
6	tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC"
7	depends on ARCH_SPACEMIT || COMPILE_TEST
8	depends on COMMON_CLK
9	depends on HAS_IOMEM
10	depends on OF
11	select GENERIC_PHY
12	default ARCH_SPACEMIT
13	help
14	  Enable support for the PCIe and USB 3 combo PHY and two
15	  PCIe-only PHYs used in the SpacemiT K1 SoC.
16
17config PHY_SPACEMIT_K1_USB2
18	tristate "SpacemiT K1 USB 2.0 PHY support"
19	depends on (ARCH_SPACEMIT || COMPILE_TEST) && OF
20	depends on COMMON_CLK
21	depends on USB_COMMON
22	select GENERIC_PHY
23	help
24	  Enable this to support K1 USB 2.0 PHY driver. This driver takes care of
25	  enabling and clock setup and will be used by K1 udc/ehci/otg/xhci driver.
26