xref: /openbmc/linux/drivers/phy/allwinner/Kconfig (revision 752beb5e)
1#
2# Phy drivers for Allwinner platforms
3#
4config PHY_SUN4I_USB
5	tristate "Allwinner sunxi SoC USB PHY driver"
6	depends on ARCH_SUNXI || COMPILE_TEST
7	depends on HAS_IOMEM
8	depends on RESET_CONTROLLER
9	depends on EXTCON
10	depends on POWER_SUPPLY
11	depends on USB_SUPPORT
12	select GENERIC_PHY
13	select USB_COMMON
14	help
15	  Enable this to support the transceiver that is part of Allwinner
16	  sunxi SoCs.
17
18	  This driver controls the entire USB PHY block, both the USB OTG
19	  parts, as well as the 2 regular USB 2 host PHYs.
20
21config PHY_SUN6I_MIPI_DPHY
22	tristate "Allwinner A31 MIPI D-PHY Support"
23	depends on ARCH_SUNXI || COMPILE_TEST
24	depends on HAS_IOMEM
25	depends on RESET_CONTROLLER
26	select GENERIC_PHY
27	select GENERIC_PHY_MIPI_DPHY
28	select REGMAP_MMIO
29	help
30	  Choose this option if you have an Allwinner SoC with
31	  MIPI-DSI support. If M is selected, the module will be
32	  called sun6i_mipi_dphy.
33
34config PHY_SUN9I_USB
35	tristate "Allwinner sun9i SoC USB PHY driver"
36	depends on ARCH_SUNXI || COMPILE_TEST
37	depends on HAS_IOMEM
38	depends on RESET_CONTROLLER
39	depends on USB_SUPPORT
40	select USB_COMMON
41	select GENERIC_PHY
42	help
43	  Enable this to support the transceiver that is part of Allwinner
44	  sun9i SoCs.
45
46	  This driver controls each individual USB 2 host PHY.
47