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