xref: /linux/drivers/phy/starfive/Kconfig (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
116d3a71cSMinda Chen# SPDX-License-Identifier: GPL-2.0-only
216d3a71cSMinda Chen#
316d3a71cSMinda Chen# Phy drivers for StarFive platforms
416d3a71cSMinda Chen#
516d3a71cSMinda Chen
6e7379477SGeert Uytterhoevenif ARCH_STARFIVE || COMPILE_TEST
7e7379477SGeert Uytterhoeven
8f8aa6608SChanghuang Liangconfig PHY_STARFIVE_JH7110_DPHY_RX
9f8aa6608SChanghuang Liang	tristate "StarFive JH7110 D-PHY RX support"
10ec6beb82SVinod Koul	depends on HAS_IOMEM
11f8aa6608SChanghuang Liang	select GENERIC_PHY
12f8aa6608SChanghuang Liang	select GENERIC_PHY_MIPI_DPHY
13f8aa6608SChanghuang Liang	help
14f8aa6608SChanghuang Liang	  Choose this option if you have a StarFive D-PHY in your
15f8aa6608SChanghuang Liang	  system. If M is selected, the module will be called
16f8aa6608SChanghuang Liang	  phy-jh7110-dphy-rx.ko.
17f8aa6608SChanghuang Liang
18*d3ab7955SShengyang Chenconfig PHY_STARFIVE_JH7110_DPHY_TX
19*d3ab7955SShengyang Chen	tristate "StarFive JH7110 D-PHY TX Support"
20*d3ab7955SShengyang Chen	depends on HAS_IOMEM
21*d3ab7955SShengyang Chen	select GENERIC_PHY
22*d3ab7955SShengyang Chen	select GENERIC_PHY_MIPI_DPHY
23*d3ab7955SShengyang Chen	help
24*d3ab7955SShengyang Chen	  Choose this option if you have a StarFive D-PHY TX in your
25*d3ab7955SShengyang Chen	  system. If M is selected, the module will be called
26*d3ab7955SShengyang Chen	  phy-jh7110-dphy-tx.ko.
27*d3ab7955SShengyang Chen
28fd097f48SMinda Chenconfig PHY_STARFIVE_JH7110_PCIE
29fd097f48SMinda Chen	tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
30fd097f48SMinda Chen	depends on HAS_IOMEM
31fd097f48SMinda Chen	select GENERIC_PHY
32fd097f48SMinda Chen	help
33fd097f48SMinda Chen	  Enable this to support the StarFive PCIe 2.0 PHY,
34fd097f48SMinda Chen	  or used as USB 3.0 PHY.
35fd097f48SMinda Chen	  If M is selected, the module will be called
36fd097f48SMinda Chen	  phy-jh7110-pcie.ko.
37fd097f48SMinda Chen
3816d3a71cSMinda Chenconfig PHY_STARFIVE_JH7110_USB
3916d3a71cSMinda Chen	tristate "Starfive JH7110 USB 2.0 PHY support"
4016d3a71cSMinda Chen	depends on USB_SUPPORT
4116d3a71cSMinda Chen	select GENERIC_PHY
4216d3a71cSMinda Chen	help
4316d3a71cSMinda Chen	  Enable this to support the StarFive USB 2.0 PHY,
4416d3a71cSMinda Chen	  used with the Cadence USB controller.
4516d3a71cSMinda Chen	  If M is selected, the module will be called
4616d3a71cSMinda Chen	  phy-jh7110-usb.ko.
47e7379477SGeert Uytterhoeven
48e7379477SGeert Uytterhoevenendif # ARCH_STARFIVE || COMPILE_TEST
49