.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | # |
---|
2 | 3 | # Phy drivers for Allwinner platforms |
---|
3 | 4 | # |
---|
4 | 5 | config PHY_SUN4I_USB |
---|
5 | 6 | tristate "Allwinner sunxi SoC USB PHY driver" |
---|
6 | | - depends on ARCH_SUNXI && HAS_IOMEM && OF |
---|
| 7 | + depends on ARCH_SUNXI || COMPILE_TEST |
---|
| 8 | + depends on HAS_IOMEM |
---|
7 | 9 | depends on RESET_CONTROLLER |
---|
8 | 10 | depends on EXTCON |
---|
9 | 11 | depends on POWER_SUPPLY |
---|
.. | .. |
---|
17 | 19 | This driver controls the entire USB PHY block, both the USB OTG |
---|
18 | 20 | parts, as well as the 2 regular USB 2 host PHYs. |
---|
19 | 21 | |
---|
| 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 |
---|
| 27 | + select GENERIC_PHY |
---|
| 28 | + select GENERIC_PHY_MIPI_DPHY |
---|
| 29 | + select REGMAP_MMIO |
---|
| 30 | + help |
---|
| 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. |
---|
| 34 | + |
---|
20 | 35 | config PHY_SUN9I_USB |
---|
21 | 36 | tristate "Allwinner sun9i SoC USB PHY driver" |
---|
22 | | - depends on ARCH_SUNXI && HAS_IOMEM && OF |
---|
| 37 | + depends on ARCH_SUNXI || COMPILE_TEST |
---|
| 38 | + depends on HAS_IOMEM |
---|
23 | 39 | depends on RESET_CONTROLLER |
---|
24 | 40 | depends on USB_SUPPORT |
---|
25 | 41 | select USB_COMMON |
---|
.. | .. |
---|
29 | 45 | sun9i SoCs. |
---|
30 | 46 | |
---|
31 | 47 | This driver controls each individual USB 2 host PHY. |
---|
| 48 | + |
---|
| 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 |
---|
| 54 | + select GENERIC_PHY |
---|
| 55 | + help |
---|
| 56 | + Enable this to support the USB3.0-capable transceiver that is |
---|
| 57 | + part of Allwinner H6 SoC. |
---|
| 58 | + |
---|
| 59 | + This driver controls each individual USB 2+3 host PHY combo. |
---|