1 # SPDX-License-Identifier: GPL-2.0-only
3 # Phy drivers for Allwinner platforms
6 tristate "Allwinner sunxi SoC USB PHY driver"
7 depends on ARCH_SUNXI || COMPILE_TEST
9 depends on RESET_CONTROLLER
11 depends on POWER_SUPPLY
12 depends on USB_SUPPORT
16 Enable this to support the transceiver that is part of Allwinner
19 This driver controls the entire USB PHY block, both the USB OTG
20 parts, as well as the 2 regular USB 2 host PHYs.
22 config PHY_SUN6I_MIPI_DPHY
23 tristate "Allwinner A31 MIPI D-PHY Support"
24 depends on ARCH_SUNXI || COMPILE_TEST
25 depends on HAS_IOMEM && COMMON_CLK
26 depends on RESET_CONTROLLER
28 select GENERIC_PHY_MIPI_DPHY
31 Choose this option if you have an Allwinner SoC with
32 MIPI-DSI support. If M is selected, the module will be
33 called sun6i_mipi_dphy.
36 tristate "Allwinner sun9i SoC USB PHY driver"
37 depends on ARCH_SUNXI || COMPILE_TEST
39 depends on RESET_CONTROLLER
40 depends on USB_SUPPORT
44 Enable this to support the transceiver that is part of Allwinner
47 This driver controls each individual USB 2 host PHY.
49 config PHY_SUN50I_USB3
50 tristate "Allwinner H6 SoC USB3 PHY driver"
51 depends on ARCH_SUNXI || COMPILE_TEST
52 depends on HAS_IOMEM && OF
53 depends on RESET_CONTROLLER
56 Enable this to support the USB3.0-capable transceiver that is
57 part of Allwinner H6 SoC.
59 This driver controls each individual USB 2+3 host PHY combo.