1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Amlogic platforms
4#
5config PHY_MESON8B_USB2
6	tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
7	default ARCH_MESON
8	depends on OF && (ARCH_MESON || COMPILE_TEST)
9	depends on USB_SUPPORT
10	select USB_COMMON
11	select GENERIC_PHY
12	select REGMAP_MMIO
13	help
14	  Enable this to support the Meson USB2 PHYs found in Meson8,
15	  Meson8b and GXBB SoCs.
16	  If unsure, say N.
17
18config PHY_MESON_GXL_USB2
19	tristate "Meson GXL and GXM USB2 PHY drivers"
20	default ARCH_MESON
21	depends on OF && (ARCH_MESON || COMPILE_TEST)
22	depends on USB_SUPPORT
23	select GENERIC_PHY
24	select REGMAP_MMIO
25	help
26	  Enable this to support the Meson USB2 PHYs found in Meson
27	  GXL and GXM SoCs.
28	  If unsure, say N.
29
30config PHY_MESON_G12A_USB2
31	tristate "Meson G12A USB2 PHY driver"
32	default ARCH_MESON
33	depends on OF && (ARCH_MESON || COMPILE_TEST)
34	select GENERIC_PHY
35	select REGMAP_MMIO
36	help
37	  Enable this to support the Meson USB2 PHYs found in Meson
38	  G12A SoCs.
39	  If unsure, say N.
40
41config PHY_MESON_G12A_USB3_PCIE
42	tristate "Meson G12A USB3+PCIE Combo PHY driver"
43	default ARCH_MESON
44	depends on OF && (ARCH_MESON || COMPILE_TEST)
45	select GENERIC_PHY
46	select REGMAP_MMIO
47	help
48	  Enable this to support the Meson USB3 + PCIE Combo PHY found
49	  in Meson G12A SoCs.
50	  If unsure, say N.
51
52config PHY_MESON_AXG_PCIE
53	tristate "Meson AXG PCIE PHY driver"
54	default ARCH_MESON
55	depends on OF && (ARCH_MESON || COMPILE_TEST)
56	select GENERIC_PHY
57	select REGMAP_MMIO
58	help
59	  Enable this to support the Meson MIPI + PCIE PHY found
60	  in Meson AXG SoCs.
61	  If unsure, say N.
62
63config PHY_MESON_AXG_MIPI_PCIE_ANALOG
64	tristate "Meson AXG MIPI + PCIE analog PHY driver"
65	default ARCH_MESON
66	depends on OF && (ARCH_MESON || COMPILE_TEST)
67	select GENERIC_PHY
68	select REGMAP_MMIO
69	select GENERIC_PHY_MIPI_DPHY
70	help
71	  Enable this to support the Meson MIPI + PCIE analog PHY
72	  found in Meson AXG SoCs.
73	  If unsure, say N.
74
75config PHY_MESON_AXG_MIPI_DPHY
76	tristate "Meson AXG MIPI DPHY driver"
77	default ARCH_MESON
78	depends on OF && (ARCH_MESON || COMPILE_TEST)
79	select GENERIC_PHY
80	select REGMAP_MMIO
81	select GENERIC_PHY_MIPI_DPHY
82	help
83	  Enable this to support the Meson MIPI DPHY found in Meson AXG
84	  SoCs.
85	  If unsure, say N.
86