mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-19 12:00:00 +00:00
e03213b9a6
Some allwinner specific drivers can be built for testing purposes on non-sunxi configurations, which then results in a harmless warning: WARNING: unmet direct dependencies detected for PHY_SUN6I_MIPI_DPHY Depends on [n]: ARCH_SUNXI [=n] && HAS_IOMEM [=y] && OF [=y] && RESET_CONTROLLER [=y] Selected by [y]: - DRM_SUN6I_DSI [=y] && HAS_IOMEM [=y] && DRM_SUN4I [=y] Allow compile-test here as well to avoid the warning, and improve overall build coverage. Fixes: 5d134abf9530 ("phy: Move Allwinner A31 D-PHY driver to drivers/phy/") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
47 lines
1.2 KiB
Plaintext
47 lines
1.2 KiB
Plaintext
#
|
|
# Phy drivers for Allwinner platforms
|
|
#
|
|
config PHY_SUN4I_USB
|
|
tristate "Allwinner sunxi SoC USB PHY driver"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
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.
|
|
|
|
config PHY_SUN6I_MIPI_DPHY
|
|
tristate "Allwinner A31 MIPI D-PHY Support"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
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.
|
|
|
|
config PHY_SUN9I_USB
|
|
tristate "Allwinner sun9i SoC USB PHY driver"
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
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.
|