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