forked from Minki/linux
d092bd9110
Randconfig builds show another broken dependency: WARNING: unmet direct dependencies detected for PHY_MTK_MIPI_DSI Depends on [n]: ARCH_MEDIATEK [=n] && OF [=y] Selected by [m]: - DRM_MEDIATEK [=m] && HAS_IOMEM [=y] && DRM [=m] && (ARCH_MEDIATEK [=n] || ARM [=y] && COMPILE_TEST [=y]) && COMMON_CLK [=y] && HAVE_ARM_SMCCC [=y] && OF [=y] && MTK_MMSYS [=y] This is similar to the hdmi driver I fixed earlier, and I guess the common-clk bug would sooner or later also manifest here, so just use the exact same solution I chose for the other driver, and hope that any future drivers just copy it from here. Fixes:90f80d9599
("phy: mediatek: Move mtk_mipi_dsi_phy driver into drivers/phy/mediatek folder") Fixes:f5f6e01f91
("phy: mediatek: allow compile-testing the hdmi phy") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20210103135524.3678664-1-arnd@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
58 lines
1.6 KiB
Plaintext
58 lines
1.6 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Phy drivers for Mediatek devices
|
|
#
|
|
config PHY_MTK_TPHY
|
|
tristate "MediaTek T-PHY Driver"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
depends on OF && OF_ADDRESS
|
|
depends on HAS_IOMEM
|
|
select GENERIC_PHY
|
|
help
|
|
Say 'Y' here to add support for MediaTek T-PHY driver,
|
|
it supports multiple usb2.0, usb3.0 ports, PCIe and
|
|
SATA, and meanwhile supports two version T-PHY which have
|
|
different banks layout, the T-PHY with shared banks between
|
|
multi-ports is first version, otherwise is second version,
|
|
so you can easily distinguish them by banks layout.
|
|
|
|
config PHY_MTK_UFS
|
|
tristate "MediaTek UFS M-PHY driver"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
help
|
|
Support for UFS M-PHY on MediaTek chipsets.
|
|
Enable this to provide vendor-specific probing,
|
|
initialization, power on and power off flow of
|
|
specified M-PHYs.
|
|
|
|
config PHY_MTK_XSPHY
|
|
tristate "MediaTek XS-PHY Driver"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
depends on OF && OF_ADDRESS
|
|
depends on HAS_IOMEM
|
|
select GENERIC_PHY
|
|
help
|
|
Enable this to support the SuperSpeedPlus XS-PHY transceiver for
|
|
USB3.1 GEN2 controllers on MediaTek chips. The driver supports
|
|
multiple USB2.0, USB3.1 GEN2 ports.
|
|
|
|
config PHY_MTK_HDMI
|
|
tristate "MediaTek HDMI-PHY Driver"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
depends on COMMON_CLK
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
help
|
|
Support HDMI PHY for Mediatek SoCs.
|
|
|
|
config PHY_MTK_MIPI_DSI
|
|
tristate "MediaTek MIPI-DSI Driver"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
depends on COMMON_CLK
|
|
depends on OF
|
|
select GENERIC_PHY
|
|
help
|
|
Support MIPI DSI for Mediatek SoCs.
|