60 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Phy drivers for Allwinner platforms4#5config PHY_SUN4I_USB6 tristate "Allwinner sunxi SoC USB PHY driver"7 depends on ARCH_SUNXI || COMPILE_TEST8 depends on HAS_IOMEM9 depends on RESET_CONTROLLER10 depends on EXTCON11 depends on POWER_SUPPLY12 depends on USB_SUPPORT13 select GENERIC_PHY14 select USB_COMMON15 help16 Enable this to support the transceiver that is part of Allwinner17 sunxi SoCs.18 19 This driver controls the entire USB PHY block, both the USB OTG20 parts, as well as the 2 regular USB 2 host PHYs.21 22config PHY_SUN6I_MIPI_DPHY23 tristate "Allwinner A31 MIPI D-PHY Support"24 depends on ARCH_SUNXI || COMPILE_TEST25 depends on HAS_IOMEM && COMMON_CLK26 depends on RESET_CONTROLLER27 select GENERIC_PHY28 select GENERIC_PHY_MIPI_DPHY29 select REGMAP_MMIO30 help31 Choose this option if you have an Allwinner SoC with32 MIPI-DSI support. If M is selected, the module will be33 called sun6i_mipi_dphy.34 35config PHY_SUN9I_USB36 tristate "Allwinner sun9i SoC USB PHY driver"37 depends on ARCH_SUNXI || COMPILE_TEST38 depends on HAS_IOMEM39 depends on RESET_CONTROLLER40 depends on USB_SUPPORT41 select USB_COMMON42 select GENERIC_PHY43 help44 Enable this to support the transceiver that is part of Allwinner45 sun9i SoCs.46 47 This driver controls each individual USB 2 host PHY.48 49config PHY_SUN50I_USB350 tristate "Allwinner H6 SoC USB3 PHY driver"51 depends on ARCH_SUNXI || COMPILE_TEST52 depends on HAS_IOMEM && OF53 depends on RESET_CONTROLLER54 select GENERIC_PHY55 help56 Enable this to support the USB3.0-capable transceiver that is57 part of Allwinner H6 SoC.58 59 This driver controls each individual USB 2+3 host PHY combo.60