1# SPDX-License-Identifier: GPL-2.0 2config DRM_RCAR_DU 3 tristate "DRM Support for R-Car Display Unit" 4 depends on DRM && OF 5 depends on ARM || ARM64 || COMPILE_TEST 6 depends on ARCH_RENESAS || COMPILE_TEST 7 select DRM_KMS_HELPER 8 select DRM_DISPLAY_HELPER 9 select DRM_BRIDGE_CONNECTOR 10 select DRM_GEM_DMA_HELPER 11 select VIDEOMODE_HELPERS 12 help 13 Choose this option if you have an R-Car chipset. 14 If M is selected the module will be called rcar-du-drm. 15 16config DRM_RCAR_USE_CMM 17 bool "R-Car DU Color Management Module (CMM) Support" 18 depends on DRM_RCAR_DU 19 default DRM_RCAR_DU 20 help 21 Enable support for R-Car Color Management Module (CMM). 22 23config DRM_RCAR_CMM 24 def_tristate DRM_RCAR_DU 25 depends on DRM_RCAR_USE_CMM 26 27config DRM_RCAR_DW_HDMI 28 tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support" 29 depends on DRM && OF 30 depends on DRM_RCAR_DU || COMPILE_TEST 31 select DRM_DW_HDMI 32 help 33 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder. 34 35config DRM_RCAR_USE_LVDS 36 bool "R-Car DU LVDS Encoder Support" 37 depends on DRM_BRIDGE && OF 38 depends on DRM_RCAR_DU || COMPILE_TEST 39 default DRM_RCAR_DU 40 help 41 Enable support for the R-Car Display Unit embedded LVDS encoders. 42 43config DRM_RCAR_LVDS 44 def_tristate DRM_RCAR_DU 45 depends on DRM_RCAR_USE_LVDS 46 depends on PM 47 select DRM_KMS_HELPER 48 select DRM_PANEL 49 select RESET_CONTROLLER 50 51config DRM_RCAR_USE_MIPI_DSI 52 bool "R-Car DU MIPI DSI Encoder Support" 53 depends on DRM_BRIDGE && OF 54 depends on DRM_RCAR_DU || COMPILE_TEST 55 default DRM_RCAR_DU 56 help 57 Enable support for the R-Car Display Unit embedded MIPI DSI encoders. 58 59config DRM_RCAR_MIPI_DSI 60 def_tristate DRM_RCAR_DU 61 depends on DRM_RCAR_USE_MIPI_DSI 62 select DRM_MIPI_DSI 63 select RESET_CONTROLLER 64 65config DRM_RCAR_VSP 66 bool "R-Car DU VSP Compositor Support" if ARM 67 default y if ARM64 68 depends on DRM_RCAR_DU 69 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m) 70 help 71 Enable support to expose the R-Car VSP Compositor as KMS planes. 72 73config DRM_RCAR_WRITEBACK 74 bool 75 default y if ARM64 76 depends on DRM_RCAR_DU 77