mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-27 17:36:49 +00:00

Add Kconfig dependency between RZG2L_DU and RZG2L_MIPI_DSI, so that DSI module has functional dependency on DU. It is similar way that the R-Car MIPI DSI encoder is handled. While at it drop ARCH_RENESAS dependency as DRM_RZG2L_DU depend on ARCH_RZG2L. Suggested-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240827163727.108405-1-biju.das.jz@bp.renesas.com
29 lines
834 B
Plaintext
29 lines
834 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
config DRM_RZG2L_DU
|
|
tristate "DRM Support for RZ/G2L Display Unit"
|
|
depends on ARCH_RZG2L || COMPILE_TEST
|
|
depends on DRM && OF
|
|
depends on VIDEO_RENESAS_VSP1
|
|
select DRM_CLIENT_SELECTION
|
|
select DRM_GEM_DMA_HELPER
|
|
select DRM_KMS_HELPER
|
|
select DRM_DISPLAY_HELPER
|
|
select DRM_BRIDGE_CONNECTOR
|
|
select VIDEOMODE_HELPERS
|
|
help
|
|
Choose this option if you have an RZ/G2L alike chipset.
|
|
If M is selected the module will be called rzg2l-du-drm.
|
|
|
|
config DRM_RZG2L_USE_MIPI_DSI
|
|
bool "RZ/G2L MIPI DSI Encoder Support"
|
|
depends on DRM_BRIDGE && OF
|
|
depends on DRM_RZG2L_DU || COMPILE_TEST
|
|
default DRM_RZG2L_DU
|
|
help
|
|
Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders.
|
|
|
|
config DRM_RZG2L_MIPI_DSI
|
|
def_tristate DRM_RZG2L_DU
|
|
depends on DRM_RZG2L_USE_MIPI_DSI
|
|
select DRM_MIPI_DSI
|