162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# PHY drivers for Socionext platforms.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig PHY_UNIPHIER_USB2
762306a36Sopenharmony_ci	tristate "UniPhier USB2 PHY driver"
862306a36Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
962306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
1062306a36Sopenharmony_ci	select GENERIC_PHY
1162306a36Sopenharmony_ci	select MFD_SYSCON
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Enable this to support USB PHY implemented on USB2 controller
1462306a36Sopenharmony_ci	  on UniPhier SoCs. This driver provides interface to interact
1562306a36Sopenharmony_ci	  with USB 2.0 PHY that is part of the UniPhier SoC.
1662306a36Sopenharmony_ci	  In case of Pro4, it is necessary to specify this USB2 PHY instead
1762306a36Sopenharmony_ci	  of USB3 HS-PHY.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig PHY_UNIPHIER_USB3
2062306a36Sopenharmony_ci	tristate "UniPhier USB3 PHY driver"
2162306a36Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
2262306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
2362306a36Sopenharmony_ci	select GENERIC_PHY
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Enable this to support USB PHY implemented in USB3 controller
2662306a36Sopenharmony_ci	  on UniPhier SoCs. This controller supports USB3.0 and lower speed.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig PHY_UNIPHIER_PCIE
2962306a36Sopenharmony_ci	tristate "Uniphier PHY driver for PCIe controller"
3062306a36Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
3162306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
3262306a36Sopenharmony_ci	default PCIE_UNIPHIER
3362306a36Sopenharmony_ci	select GENERIC_PHY
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  Enable this to support PHY implemented in PCIe controller
3662306a36Sopenharmony_ci	  on UniPhier SoCs. This driver supports LD20 and PXs3 SoCs.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciconfig PHY_UNIPHIER_AHCI
3962306a36Sopenharmony_ci	tristate "UniPhier AHCI PHY driver"
4062306a36Sopenharmony_ci	depends on ARCH_UNIPHIER || COMPILE_TEST
4162306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
4262306a36Sopenharmony_ci	default SATA_AHCI_PLATFORM
4362306a36Sopenharmony_ci	select GENERIC_PHY
4462306a36Sopenharmony_ci	help
4562306a36Sopenharmony_ci	  Enable this to support PHY implemented in AHCI controller
4662306a36Sopenharmony_ci	  on UniPhier SoCs. This driver supports Pro4, PXs2 and PXs3 SoCs.
47