xref: /linux/drivers/phy/amlogic/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Amlogic platforms
40b56e9a7SVivek Gautam#
5e45dbd3aSMartin Blumenstinglconfig PHY_MESON8_HDMI_TX
6e45dbd3aSMartin Blumenstingl	tristate "Meson8, Meson8b and Meson8m2 HDMI TX PHY driver"
7e45dbd3aSMartin Blumenstingl	depends on (ARCH_MESON && ARM) || COMPILE_TEST
8e45dbd3aSMartin Blumenstingl	depends on OF
9e45dbd3aSMartin Blumenstingl	select MFD_SYSCON
10e45dbd3aSMartin Blumenstingl	help
11e45dbd3aSMartin Blumenstingl	  Enable this to support the HDMI TX PHYs found in Meson8,
12e45dbd3aSMartin Blumenstingl	  Meson8b and Meson8m2 SoCs.
13e45dbd3aSMartin Blumenstingl	  If unsure, say N.
14e45dbd3aSMartin 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
40*2a56dc65SNeil Armstrongconfig PHY_MESON_G12A_MIPI_DPHY_ANALOG
41*2a56dc65SNeil Armstrong	tristate "Meson G12A MIPI Analog DPHY driver"
42*2a56dc65SNeil Armstrong	default ARCH_MESON
43*2a56dc65SNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
44*2a56dc65SNeil Armstrong	select GENERIC_PHY
45*2a56dc65SNeil Armstrong	select MFD_SYSCON
46*2a56dc65SNeil Armstrong	select GENERIC_PHY_MIPI_DPHY
47*2a56dc65SNeil Armstrong	help
48*2a56dc65SNeil Armstrong	  Enable this to support the Meson MIPI Analog DPHY found in Meson G12A
49*2a56dc65SNeil Armstrong	  SoCs.
50*2a56dc65SNeil Armstrong	  If unsure, say N.
51*2a56dc65SNeil Armstrong
5216df8bcbSNeil Armstrongconfig PHY_MESON_G12A_USB2
5316df8bcbSNeil Armstrong	tristate "Meson G12A USB2 PHY driver"
5416df8bcbSNeil Armstrong	default ARCH_MESON
5516df8bcbSNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
5616df8bcbSNeil Armstrong	select GENERIC_PHY
5716df8bcbSNeil Armstrong	select REGMAP_MMIO
5816df8bcbSNeil Armstrong	help
5916df8bcbSNeil Armstrong	  Enable this to support the Meson USB2 PHYs found in Meson
6016df8bcbSNeil Armstrong	  G12A SoCs.
6116df8bcbSNeil Armstrong	  If unsure, say N.
6236077e16SNeil Armstrong
6336077e16SNeil Armstrongconfig PHY_MESON_G12A_USB3_PCIE
6436077e16SNeil Armstrong	tristate "Meson G12A USB3+PCIE Combo PHY driver"
6536077e16SNeil Armstrong	default ARCH_MESON
6636077e16SNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
6736077e16SNeil Armstrong	select GENERIC_PHY
6836077e16SNeil Armstrong	select REGMAP_MMIO
6936077e16SNeil Armstrong	help
7036077e16SNeil Armstrong	  Enable this to support the Meson USB3 + PCIE Combo PHY found
7136077e16SNeil Armstrong	  in Meson G12A SoCs.
7236077e16SNeil Armstrong	  If unsure, say N.
73af3f5722SRemi Pommarel
74e2463559SRemi Pommarelconfig PHY_MESON_AXG_PCIE
75e2463559SRemi Pommarel	tristate "Meson AXG PCIE PHY driver"
76e2463559SRemi Pommarel	default ARCH_MESON
77e2463559SRemi Pommarel	depends on OF && (ARCH_MESON || COMPILE_TEST)
78e2463559SRemi Pommarel	select GENERIC_PHY
79e2463559SRemi Pommarel	select REGMAP_MMIO
80e2463559SRemi Pommarel	help
81e2463559SRemi Pommarel	  Enable this to support the Meson MIPI + PCIE PHY found
82e2463559SRemi Pommarel	  in Meson AXG SoCs.
83e2463559SRemi Pommarel	  If unsure, say N.
84e2463559SRemi Pommarel
85af3f5722SRemi Pommarelconfig PHY_MESON_AXG_MIPI_PCIE_ANALOG
86af3f5722SRemi Pommarel	tristate "Meson AXG MIPI + PCIE analog PHY driver"
87af3f5722SRemi Pommarel	default ARCH_MESON
88af3f5722SRemi Pommarel	depends on OF && (ARCH_MESON || COMPILE_TEST)
89af3f5722SRemi Pommarel	select GENERIC_PHY
90af3f5722SRemi Pommarel	select REGMAP_MMIO
918eff8b4eSNeil Armstrong	select GENERIC_PHY_MIPI_DPHY
92af3f5722SRemi Pommarel	help
93af3f5722SRemi Pommarel	  Enable this to support the Meson MIPI + PCIE analog PHY
94af3f5722SRemi Pommarel	  found in Meson AXG SoCs.
95af3f5722SRemi Pommarel	  If unsure, say N.
9676aefb22SNeil Armstrong
9776aefb22SNeil Armstrongconfig PHY_MESON_AXG_MIPI_DPHY
9876aefb22SNeil Armstrong	tristate "Meson AXG MIPI DPHY driver"
9976aefb22SNeil Armstrong	default ARCH_MESON
10076aefb22SNeil Armstrong	depends on OF && (ARCH_MESON || COMPILE_TEST)
10176aefb22SNeil Armstrong	select GENERIC_PHY
10276aefb22SNeil Armstrong	select REGMAP_MMIO
10376aefb22SNeil Armstrong	select GENERIC_PHY_MIPI_DPHY
10476aefb22SNeil Armstrong	help
10576aefb22SNeil Armstrong	  Enable this to support the Meson MIPI DPHY found in Meson AXG
10676aefb22SNeil Armstrong	  SoCs.
10776aefb22SNeil Armstrong	  If unsure, say N.
108