xref: /openbmc/linux/drivers/phy/amlogic/Kconfig (revision e45dbd3a4b1111f622edcbbec00adae81659eba7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Amlogic platforms
40b56e9a7SVivek Gautam#
5*e45dbd3aSMartin Blumenstinglconfig PHY_MESON8_HDMI_TX
6*e45dbd3aSMartin Blumenstingl	tristate "Meson8, Meson8b and Meson8m2 HDMI TX PHY driver"
7*e45dbd3aSMartin Blumenstingl	depends on (ARCH_MESON && ARM) || COMPILE_TEST
8*e45dbd3aSMartin Blumenstingl	depends on OF
9*e45dbd3aSMartin Blumenstingl	select MFD_SYSCON
10*e45dbd3aSMartin Blumenstingl	help
11*e45dbd3aSMartin Blumenstingl	  Enable this to support the HDMI TX PHYs found in Meson8,
12*e45dbd3aSMartin Blumenstingl	  Meson8b and Meson8m2 SoCs.
13*e45dbd3aSMartin Blumenstingl	  If unsure, say N.
14*e45dbd3aSMartin Blumenstingl
150b56e9a7SVivek Gautamconfig PHY_MESON8B_USB2
16f004be59SMartin Blumenstingl	tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
170b56e9a7SVivek Gautam	default ARCH_MESON
180b56e9a7SVivek Gautam	depends on OF && (ARCH_MESON || COMPILE_TEST)
190b56e9a7SVivek Gautam	depends on USB_SUPPORT
200b56e9a7SVivek Gautam	select USB_COMMON
210b56e9a7SVivek Gautam	select GENERIC_PHY
22de143a40SMartin Blumenstingl	select REGMAP_MMIO
230b56e9a7SVivek Gautam	help
244a3449d1SMartin Blumenstingl	  Enable this to support the Meson USB2 PHYs found in Meson8,
254a3449d1SMartin Blumenstingl	  Meson8b and GXBB SoCs.
260b56e9a7SVivek Gautam	  If unsure, say N.
27697b373cSMartin Blumenstingl
28697b373cSMartin Blumenstinglconfig PHY_MESON_GXL_USB2
29697b373cSMartin Blumenstingl	tristate "Meson GXL and GXM USB2 PHY drivers"
30697b373cSMartin Blumenstingl	default ARCH_MESON
31697b373cSMartin Blumenstingl	depends on OF && (ARCH_MESON || COMPILE_TEST)
32697b373cSMartin Blumenstingl	depends on USB_SUPPORT
33697b373cSMartin Blumenstingl	select GENERIC_PHY
34697b373cSMartin Blumenstingl	select REGMAP_MMIO
35697b373cSMartin Blumenstingl	help
36697b373cSMartin Blumenstingl	  Enable this to support the Meson USB2 PHYs found in Meson
37697b373cSMartin Blumenstingl	  GXL and GXM SoCs.
38697b373cSMartin Blumenstingl	  If unsure, say N.
39115de9fdSMartin Blumenstingl
4016df8bcbSNeil Armstrongconfig PHY_MESON_G12A_USB2
4116df8bcbSNeil Armstrong	tristate "Meson G12A USB2 PHY driver"
4216df8bcbSNeil Armstrong	default ARCH_MESON
4316df8bcbSNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
4416df8bcbSNeil Armstrong	select GENERIC_PHY
4516df8bcbSNeil Armstrong	select REGMAP_MMIO
4616df8bcbSNeil Armstrong	help
4716df8bcbSNeil Armstrong	  Enable this to support the Meson USB2 PHYs found in Meson
4816df8bcbSNeil Armstrong	  G12A SoCs.
4916df8bcbSNeil Armstrong	  If unsure, say N.
5036077e16SNeil Armstrong
5136077e16SNeil Armstrongconfig PHY_MESON_G12A_USB3_PCIE
5236077e16SNeil Armstrong	tristate "Meson G12A USB3+PCIE Combo PHY driver"
5336077e16SNeil Armstrong	default ARCH_MESON
5436077e16SNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
5536077e16SNeil Armstrong	select GENERIC_PHY
5636077e16SNeil Armstrong	select REGMAP_MMIO
5736077e16SNeil Armstrong	help
5836077e16SNeil Armstrong	  Enable this to support the Meson USB3 + PCIE Combo PHY found
5936077e16SNeil Armstrong	  in Meson G12A SoCs.
6036077e16SNeil Armstrong	  If unsure, say N.
61af3f5722SRemi Pommarel
62e2463559SRemi Pommarelconfig PHY_MESON_AXG_PCIE
63e2463559SRemi Pommarel	tristate "Meson AXG PCIE PHY driver"
64e2463559SRemi Pommarel	default ARCH_MESON
65e2463559SRemi Pommarel	depends on OF && (ARCH_MESON || COMPILE_TEST)
66e2463559SRemi Pommarel	select GENERIC_PHY
67e2463559SRemi Pommarel	select REGMAP_MMIO
68e2463559SRemi Pommarel	help
69e2463559SRemi Pommarel	  Enable this to support the Meson MIPI + PCIE PHY found
70e2463559SRemi Pommarel	  in Meson AXG SoCs.
71e2463559SRemi Pommarel	  If unsure, say N.
72e2463559SRemi Pommarel
73af3f5722SRemi Pommarelconfig PHY_MESON_AXG_MIPI_PCIE_ANALOG
74af3f5722SRemi Pommarel	tristate "Meson AXG MIPI + PCIE analog PHY driver"
75af3f5722SRemi Pommarel	default ARCH_MESON
76af3f5722SRemi Pommarel	depends on OF && (ARCH_MESON || COMPILE_TEST)
77af3f5722SRemi Pommarel	select GENERIC_PHY
78af3f5722SRemi Pommarel	select REGMAP_MMIO
798eff8b4eSNeil Armstrong	select GENERIC_PHY_MIPI_DPHY
80af3f5722SRemi Pommarel	help
81af3f5722SRemi Pommarel	  Enable this to support the Meson MIPI + PCIE analog PHY
82af3f5722SRemi Pommarel	  found in Meson AXG SoCs.
83af3f5722SRemi Pommarel	  If unsure, say N.
8476aefb22SNeil Armstrong
8576aefb22SNeil Armstrongconfig PHY_MESON_AXG_MIPI_DPHY
8676aefb22SNeil Armstrong	tristate "Meson AXG MIPI DPHY driver"
8776aefb22SNeil Armstrong	default ARCH_MESON
8876aefb22SNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
8976aefb22SNeil Armstrong	select GENERIC_PHY
9076aefb22SNeil Armstrong	select REGMAP_MMIO
9176aefb22SNeil Armstrong	select GENERIC_PHY_MIPI_DPHY
9276aefb22SNeil Armstrong	help
9376aefb22SNeil Armstrong	  Enable this to support the Meson MIPI DPHY found in Meson AXG
9476aefb22SNeil Armstrong	  SoCs.
9576aefb22SNeil Armstrong	  If unsure, say N.
96