mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-23 14:43:46 +00:00
Three DRM bridge drivers select GENERIC_PHY_MIPI_DPHY when GENERIC_PHY might not be set. This causes Kconfig warnings and a build error. WARNING: unmet direct dependencies detected for GENERIC_PHY_MIPI_DPHY Depends on [n]: GENERIC_PHY [=n] Selected by [y]: - DRM_NWL_MIPI_DSI [=y] && DRM_BRIDGE [=y] && DRM [=y] && COMMON_CLK [=y] && OF [=y] && HAS_IOMEM [=y] - DRM_SAMSUNG_DSIM [=y] && DRM [=y] && DRM_BRIDGE [=y] && COMMON_CLK [=y] && OF [=y] && HAS_IOMEM [=y] (drm/bridge/cadence/Kconfig was found by inspection.) aarch64-linux-ld: drivers/gpu/drm/bridge/samsung-dsim.o: in function `samsung_dsim_set_phy_ctrl': drivers/gpu/drm/bridge/samsung-dsim.c:731: undefined reference to `phy_mipi_dphy_get_default_config_for_hsclk' Prevent these warnings and build error by also selecting GENERIC_PHY whenever selecting GENERIC_PHY_MIPI_DPHY. Fixes:fced5a364d("drm/bridge: cdns: Convert to phy framework") Fixes:44cfc62334("drm/bridge: Add NWL MIPI DSI host controller support") Fixes:171b3b1e0f("drm: bridge: samsung-dsim: Select GENERIC_PHY_MIPI_DPHY") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: Aleksandr Nogikh <nogikh@google.com> Link: lore.kernel.org/r/20230803144227.2187749-1-nogikh@google.com Cc: Adam Ford <aford173@gmail.com> Cc: Maxime Ripard <maxime.ripard@bootlin.com> Cc: Guido Günther <agx@sigxcpu.org> Cc: Robert Chiras <robert.chiras@nxp.com> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Neil Armstrong <neil.armstrong@linaro.org> Cc: Andrzej Hajda <andrzej.hajda@intel.com> Cc: Robert Foss <rfoss@kernel.org> Cc: David Airlie <airlied@gmail.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: dri-devel@lists.freedesktop.org Reviewed-by: Adam Ford <aford173@gmail.com> Tested-by: Aleksandr Nogikh <nogikh@google.com> Reviewed-by: Guido Günther <agx@sigxcpu.org> Signed-off-by: Robert Foss <rfoss@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20230804030140.21395-1-rdunlap@infradead.org
50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config DRM_CDNS_DSI
|
|
tristate "Cadence DPI/DSI bridge"
|
|
select DRM_KMS_HELPER
|
|
select DRM_MIPI_DSI
|
|
select DRM_PANEL_BRIDGE
|
|
select GENERIC_PHY
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
depends on OF
|
|
help
|
|
Support Cadence DPI to DSI bridge. This is an internal
|
|
bridge and is meant to be directly embedded in a SoC.
|
|
|
|
if DRM_CDNS_DSI
|
|
|
|
config DRM_CDNS_DSI_J721E
|
|
bool "J721E Cadence DSI wrapper support"
|
|
default y
|
|
help
|
|
Support J721E Cadence DSI wrapper. The wrapper manages
|
|
the routing of the DSS DPI signal to the Cadence DSI.
|
|
endif
|
|
|
|
config DRM_CDNS_MHDP8546
|
|
tristate "Cadence DPI/DP bridge"
|
|
select DRM_DISPLAY_DP_HELPER
|
|
select DRM_DISPLAY_HDCP_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_KMS_HELPER
|
|
select DRM_PANEL_BRIDGE
|
|
depends on OF
|
|
help
|
|
Support Cadence DPI to DP bridge. This is an internal
|
|
bridge and is meant to be directly embedded in a SoC.
|
|
It takes a DPI stream as input and outputs it encoded
|
|
in DP format.
|
|
|
|
if DRM_CDNS_MHDP8546
|
|
|
|
config DRM_CDNS_MHDP8546_J721E
|
|
depends on ARCH_K3 || COMPILE_TEST
|
|
bool "J721E Cadence DPI/DP wrapper support"
|
|
default y
|
|
help
|
|
Support J721E Cadence DPI/DP wrapper. This is a wrapper
|
|
which adds support for J721E related platform ops. It
|
|
initializes the J721E Display Port and sets up the
|
|
clock and data muxes.
|
|
endif
|