162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for StarFive platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciif ARCH_STARFIVE || COMPILE_TEST
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciconfig PHY_STARFIVE_JH7110_DPHY_RX
962306a36Sopenharmony_ci	tristate "StarFive JH7110 D-PHY RX support"
1062306a36Sopenharmony_ci	depends on HAS_IOMEM
1162306a36Sopenharmony_ci	select GENERIC_PHY
1262306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
1362306a36Sopenharmony_ci	help
1462306a36Sopenharmony_ci	  Choose this option if you have a StarFive D-PHY in your
1562306a36Sopenharmony_ci	  system. If M is selected, the module will be called
1662306a36Sopenharmony_ci	  phy-jh7110-dphy-rx.ko.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciconfig PHY_STARFIVE_JH7110_PCIE
1962306a36Sopenharmony_ci	tristate "Starfive JH7110 PCIE 2.0/USB 3.0 PHY support"
2062306a36Sopenharmony_ci	depends on HAS_IOMEM
2162306a36Sopenharmony_ci	select GENERIC_PHY
2262306a36Sopenharmony_ci	help
2362306a36Sopenharmony_ci	  Enable this to support the StarFive PCIe 2.0 PHY,
2462306a36Sopenharmony_ci	  or used as USB 3.0 PHY.
2562306a36Sopenharmony_ci	  If M is selected, the module will be called
2662306a36Sopenharmony_ci	  phy-jh7110-pcie.ko.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig PHY_STARFIVE_JH7110_USB
2962306a36Sopenharmony_ci	tristate "Starfive JH7110 USB 2.0 PHY support"
3062306a36Sopenharmony_ci	depends on USB_SUPPORT
3162306a36Sopenharmony_ci	select GENERIC_PHY
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Enable this to support the StarFive USB 2.0 PHY,
3462306a36Sopenharmony_ci	  used with the Cadence USB controller.
3562306a36Sopenharmony_ci	  If M is selected, the module will be called
3662306a36Sopenharmony_ci	  phy-jh7110-usb.ko.
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ciendif # ARCH_STARFIVE || COMPILE_TEST
39