2023-06-29 00:51:13 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
#
|
|
|
|
# Phy drivers for StarFive platforms
|
|
|
|
#
|
|
|
|
|
2023-07-25 08:49:27 -07:00
|
|
|
if ARCH_STARFIVE || COMPILE_TEST
|
|
|
|
|
2023-07-18 00:08:03 -07:00
|
|
|
config PHY_STARFIVE_JH7110_DPHY_RX
|
|
|
|
tristate "StarFive JH7110 D-PHY RX support"
|
2023-07-24 23:38:56 -07:00
|
|
|
depends on HAS_IOMEM
|
2023-07-18 00:08:03 -07:00
|
|
|
select GENERIC_PHY
|
|
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
|
|
help
|
|
|
|
Choose this option if you have a StarFive D-PHY in your
|
|
|
|
system. If M is selected, the module will be called
|
|
|
|
phy-jh7110-dphy-rx.ko.
|
|
|
|
|
2024-04-17 20:50:20 -07:00
|
|
|
config PHY_STARFIVE_JH7110_DPHY_TX
|
|
|
|
tristate "StarFive JH7110 D-PHY TX Support"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select GENERIC_PHY
|
|
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
|
|
help
|
|
|
|
Choose this option if you have a StarFive D-PHY TX in your
|
|
|
|
system. If M is selected, the module will be called
|
|
|
|
phy-jh7110-dphy-tx.ko.
|
|
|
|
|
2023-06-29 00:51:14 -07:00
|
|
|
config PHY_STARFIVE_JH7110_PCIE
|
|
|
|
tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
select GENERIC_PHY
|
|
|
|
help
|
|
|
|
Enable this to support the StarFive PCIe 2.0 PHY,
|
|
|
|
or used as USB 3.0 PHY.
|
|
|
|
If M is selected, the module will be called
|
|
|
|
phy-jh7110-pcie.ko.
|
|
|
|
|
2023-06-29 00:51:13 -07:00
|
|
|
config PHY_STARFIVE_JH7110_USB
|
|
|
|
tristate "Starfive JH7110 USB 2.0 PHY support"
|
|
|
|
depends on USB_SUPPORT
|
|
|
|
select GENERIC_PHY
|
|
|
|
help
|
|
|
|
Enable this to support the StarFive USB 2.0 PHY,
|
|
|
|
used with the Cadence USB controller.
|
|
|
|
If M is selected, the module will be called
|
|
|
|
phy-jh7110-usb.ko.
|
2023-07-25 08:49:27 -07:00
|
|
|
|
|
|
|
endif # ARCH_STARFIVE || COMPILE_TEST
|