xref: /openbmc/linux/drivers/phy/starfive/Kconfig (revision e2ad626f)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for StarFive platforms
4#
5
6if ARCH_STARFIVE || COMPILE_TEST
7
8config PHY_STARFIVE_JH7110_DPHY_RX
9	tristate "StarFive JH7110 D-PHY RX support"
10	depends on HAS_IOMEM
11	select GENERIC_PHY
12	select GENERIC_PHY_MIPI_DPHY
13	help
14	  Choose this option if you have a StarFive D-PHY in your
15	  system. If M is selected, the module will be called
16	  phy-jh7110-dphy-rx.ko.
17
18config PHY_STARFIVE_JH7110_PCIE
19	tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
20	depends on HAS_IOMEM
21	select GENERIC_PHY
22	help
23	  Enable this to support the StarFive PCIe 2.0 PHY,
24	  or used as USB 3.0 PHY.
25	  If M is selected, the module will be called
26	  phy-jh7110-pcie.ko.
27
28config PHY_STARFIVE_JH7110_USB
29	tristate "Starfive JH7110 USB 2.0 PHY support"
30	depends on USB_SUPPORT
31	select GENERIC_PHY
32	help
33	  Enable this to support the StarFive USB 2.0 PHY,
34	  used with the Cadence USB controller.
35	  If M is selected, the module will be called
36	  phy-jh7110-usb.ko.
37
38endif # ARCH_STARFIVE || COMPILE_TEST
39