xref: /linux/drivers/phy/starfive/Kconfig (revision 55d0969c451159cff86949b38c39171cab962069)
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_DPHY_TX
19	tristate "StarFive JH7110 D-PHY TX Support"
20	depends on HAS_IOMEM
21	select GENERIC_PHY
22	select GENERIC_PHY_MIPI_DPHY
23	help
24	  Choose this option if you have a StarFive D-PHY TX in your
25	  system. If M is selected, the module will be called
26	  phy-jh7110-dphy-tx.ko.
27
28config PHY_STARFIVE_JH7110_PCIE
29	tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
30	depends on HAS_IOMEM
31	select GENERIC_PHY
32	help
33	  Enable this to support the StarFive PCIe 2.0 PHY,
34	  or used as USB 3.0 PHY.
35	  If M is selected, the module will be called
36	  phy-jh7110-pcie.ko.
37
38config PHY_STARFIVE_JH7110_USB
39	tristate "Starfive JH7110 USB 2.0 PHY support"
40	depends on USB_SUPPORT
41	select GENERIC_PHY
42	help
43	  Enable this to support the StarFive USB 2.0 PHY,
44	  used with the Cadence USB controller.
45	  If M is selected, the module will be called
46	  phy-jh7110-usb.ko.
47
48endif # ARCH_STARFIVE || COMPILE_TEST
49