aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/mcde/Makefile
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-11-12 15:29:25 +0100
committerLinus Walleij <linus.walleij@linaro.org>2020-11-24 00:09:08 +0100
commitd795fd322063246f23ca20ba0125cf3ed89cc1d3 (patch)
tree6d3801ca4d0c614c89e3048e4aabc6f92a7e0dc5 /drivers/gpu/drm/mcde/Makefile
parentdrm/mcde: Break out DSI set-up routine (diff)
downloadlinux-dev-d795fd322063246f23ca20ba0125cf3ed89cc1d3.tar.xz
linux-dev-d795fd322063246f23ca20ba0125cf3ed89cc1d3.zip
drm/mcde: Support DPI output
This implements support for DPI output using the port node in the device tree to connect a DPI LCD display to the MCDE. The block also supports TV-out but we leave that for another day when we have a hardware using it. We implement parsing and handling of the "port" node, and follow that to the DPI endpoint. The clock divider used by the MCDE to divide down the "lcdclk" (this has been designed for TV-like frequencies) is represented by an ordinary clock provider internally in the MCDE. This idea was inspired by the PL111 solution by Eric Anholt: the divider also works very similar to the Pl111 clock divider. We take care to clear up some errors regarding the number of available formatters and their type. We have 6 DSI formatters and 2 DPI formatters. Tested on the Samsung GT-I9070 Janice mobile phone. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Cc: Stephan Gerhold <stephan@gerhold.net> Cc: phone-devel@vger.kernel.org Cc: upstreaming@lists.sr.ht Link: https://patchwork.freedesktop.org/patch/msgid/20201112142925.2571179-2-linus.walleij@linaro.org
Diffstat (limited to 'drivers/gpu/drm/mcde/Makefile')
-rw-r--r--drivers/gpu/drm/mcde/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mcde/Makefile b/drivers/gpu/drm/mcde/Makefile
index fe28f4e0fe46..15d9c89a3273 100644
--- a/drivers/gpu/drm/mcde/Makefile
+++ b/drivers/gpu/drm/mcde/Makefile
@@ -1,3 +1,3 @@
-mcde_drm-y += mcde_drv.o mcde_dsi.o mcde_display.o
+mcde_drm-y += mcde_drv.o mcde_dsi.o mcde_clk_div.o mcde_display.o
obj-$(CONFIG_DRM_MCDE) += mcde_drm.o