Skip to content

Commit 02dd95f

Browse files
committed
drm/tinydrm: Add MIPI DBI support
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Acked-by: Thierry Reding <treding@nvidia.com>
1 parent 9f69eb5 commit 02dd95f

File tree

5 files changed

+1130
-0
lines changed

5 files changed

+1130
-0
lines changed

Documentation/gpu/tinydrm.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,15 @@ Additional helpers
2828

2929
.. kernel-doc:: drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c
3030
:export:
31+
32+
MIPI DBI Compatible Controllers
33+
===============================
34+
35+
.. kernel-doc:: drivers/gpu/drm/tinydrm/mipi-dbi.c
36+
:doc: overview
37+
38+
.. kernel-doc:: include/drm/tinydrm/mipi-dbi.h
39+
:internal:
40+
41+
.. kernel-doc:: drivers/gpu/drm/tinydrm/mipi-dbi.c
42+
:export:

drivers/gpu/drm/tinydrm/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ menuconfig DRM_TINYDRM
88
help
99
Choose this option if you have a tinydrm supported display.
1010
If M is selected the module will be called tinydrm.
11+
12+
config TINYDRM_MIPI_DBI
13+
tristate

drivers/gpu/drm/tinydrm/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
obj-$(CONFIG_DRM_TINYDRM) += core/
2+
3+
# Controllers
4+
obj-$(CONFIG_TINYDRM_MIPI_DBI) += mipi-dbi.o

0 commit comments

Comments
 (0)