Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Phy drivers for Allwinner platforms
0004 #
0005 config PHY_SUN4I_USB
0006         tristate "Allwinner sunxi SoC USB PHY driver"
0007         depends on ARCH_SUNXI || COMPILE_TEST
0008         depends on HAS_IOMEM
0009         depends on RESET_CONTROLLER
0010         depends on EXTCON
0011         depends on POWER_SUPPLY
0012         depends on USB_SUPPORT
0013         select GENERIC_PHY
0014         select USB_COMMON
0015         help
0016           Enable this to support the transceiver that is part of Allwinner
0017           sunxi SoCs.
0018 
0019           This driver controls the entire USB PHY block, both the USB OTG
0020           parts, as well as the 2 regular USB 2 host PHYs.
0021 
0022 config PHY_SUN6I_MIPI_DPHY
0023         tristate "Allwinner A31 MIPI D-PHY Support"
0024         depends on ARCH_SUNXI || COMPILE_TEST
0025         depends on HAS_IOMEM && COMMON_CLK
0026         depends on RESET_CONTROLLER
0027         select GENERIC_PHY
0028         select GENERIC_PHY_MIPI_DPHY
0029         select REGMAP_MMIO
0030         help
0031           Choose this option if you have an Allwinner SoC with
0032           MIPI-DSI support. If M is selected, the module will be
0033           called sun6i_mipi_dphy.
0034 
0035 config PHY_SUN9I_USB
0036         tristate "Allwinner sun9i SoC USB PHY driver"
0037         depends on ARCH_SUNXI || COMPILE_TEST
0038         depends on HAS_IOMEM
0039         depends on RESET_CONTROLLER
0040         depends on USB_SUPPORT
0041         select USB_COMMON
0042         select GENERIC_PHY
0043         help
0044           Enable this to support the transceiver that is part of Allwinner
0045           sun9i SoCs.
0046 
0047           This driver controls each individual USB 2 host PHY.
0048 
0049 config PHY_SUN50I_USB3
0050         tristate "Allwinner H6 SoC USB3 PHY driver"
0051         depends on ARCH_SUNXI || COMPILE_TEST
0052         depends on HAS_IOMEM && OF
0053         depends on RESET_CONTROLLER
0054         select GENERIC_PHY
0055         help
0056           Enable this to support the USB3.0-capable transceiver that is
0057           part of Allwinner H6 SoC.
0058 
0059           This driver controls each individual USB 2+3 host PHY combo.