162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for Amlogic platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig PHY_MESON8_HDMI_TX
662306a36Sopenharmony_ci	tristate "Meson8, Meson8b and Meson8m2 HDMI TX PHY driver"
762306a36Sopenharmony_ci	depends on (ARCH_MESON && ARM) || COMPILE_TEST
862306a36Sopenharmony_ci	depends on OF
962306a36Sopenharmony_ci	select MFD_SYSCON
1062306a36Sopenharmony_ci	help
1162306a36Sopenharmony_ci	  Enable this to support the HDMI TX PHYs found in Meson8,
1262306a36Sopenharmony_ci	  Meson8b and Meson8m2 SoCs.
1362306a36Sopenharmony_ci	  If unsure, say N.
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig PHY_MESON8B_USB2
1662306a36Sopenharmony_ci	tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
1762306a36Sopenharmony_ci	default ARCH_MESON
1862306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
1962306a36Sopenharmony_ci	depends on USB_SUPPORT
2062306a36Sopenharmony_ci	select USB_COMMON
2162306a36Sopenharmony_ci	select GENERIC_PHY
2262306a36Sopenharmony_ci	select REGMAP_MMIO
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Enable this to support the Meson USB2 PHYs found in Meson8,
2562306a36Sopenharmony_ci	  Meson8b and GXBB SoCs.
2662306a36Sopenharmony_ci	  If unsure, say N.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ciconfig PHY_MESON_GXL_USB2
2962306a36Sopenharmony_ci	tristate "Meson GXL and GXM USB2 PHY drivers"
3062306a36Sopenharmony_ci	default ARCH_MESON
3162306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
3262306a36Sopenharmony_ci	depends on USB_SUPPORT
3362306a36Sopenharmony_ci	select GENERIC_PHY
3462306a36Sopenharmony_ci	select REGMAP_MMIO
3562306a36Sopenharmony_ci	help
3662306a36Sopenharmony_ci	  Enable this to support the Meson USB2 PHYs found in Meson
3762306a36Sopenharmony_ci	  GXL and GXM SoCs.
3862306a36Sopenharmony_ci	  If unsure, say N.
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig PHY_MESON_G12A_MIPI_DPHY_ANALOG
4162306a36Sopenharmony_ci	tristate "Meson G12A MIPI Analog DPHY driver"
4262306a36Sopenharmony_ci	default ARCH_MESON
4362306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
4462306a36Sopenharmony_ci	select GENERIC_PHY
4562306a36Sopenharmony_ci	select MFD_SYSCON
4662306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
4762306a36Sopenharmony_ci	help
4862306a36Sopenharmony_ci	  Enable this to support the Meson MIPI Analog DPHY found in Meson G12A
4962306a36Sopenharmony_ci	  SoCs.
5062306a36Sopenharmony_ci	  If unsure, say N.
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ciconfig PHY_MESON_G12A_USB2
5362306a36Sopenharmony_ci	tristate "Meson G12A USB2 PHY driver"
5462306a36Sopenharmony_ci	default ARCH_MESON
5562306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
5662306a36Sopenharmony_ci	select GENERIC_PHY
5762306a36Sopenharmony_ci	select REGMAP_MMIO
5862306a36Sopenharmony_ci	help
5962306a36Sopenharmony_ci	  Enable this to support the Meson USB2 PHYs found in Meson
6062306a36Sopenharmony_ci	  G12A SoCs.
6162306a36Sopenharmony_ci	  If unsure, say N.
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciconfig PHY_MESON_G12A_USB3_PCIE
6462306a36Sopenharmony_ci	tristate "Meson G12A USB3+PCIE Combo PHY driver"
6562306a36Sopenharmony_ci	default ARCH_MESON
6662306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
6762306a36Sopenharmony_ci	select GENERIC_PHY
6862306a36Sopenharmony_ci	select REGMAP_MMIO
6962306a36Sopenharmony_ci	help
7062306a36Sopenharmony_ci	  Enable this to support the Meson USB3 + PCIE Combo PHY found
7162306a36Sopenharmony_ci	  in Meson G12A SoCs.
7262306a36Sopenharmony_ci	  If unsure, say N.
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciconfig PHY_MESON_AXG_PCIE
7562306a36Sopenharmony_ci	tristate "Meson AXG PCIE PHY driver"
7662306a36Sopenharmony_ci	default ARCH_MESON
7762306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
7862306a36Sopenharmony_ci	select GENERIC_PHY
7962306a36Sopenharmony_ci	select REGMAP_MMIO
8062306a36Sopenharmony_ci	help
8162306a36Sopenharmony_ci	  Enable this to support the Meson MIPI + PCIE PHY found
8262306a36Sopenharmony_ci	  in Meson AXG SoCs.
8362306a36Sopenharmony_ci	  If unsure, say N.
8462306a36Sopenharmony_ci
8562306a36Sopenharmony_ciconfig PHY_MESON_AXG_MIPI_PCIE_ANALOG
8662306a36Sopenharmony_ci	tristate "Meson AXG MIPI + PCIE analog PHY driver"
8762306a36Sopenharmony_ci	default ARCH_MESON
8862306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
8962306a36Sopenharmony_ci	select GENERIC_PHY
9062306a36Sopenharmony_ci	select REGMAP_MMIO
9162306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
9262306a36Sopenharmony_ci	help
9362306a36Sopenharmony_ci	  Enable this to support the Meson MIPI + PCIE analog PHY
9462306a36Sopenharmony_ci	  found in Meson AXG SoCs.
9562306a36Sopenharmony_ci	  If unsure, say N.
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciconfig PHY_MESON_AXG_MIPI_DPHY
9862306a36Sopenharmony_ci	tristate "Meson AXG MIPI DPHY driver"
9962306a36Sopenharmony_ci	default ARCH_MESON
10062306a36Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
10162306a36Sopenharmony_ci	select GENERIC_PHY
10262306a36Sopenharmony_ci	select REGMAP_MMIO
10362306a36Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
10462306a36Sopenharmony_ci	help
10562306a36Sopenharmony_ci	  Enable this to support the Meson MIPI DPHY found in Meson AXG
10662306a36Sopenharmony_ci	  SoCs.
10762306a36Sopenharmony_ci	  If unsure, say N.
108