150479Speter# SPDX-License-Identifier: GPL-2.0 246432Sphkconfig DRM_RCAR_DU 3265420Simp tristate "DRM Support for R-Car Display Unit" 4185435Sbz depends on DRM && OF 546155Sphk depends on ARM || ARM64 6234712Sjamie depends on ARCH_RENESAS || COMPILE_TEST 7234712Sjamie select DRM_KMS_HELPER 846155Sphk select DRM_GEM_DMA_HELPER 9352280Sbapt select VIDEOMODE_HELPERS 10234712Sjamie help 11298107Sgjb Choose this option if you have an R-Car chipset. 12298107Sgjb If M is selected the module will be called rcar-du-drm. 13249657Sed 14249657Sedconfig DRM_RCAR_USE_CMM 15234712Sjamie bool "R-Car DU Color Management Module (CMM) Support" 16234712Sjamie depends on DRM_RCAR_DU 17234712Sjamie default DRM_RCAR_DU 18185435Sbz help 19185435Sbz Enable support for R-Car Color Management Module (CMM). 20185435Sbz 21222465Sbzconfig DRM_RCAR_CMM 22222465Sbz def_tristate DRM_RCAR_DU 23222465Sbz depends on DRM_RCAR_USE_CMM 24185435Sbz 25234712Sjamieconfig DRM_RCAR_DW_HDMI 26234712Sjamie tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support" 27352561Smizhka depends on DRM && OF 28352561Smizhka depends on DRM_RCAR_DU || COMPILE_TEST 29352561Smizhka select DRM_DW_HDMI 3080029Sobrien help 31 Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder. 32 33config DRM_RCAR_USE_LVDS 34 bool "R-Car DU LVDS Encoder Support" 35 depends on DRM_BRIDGE && OF 36 depends on DRM_RCAR_DU || COMPILE_TEST 37 default DRM_RCAR_DU 38 help 39 Enable support for the R-Car Display Unit embedded LVDS encoders. 40 41config DRM_RCAR_LVDS 42 def_tristate DRM_RCAR_DU 43 depends on DRM_RCAR_USE_LVDS 44 depends on PM 45 select DRM_KMS_HELPER 46 select DRM_PANEL 47 select RESET_CONTROLLER 48 49config DRM_RCAR_USE_MIPI_DSI 50 bool "R-Car DU MIPI DSI Encoder Support" 51 depends on DRM_BRIDGE && OF 52 depends on DRM_RCAR_DU || COMPILE_TEST 53 default DRM_RCAR_DU 54 help 55 Enable support for the R-Car Display Unit embedded MIPI DSI encoders. 56 57config DRM_RCAR_MIPI_DSI 58 def_tristate DRM_RCAR_DU 59 depends on DRM_RCAR_USE_MIPI_DSI 60 select DRM_MIPI_DSI 61 select RESET_CONTROLLER 62 63config DRM_RZG2L_MIPI_DSI 64 tristate "RZ/G2L MIPI DSI Encoder Support" 65 depends on DRM && DRM_BRIDGE && OF 66 depends on ARCH_RENESAS || COMPILE_TEST 67 select DRM_MIPI_DSI 68 help 69 Enable support for the RZ/G2L Display Unit embedded MIPI DSI encoders. 70 71config DRM_RCAR_VSP 72 bool "R-Car DU VSP Compositor Support" if ARM 73 default y if ARM64 74 depends on DRM_RCAR_DU 75 depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m) 76 help 77 Enable support to expose the R-Car VSP Compositor as KMS planes. 78 79config DRM_RCAR_WRITEBACK 80 bool 81 default y if ARM64 82 depends on DRM_RCAR_DU 83