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