162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for Cadence PHYs
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig PHY_CADENCE_TORRENT
762306a36Sopenharmony_ci	tristate "Cadence Torrent PHY driver"
862306a36Sopenharmony_ci	depends on OF
962306a36Sopenharmony_ci	depends on HAS_IOMEM
1062306a36Sopenharmony_ci	depends on COMMON_CLK
1162306a36Sopenharmony_ci	select GENERIC_PHY
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Support for Cadence Torrent PHY.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig PHY_CADENCE_DPHY
1662306a36Sopenharmony_ci	tristate "Cadence D-PHY Support"
1762306a36Sopenharmony_ci	depends on HAS_IOMEM && OF
1862306a36Sopenharmony_ci	select GENERIC_PHY
1962306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Choose this option if you have a Cadence D-PHY in your
2262306a36Sopenharmony_ci	  system. If M is selected, the module will be called
2362306a36Sopenharmony_ci	  cdns-dphy.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig PHY_CADENCE_DPHY_RX
2662306a36Sopenharmony_ci	tristate "Cadence D-PHY Rx Support"
2762306a36Sopenharmony_ci	depends on HAS_IOMEM && OF
2862306a36Sopenharmony_ci	select GENERIC_PHY
2962306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  Support for Cadence D-PHY in Rx configuration.
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciconfig PHY_CADENCE_SIERRA
3462306a36Sopenharmony_ci	tristate "Cadence Sierra PHY Driver"
3562306a36Sopenharmony_ci	depends on OF && HAS_IOMEM && RESET_CONTROLLER
3662306a36Sopenharmony_ci	depends on COMMON_CLK
3762306a36Sopenharmony_ci	select GENERIC_PHY
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  Enable this to support the Cadence Sierra PHY driver
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig PHY_CADENCE_SALVO
4262306a36Sopenharmony_ci	tristate "Cadence Salvo PHY Driver"
4362306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
4462306a36Sopenharmony_ci	select GENERIC_PHY
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Enable this to support the Cadence SALVO PHY driver,
4762306a36Sopenharmony_ci	  this PHY is a legacy PHY, and only are used for USB3
4862306a36Sopenharmony_ci	  and USB2.
49