18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Amlogic platforms
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PHY_MESON8B_USB2
68c2ecf20Sopenharmony_ci	tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
78c2ecf20Sopenharmony_ci	default ARCH_MESON
88c2ecf20Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
98c2ecf20Sopenharmony_ci	depends on USB_SUPPORT
108c2ecf20Sopenharmony_ci	select USB_COMMON
118c2ecf20Sopenharmony_ci	select GENERIC_PHY
128c2ecf20Sopenharmony_ci	select REGMAP_MMIO
138c2ecf20Sopenharmony_ci	help
148c2ecf20Sopenharmony_ci	  Enable this to support the Meson USB2 PHYs found in Meson8,
158c2ecf20Sopenharmony_ci	  Meson8b and GXBB SoCs.
168c2ecf20Sopenharmony_ci	  If unsure, say N.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig PHY_MESON_GXL_USB2
198c2ecf20Sopenharmony_ci	tristate "Meson GXL and GXM USB2 PHY drivers"
208c2ecf20Sopenharmony_ci	default ARCH_MESON
218c2ecf20Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
228c2ecf20Sopenharmony_ci	depends on USB_SUPPORT
238c2ecf20Sopenharmony_ci	select GENERIC_PHY
248c2ecf20Sopenharmony_ci	select REGMAP_MMIO
258c2ecf20Sopenharmony_ci	help
268c2ecf20Sopenharmony_ci	  Enable this to support the Meson USB2 PHYs found in Meson
278c2ecf20Sopenharmony_ci	  GXL and GXM SoCs.
288c2ecf20Sopenharmony_ci	  If unsure, say N.
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig PHY_MESON_G12A_USB2
318c2ecf20Sopenharmony_ci	tristate "Meson G12A USB2 PHY driver"
328c2ecf20Sopenharmony_ci	default ARCH_MESON
338c2ecf20Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
348c2ecf20Sopenharmony_ci	select GENERIC_PHY
358c2ecf20Sopenharmony_ci	select REGMAP_MMIO
368c2ecf20Sopenharmony_ci	help
378c2ecf20Sopenharmony_ci	  Enable this to support the Meson USB2 PHYs found in Meson
388c2ecf20Sopenharmony_ci	  G12A SoCs.
398c2ecf20Sopenharmony_ci	  If unsure, say N.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig PHY_MESON_G12A_USB3_PCIE
428c2ecf20Sopenharmony_ci	tristate "Meson G12A USB3+PCIE Combo PHY driver"
438c2ecf20Sopenharmony_ci	default ARCH_MESON
448c2ecf20Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
458c2ecf20Sopenharmony_ci	select GENERIC_PHY
468c2ecf20Sopenharmony_ci	select REGMAP_MMIO
478c2ecf20Sopenharmony_ci	help
488c2ecf20Sopenharmony_ci	  Enable this to support the Meson USB3 + PCIE Combo PHY found
498c2ecf20Sopenharmony_ci	  in Meson G12A SoCs.
508c2ecf20Sopenharmony_ci	  If unsure, say N.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig PHY_MESON_AXG_PCIE
538c2ecf20Sopenharmony_ci	tristate "Meson AXG PCIE PHY driver"
548c2ecf20Sopenharmony_ci	default ARCH_MESON
558c2ecf20Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
568c2ecf20Sopenharmony_ci	select GENERIC_PHY
578c2ecf20Sopenharmony_ci	select REGMAP_MMIO
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  Enable this to support the Meson MIPI + PCIE PHY found
608c2ecf20Sopenharmony_ci	  in Meson AXG SoCs.
618c2ecf20Sopenharmony_ci	  If unsure, say N.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciconfig PHY_MESON_AXG_MIPI_PCIE_ANALOG
648c2ecf20Sopenharmony_ci	tristate "Meson AXG MIPI + PCIE analog PHY driver"
658c2ecf20Sopenharmony_ci	default ARCH_MESON
668c2ecf20Sopenharmony_ci	depends on OF && (ARCH_MESON || COMPILE_TEST)
678c2ecf20Sopenharmony_ci	select GENERIC_PHY
688c2ecf20Sopenharmony_ci	select REGMAP_MMIO
698c2ecf20Sopenharmony_ci	help
708c2ecf20Sopenharmony_ci	  Enable this to support the Meson MIPI + PCIE analog PHY
718c2ecf20Sopenharmony_ci	  found in Meson AXG SoCs.
728c2ecf20Sopenharmony_ci	  If unsure, say N.
73