summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rcar-du/Kconfig
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2019-01-17 01:11:37 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2019-02-08 02:25:56 +0200
commit02f2b30032c12b1b91abe5f2bd0d74ba1f700ea1 (patch)
tree43d2758068f601af5999236e6f26ab6907ca8c8e /drivers/gpu/drm/rcar-du/Kconfig
parent6e1f8557818f3c2476404ba1d4a5157b823b79f0 (diff)
downloadlwn-02f2b30032c12b1b91abe5f2bd0d74ba1f700ea1.tar.gz
lwn-02f2b30032c12b1b91abe5f2bd0d74ba1f700ea1.zip
drm: rcar-du: lvds: Add API to enable/disable clock output
On the D3 and E3 platforms, the LVDS internal PLL supplies the pixel clock to the DU. This works automatically for LVDS outputs as the LVDS encoder is enabled through the bridge API, enabling the internal PLL and clock output. However, when using the DU DPAD output with the LVDS outputs turned off, the LVDS PLL needs to be controlled manually. Add an API to do so, to be called by the DU driver. The drivers/gpu/drm/rcar-du/ directory has to be treated as obj-y unconditionally, as the LVDS driver could be built-in while the DU driver is compiled as a module. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/Kconfig')
-rw-r--r--drivers/gpu/drm/rcar-du/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig
index 225141656e19..7c36e2777a15 100644
--- a/drivers/gpu/drm/rcar-du/Kconfig
+++ b/drivers/gpu/drm/rcar-du/Kconfig
@@ -4,6 +4,7 @@ config DRM_RCAR_DU
depends on DRM && OF
depends on ARM || ARM64
depends on ARCH_RENESAS || COMPILE_TEST
+ imply DRM_RCAR_LVDS
select DRM_KMS_HELPER
select DRM_KMS_CMA_HELPER
select DRM_GEM_CMA_HELPER