xref: /openbmc/linux/drivers/phy/starfive/Kconfig (revision e7379477)
116d3a71cSMinda Chen# SPDX-License-Identifier: GPL-2.0-only
216d3a71cSMinda Chen#
316d3a71cSMinda Chen# Phy drivers for StarFive platforms
416d3a71cSMinda Chen#
516d3a71cSMinda Chen
6*e7379477SGeert Uytterhoevenif ARCH_STARFIVE || COMPILE_TEST
7*e7379477SGeert 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
18fd097f48SMinda Chenconfig PHY_STARFIVE_JH7110_PCIE
19fd097f48SMinda Chen	tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
20fd097f48SMinda Chen	depends on HAS_IOMEM
21fd097f48SMinda Chen	select GENERIC_PHY
22fd097f48SMinda Chen	help
23fd097f48SMinda Chen	  Enable this to support the StarFive PCIe 2.0 PHY,
24fd097f48SMinda Chen	  or used as USB 3.0 PHY.
25fd097f48SMinda Chen	  If M is selected, the module will be called
26fd097f48SMinda Chen	  phy-jh7110-pcie.ko.
27fd097f48SMinda Chen
2816d3a71cSMinda Chenconfig PHY_STARFIVE_JH7110_USB
2916d3a71cSMinda Chen	tristate "Starfive JH7110 USB 2.0 PHY support"
3016d3a71cSMinda Chen	depends on USB_SUPPORT
3116d3a71cSMinda Chen	select GENERIC_PHY
3216d3a71cSMinda Chen	help
3316d3a71cSMinda Chen	  Enable this to support the StarFive USB 2.0 PHY,
3416d3a71cSMinda Chen	  used with the Cadence USB controller.
3516d3a71cSMinda Chen	  If M is selected, the module will be called
3616d3a71cSMinda Chen	  phy-jh7110-usb.ko.
37*e7379477SGeert Uytterhoeven
38*e7379477SGeert Uytterhoevenendif # ARCH_STARFIVE || COMPILE_TEST
39