Skip to content

Commit 5fc537b

Browse files
author
Linus Walleij
committed
drm/mcde: Add new driver for ST-Ericsson MCDE
This adds a new DRM driver for the ST-Ericsson Multi Channel Display Engine, MCDE display controller. This hardware has three independent DSI hosts and can composit and display several memory buffers onto an LCD display. It was developed for several years inside of ST-Ericsson and shipped with a few million mobile phones from Sony and Samsung, as well as with the Snowball community development board. The driver is currently pretty rudimentary but supports a simple framebuffer so we can get penguins and graphics when using these SoCs. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20190524092019.19355-1-linus.walleij@linaro.org
1 parent 9371ea5 commit 5fc537b

13 files changed

Lines changed: 3745 additions & 0 deletions

File tree

‎Documentation/gpu/drivers.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ GPU Driver Documentation
77
amdgpu
88
amdgpu-dc
99
i915
10+
mcde
1011
meson
1112
pl111
1213
tegra

‎Documentation/gpu/mcde.rst‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
=======================================================
4+
drm/mcde ST-Ericsson MCDE Multi-channel display engine
5+
=======================================================
6+
7+
.. kernel-doc:: drivers/gpu/drm/mcde/mcde_drv.c
8+
:doc: ST-Ericsson MCDE DRM Driver

‎MAINTAINERS‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5128,6 +5128,13 @@ S: Maintained
51285128
F: drivers/gpu/drm/tinydrm/st7735r.c
51295129
F: Documentation/devicetree/bindings/display/sitronix,st7735r.txt
51305130

5131+
DRM DRIVER FOR ST-ERICSSON MCDE
5132+
M: Linus Walleij <linus.walleij@linaro.org>
5133+
T: git git://anongit.freedesktop.org/drm/drm-misc
5134+
S: Maintained
5135+
F: drivers/gpu/drm/mcde/
5136+
F: Documentation/devicetree/bindings/display/ste,mcde.txt
5137+
51315138
DRM DRIVER FOR TDFX VIDEO CARDS
51325139
S: Orphan / Obsolete
51335140
F: drivers/gpu/drm/tdfx/

‎drivers/gpu/drm/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ source "drivers/gpu/drm/panfrost/Kconfig"
349349

350350
source "drivers/gpu/drm/aspeed/Kconfig"
351351

352+
source "drivers/gpu/drm/mcde/Kconfig"
353+
352354
# Keep legacy drivers last
353355

354356
menuconfig DRM_LEGACY

‎drivers/gpu/drm/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,4 @@ obj-$(CONFIG_DRM_VBOXVIDEO) += vboxvideo/
118118
obj-$(CONFIG_DRM_LIMA) += lima/
119119
obj-$(CONFIG_DRM_PANFROST) += panfrost/
120120
obj-$(CONFIG_DRM_ASPEED_GFX) += aspeed/
121+
obj-$(CONFIG_DRM_MCDE) += mcde/

‎drivers/gpu/drm/mcde/Kconfig‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
config DRM_MCDE
2+
tristate "DRM Support for ST-Ericsson MCDE (Multichannel Display Engine)"
3+
depends on DRM
4+
depends on CMA
5+
depends on ARM || COMPILE_TEST
6+
depends on OF
7+
select MFD_SYSCON
8+
select DRM_MIPI_DSI
9+
select DRM_BRIDGE
10+
select DRM_PANEL_BRIDGE
11+
select DRM_KMS_HELPER
12+
select DRM_KMS_CMA_HELPER
13+
select DRM_GEM_CMA_HELPER
14+
select VT_HW_CONSOLE_BINDING if FRAMEBUFFER_CONSOLE
15+
help
16+
Choose this option for DRM support for the ST-Ericsson MCDE
17+
Multi-Channel Display Engine.
18+
If M is selected the module will be called mcde_drm.

‎drivers/gpu/drm/mcde/Makefile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
mcde_drm-y += mcde_drv.o mcde_dsi.o mcde_display.o
2+
3+
obj-$(CONFIG_DRM_MCDE) += mcde_drm.o

0 commit comments

Comments
 (0)