xref: /openbmc/linux/drivers/phy/amlogic/Kconfig (revision 22d55f02)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Amlogic platforms
4#
5config PHY_MESON8B_USB2
6	tristate "Meson8, Meson8b 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	help
13	  Enable this to support the Meson USB2 PHYs found in Meson8,
14	  Meson8b and GXBB SoCs.
15	  If unsure, say N.
16
17config PHY_MESON_GXL_USB2
18	tristate "Meson GXL and GXM USB2 PHY drivers"
19	default ARCH_MESON
20	depends on OF && (ARCH_MESON || COMPILE_TEST)
21	depends on USB_SUPPORT
22	select GENERIC_PHY
23	select REGMAP_MMIO
24	help
25	  Enable this to support the Meson USB2 PHYs found in Meson
26	  GXL and GXM SoCs.
27	  If unsure, say N.
28
29config PHY_MESON_GXL_USB3
30	tristate "Meson GXL and GXM USB3 PHY drivers"
31	default ARCH_MESON
32	depends on OF && (ARCH_MESON || COMPILE_TEST)
33	depends on USB_SUPPORT
34	select GENERIC_PHY
35	select REGMAP_MMIO
36	help
37	  Enable this to support the Meson USB3 PHY and OTG detection
38	  IP block found in Meson GXL and GXM SoCs.
39	  If unsure, say N.
40
41config PHY_MESON_G12A_USB2
42	tristate "Meson G12A USB2 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 USB2 PHYs found in Meson
49	  G12A SoCs.
50	  If unsure, say N.
51
52config PHY_MESON_G12A_USB3_PCIE
53	tristate "Meson G12A USB3+PCIE Combo 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 USB3 + PCIE Combo PHY found
60	  in Meson G12A SoCs.
61	  If unsure, say N.
62