xref: /openbmc/linux/drivers/phy/amlogic/Kconfig (revision 25c2e591)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Amlogic platforms
4#
5config PHY_MESON8_HDMI_TX
6	tristate "Meson8, Meson8b and Meson8m2 HDMI TX PHY driver"
7	depends on (ARCH_MESON && ARM) || COMPILE_TEST
8	depends on OF
9	select MFD_SYSCON
10	help
11	  Enable this to support the HDMI TX PHYs found in Meson8,
12	  Meson8b and Meson8m2 SoCs.
13	  If unsure, say N.
14
15config PHY_MESON8B_USB2
16	tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"
17	default ARCH_MESON
18	depends on OF && (ARCH_MESON || COMPILE_TEST)
19	depends on USB_SUPPORT
20	select USB_COMMON
21	select GENERIC_PHY
22	select REGMAP_MMIO
23	help
24	  Enable this to support the Meson USB2 PHYs found in Meson8,
25	  Meson8b and GXBB SoCs.
26	  If unsure, say N.
27
28config PHY_MESON_GXL_USB2
29	tristate "Meson GXL and GXM USB2 PHY drivers"
30	default ARCH_MESON
31	depends on OF && (ARCH_MESON || COMPILE_TEST)
32	depends on USB_SUPPORT
33	select GENERIC_PHY
34	select REGMAP_MMIO
35	help
36	  Enable this to support the Meson USB2 PHYs found in Meson
37	  GXL and GXM SoCs.
38	  If unsure, say N.
39
40config PHY_MESON_G12A_MIPI_DPHY_ANALOG
41	tristate "Meson G12A MIPI Analog DPHY driver"
42	default ARCH_MESON
43	depends on OF && (ARCH_MESON || COMPILE_TEST)
44	select GENERIC_PHY
45	select MFD_SYSCON
46	select GENERIC_PHY_MIPI_DPHY
47	help
48	  Enable this to support the Meson MIPI Analog DPHY found in Meson G12A
49	  SoCs.
50	  If unsure, say N.
51
52config PHY_MESON_G12A_USB2
53	tristate "Meson G12A USB2 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 USB2 PHYs found in Meson
60	  G12A SoCs.
61	  If unsure, say N.
62
63config PHY_MESON_G12A_USB3_PCIE
64	tristate "Meson G12A USB3+PCIE Combo PHY driver"
65	default ARCH_MESON
66	depends on OF && (ARCH_MESON || COMPILE_TEST)
67	select GENERIC_PHY
68	select REGMAP_MMIO
69	help
70	  Enable this to support the Meson USB3 + PCIE Combo PHY found
71	  in Meson G12A SoCs.
72	  If unsure, say N.
73
74config PHY_MESON_AXG_PCIE
75	tristate "Meson AXG PCIE PHY driver"
76	default ARCH_MESON
77	depends on OF && (ARCH_MESON || COMPILE_TEST)
78	select GENERIC_PHY
79	select REGMAP_MMIO
80	help
81	  Enable this to support the Meson MIPI + PCIE PHY found
82	  in Meson AXG SoCs.
83	  If unsure, say N.
84
85config PHY_MESON_AXG_MIPI_PCIE_ANALOG
86	tristate "Meson AXG MIPI + PCIE analog PHY driver"
87	default ARCH_MESON
88	depends on OF && (ARCH_MESON || COMPILE_TEST)
89	select GENERIC_PHY
90	select REGMAP_MMIO
91	select GENERIC_PHY_MIPI_DPHY
92	help
93	  Enable this to support the Meson MIPI + PCIE analog PHY
94	  found in Meson AXG SoCs.
95	  If unsure, say N.
96
97config PHY_MESON_AXG_MIPI_DPHY
98	tristate "Meson AXG MIPI DPHY driver"
99	default ARCH_MESON
100	depends on OF && (ARCH_MESON || COMPILE_TEST)
101	select GENERIC_PHY
102	select REGMAP_MMIO
103	select GENERIC_PHY_MIPI_DPHY
104	help
105	  Enable this to support the Meson MIPI DPHY found in Meson AXG
106	  SoCs.
107	  If unsure, say N.
108