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