18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# PHY drivers for Socionext platforms.
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciconfig PHY_UNIPHIER_USB2
78c2ecf20Sopenharmony_ci	tristate "UniPhier USB2 PHY driver"
88c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
98c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
108c2ecf20Sopenharmony_ci	select GENERIC_PHY
118c2ecf20Sopenharmony_ci	select MFD_SYSCON
128c2ecf20Sopenharmony_ci	help
138c2ecf20Sopenharmony_ci	  Enable this to support USB PHY implemented on USB2 controller
148c2ecf20Sopenharmony_ci	  on UniPhier SoCs. This driver provides interface to interact
158c2ecf20Sopenharmony_ci	  with USB 2.0 PHY that is part of the UniPhier SoC.
168c2ecf20Sopenharmony_ci	  In case of Pro4, it is necessary to specify this USB2 PHY instead
178c2ecf20Sopenharmony_ci	  of USB3 HS-PHY.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig PHY_UNIPHIER_USB3
208c2ecf20Sopenharmony_ci	tristate "UniPhier USB3 PHY driver"
218c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
228c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
238c2ecf20Sopenharmony_ci	select GENERIC_PHY
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Enable this to support USB PHY implemented in USB3 controller
268c2ecf20Sopenharmony_ci	  on UniPhier SoCs. This controller supports USB3.0 and lower speed.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig PHY_UNIPHIER_PCIE
298c2ecf20Sopenharmony_ci	tristate "Uniphier PHY driver for PCIe controller"
308c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
318c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
328c2ecf20Sopenharmony_ci	default PCIE_UNIPHIER
338c2ecf20Sopenharmony_ci	select GENERIC_PHY
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  Enable this to support PHY implemented in PCIe controller
368c2ecf20Sopenharmony_ci	  on UniPhier SoCs. This driver supports LD20 and PXs3 SoCs.
378c2ecf20Sopenharmony_ci
388c2ecf20Sopenharmony_ciconfig PHY_UNIPHIER_AHCI
398c2ecf20Sopenharmony_ci	tristate "UniPhier AHCI PHY driver"
408c2ecf20Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
418c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
428c2ecf20Sopenharmony_ci	default SATA_AHCI_PLATFORM
438c2ecf20Sopenharmony_ci	select GENERIC_PHY
448c2ecf20Sopenharmony_ci	help
458c2ecf20Sopenharmony_ci	  Enable this to support PHY implemented in AHCI controller
468c2ecf20Sopenharmony_ci	  on UniPhier SoCs. This driver supports PXs2 and PXs3 SoCs.
47