]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
phy: mediatek: allow compile-testing the dsi phy
authorArnd Bergmann <arnd@arndb.de>
Sun, 3 Jan 2021 13:55:17 +0000 (14:55 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 4 Jan 2021 07:30:54 +0000 (13:00 +0530)
commitd092bd9110494de3372722b317510b3692f1b2fe
tree7a1360ccc0ba0bd653b123e06f2c807cfa423417
parent764257d9069a9c19758b626cc1ba4ae079335d9e
phy: mediatek: allow compile-testing the dsi phy

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: 90f80d95992f ("phy: mediatek: Move mtk_mipi_dsi_phy driver into drivers/phy/mediatek folder")
Fixes: f5f6e01f9164 ("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>
drivers/phy/mediatek/Kconfig