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
20 lines
565 B
Plaintext
20 lines
565 B
Plaintext
config DRM_MCDE
|
|
tristate "DRM Support for ST-Ericsson MCDE (Multichannel Display Engine)"
|
|
depends on DRM
|
|
depends on CMA
|
|
depends on ARM || COMPILE_TEST
|
|
depends on OF
|
|
depends on COMMON_CLK
|
|
select MFD_SYSCON
|
|
select DRM_MIPI_DSI
|
|
select DRM_BRIDGE
|
|
select DRM_PANEL_BRIDGE
|
|
select DRM_KMS_HELPER
|
|
select DRM_KMS_CMA_HELPER
|
|
select DRM_GEM_CMA_HELPER
|
|
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
|
|
help
|
|
Choose this option for DRM support for the ST-Ericsson MCDE
|
|
Multi-Channel Display Engine.
|
|
If M is selected the module will be called mcde_drm.
|