2018-07-26 02:37:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2013-06-19 13:54:11 +02:00
|
|
|
config DRM_RCAR_DU
|
|
|
|
tristate "DRM Support for R-Car Display Unit"
|
2015-08-07 21:22:24 +09:00
|
|
|
depends on DRM && OF
|
2024-04-08 20:04:25 +03:00
|
|
|
depends on ARM || ARM64 || COMPILE_TEST
|
2016-03-25 10:38:28 +09:00
|
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
2024-09-24 09:12:31 +02:00
|
|
|
select DRM_CLIENT_SELECTION
|
2013-06-19 13:54:11 +02:00
|
|
|
select DRM_KMS_HELPER
|
2024-09-03 05:01:57 +03:00
|
|
|
select DRM_DISPLAY_HELPER
|
|
|
|
select DRM_BRIDGE_CONNECTOR
|
2022-08-02 02:04:03 +02:00
|
|
|
select DRM_GEM_DMA_HELPER
|
2014-08-27 00:42:56 +02:00
|
|
|
select VIDEOMODE_HELPERS
|
2013-06-19 13:54:11 +02:00
|
|
|
help
|
|
|
|
Choose this option if you have an R-Car chipset.
|
|
|
|
If M is selected the module will be called rcar-du-drm.
|
2013-06-17 13:48:27 +02:00
|
|
|
|
2021-09-27 16:26:23 +02:00
|
|
|
config DRM_RCAR_USE_CMM
|
|
|
|
bool "R-Car DU Color Management Module (CMM) Support"
|
2019-10-17 15:43:32 +02:00
|
|
|
depends on DRM_RCAR_DU
|
2021-09-27 16:26:23 +02:00
|
|
|
default DRM_RCAR_DU
|
2019-10-17 15:43:32 +02:00
|
|
|
help
|
|
|
|
Enable support for R-Car Color Management Module (CMM).
|
|
|
|
|
2021-09-27 16:26:23 +02:00
|
|
|
config DRM_RCAR_CMM
|
|
|
|
def_tristate DRM_RCAR_DU
|
|
|
|
depends on DRM_RCAR_USE_CMM
|
|
|
|
|
2016-11-11 18:07:40 +01:00
|
|
|
config DRM_RCAR_DW_HDMI
|
2020-09-11 11:07:41 +01:00
|
|
|
tristate "R-Car Gen3 and RZ/G2 DU HDMI Encoder Support"
|
2016-11-11 18:07:40 +01:00
|
|
|
depends on DRM && OF
|
2023-01-08 06:04:01 +00:00
|
|
|
depends on DRM_RCAR_DU || COMPILE_TEST
|
2016-11-11 18:07:40 +01:00
|
|
|
select DRM_DW_HDMI
|
|
|
|
help
|
2020-09-11 11:07:41 +01:00
|
|
|
Enable support for R-Car Gen3 or RZ/G2 internal HDMI encoder.
|
2016-11-11 18:07:40 +01:00
|
|
|
|
2021-09-27 16:26:23 +02:00
|
|
|
config DRM_RCAR_USE_LVDS
|
|
|
|
bool "R-Car DU LVDS Encoder Support"
|
|
|
|
depends on DRM_BRIDGE && OF
|
2023-01-08 06:04:01 +00:00
|
|
|
depends on DRM_RCAR_DU || COMPILE_TEST
|
2021-09-27 16:26:23 +02:00
|
|
|
default DRM_RCAR_DU
|
|
|
|
help
|
|
|
|
Enable support for the R-Car Display Unit embedded LVDS encoders.
|
|
|
|
|
2013-06-17 13:48:27 +02:00
|
|
|
config DRM_RCAR_LVDS
|
2021-09-27 16:26:23 +02:00
|
|
|
def_tristate DRM_RCAR_DU
|
|
|
|
depends on DRM_RCAR_USE_LVDS
|
2023-01-23 12:47:37 +02:00
|
|
|
depends on PM
|
2020-05-18 22:16:46 +02:00
|
|
|
select DRM_KMS_HELPER
|
2016-11-18 03:22:37 +02:00
|
|
|
select DRM_PANEL
|
2023-01-23 12:47:38 +02:00
|
|
|
select RESET_CONTROLLER
|
2015-09-07 17:14:58 +03:00
|
|
|
|
2022-10-02 00:33:27 +03:00
|
|
|
config DRM_RCAR_USE_MIPI_DSI
|
|
|
|
bool "R-Car DU MIPI DSI Encoder Support"
|
|
|
|
depends on DRM_BRIDGE && OF
|
2023-01-08 06:04:01 +00:00
|
|
|
depends on DRM_RCAR_DU || COMPILE_TEST
|
2022-10-02 00:33:27 +03:00
|
|
|
default DRM_RCAR_DU
|
2020-02-25 18:32:53 +09:00
|
|
|
help
|
|
|
|
Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
|
|
|
|
|
2022-10-02 00:33:27 +03:00
|
|
|
config DRM_RCAR_MIPI_DSI
|
|
|
|
def_tristate DRM_RCAR_DU
|
|
|
|
depends on DRM_RCAR_USE_MIPI_DSI
|
|
|
|
select DRM_MIPI_DSI
|
2023-01-23 12:47:36 +02:00
|
|
|
select RESET_CONTROLLER
|
2022-10-02 00:33:27 +03:00
|
|
|
|
2015-09-07 17:14:58 +03:00
|
|
|
config DRM_RCAR_VSP
|
2018-01-12 05:15:57 +02:00
|
|
|
bool "R-Car DU VSP Compositor Support" if ARM
|
|
|
|
default y if ARM64
|
2015-09-07 17:14:58 +03:00
|
|
|
depends on DRM_RCAR_DU
|
2016-02-26 12:52:20 +01:00
|
|
|
depends on VIDEO_RENESAS_VSP1=y || (VIDEO_RENESAS_VSP1 && DRM_RCAR_DU=m)
|
2015-09-07 17:14:58 +03:00
|
|
|
help
|
|
|
|
Enable support to expose the R-Car VSP Compositor as KMS planes.
|
2019-02-21 03:40:12 +02:00
|
|
|
|
|
|
|
config DRM_RCAR_WRITEBACK
|
|
|
|
bool
|
|
|
|
default y if ARM64
|
2020-06-07 22:53:40 -04:00
|
|
|
depends on DRM_RCAR_DU
|