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