xref: /OK3568_Linux_fs/kernel/drivers/phy/socionext/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# PHY drivers for Socionext platforms.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig PHY_UNIPHIER_USB2
7*4882a593Smuzhiyun	tristate "UniPhier USB2 PHY driver"
8*4882a593Smuzhiyun	depends on ARCH_UNIPHIER || COMPILE_TEST
9*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
10*4882a593Smuzhiyun	select GENERIC_PHY
11*4882a593Smuzhiyun	select MFD_SYSCON
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  Enable this to support USB PHY implemented on USB2 controller
14*4882a593Smuzhiyun	  on UniPhier SoCs. This driver provides interface to interact
15*4882a593Smuzhiyun	  with USB 2.0 PHY that is part of the UniPhier SoC.
16*4882a593Smuzhiyun	  In case of Pro4, it is necessary to specify this USB2 PHY instead
17*4882a593Smuzhiyun	  of USB3 HS-PHY.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig PHY_UNIPHIER_USB3
20*4882a593Smuzhiyun	tristate "UniPhier USB3 PHY driver"
21*4882a593Smuzhiyun	depends on ARCH_UNIPHIER || COMPILE_TEST
22*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
23*4882a593Smuzhiyun	select GENERIC_PHY
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  Enable this to support USB PHY implemented in USB3 controller
26*4882a593Smuzhiyun	  on UniPhier SoCs. This controller supports USB3.0 and lower speed.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunconfig PHY_UNIPHIER_PCIE
29*4882a593Smuzhiyun	tristate "Uniphier PHY driver for PCIe controller"
30*4882a593Smuzhiyun	depends on ARCH_UNIPHIER || COMPILE_TEST
31*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
32*4882a593Smuzhiyun	default PCIE_UNIPHIER
33*4882a593Smuzhiyun	select GENERIC_PHY
34*4882a593Smuzhiyun	help
35*4882a593Smuzhiyun	  Enable this to support PHY implemented in PCIe controller
36*4882a593Smuzhiyun	  on UniPhier SoCs. This driver supports LD20 and PXs3 SoCs.
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunconfig PHY_UNIPHIER_AHCI
39*4882a593Smuzhiyun	tristate "UniPhier AHCI PHY driver"
40*4882a593Smuzhiyun	depends on ARCH_UNIPHIER || COMPILE_TEST
41*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
42*4882a593Smuzhiyun	default SATA_AHCI_PLATFORM
43*4882a593Smuzhiyun	select GENERIC_PHY
44*4882a593Smuzhiyun	help
45*4882a593Smuzhiyun	  Enable this to support PHY implemented in AHCI controller
46*4882a593Smuzhiyun	  on UniPhier SoCs. This driver supports PXs2 and PXs3 SoCs.
47