2019-05-19 19:07:45 +07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2017-05-11 13:47:42 +07:00
|
|
|
#
|
|
|
|
# Phy drivers for Allwinner platforms
|
|
|
|
#
|
|
|
|
config PHY_SUN4I_USB
|
|
|
|
tristate "Allwinner sunxi SoC USB PHY driver"
|
2019-03-05 03:23:56 +07:00
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2017-05-11 13:47:42 +07:00
|
|
|
depends on RESET_CONTROLLER
|
|
|
|
depends on EXTCON
|
|
|
|
depends on POWER_SUPPLY
|
|
|
|
depends on USB_SUPPORT
|
|
|
|
select GENERIC_PHY
|
|
|
|
select USB_COMMON
|
|
|
|
help
|
|
|
|
Enable this to support the transceiver that is part of Allwinner
|
|
|
|
sunxi SoCs.
|
|
|
|
|
|
|
|
This driver controls the entire USB PHY block, both the USB OTG
|
|
|
|
parts, as well as the 2 regular USB 2 host PHYs.
|
|
|
|
|
2019-01-21 22:45:50 +07:00
|
|
|
config PHY_SUN6I_MIPI_DPHY
|
|
|
|
tristate "Allwinner A31 MIPI D-PHY Support"
|
2019-03-05 03:23:56 +07:00
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2019-01-21 22:45:50 +07:00
|
|
|
depends on RESET_CONTROLLER
|
|
|
|
select GENERIC_PHY
|
|
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
|
|
select REGMAP_MMIO
|
|
|
|
help
|
|
|
|
Choose this option if you have an Allwinner SoC with
|
|
|
|
MIPI-DSI support. If M is selected, the module will be
|
|
|
|
called sun6i_mipi_dphy.
|
|
|
|
|
2017-05-11 13:47:42 +07:00
|
|
|
config PHY_SUN9I_USB
|
|
|
|
tristate "Allwinner sun9i SoC USB PHY driver"
|
2019-03-05 03:23:56 +07:00
|
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2017-05-11 13:47:42 +07:00
|
|
|
depends on RESET_CONTROLLER
|
|
|
|
depends on USB_SUPPORT
|
|
|
|
select USB_COMMON
|
|
|
|
select GENERIC_PHY
|
|
|
|
help
|
|
|
|
Enable this to support the transceiver that is part of Allwinner
|
|
|
|
sun9i SoCs.
|
|
|
|
|
|
|
|
This driver controls each individual USB 2 host PHY.
|