Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 174102f4 authored by Noralf Trønnes's avatar Noralf Trønnes
Browse files

drm/tinydrm: Move mipi-dbi



This moves mipi-dbi to be a core helper with the name drm_mipi_dbi.

Fixup include's in drivers.
Move the docs entry and delete tinydrm.rst.
Delete the last tinydrm todo entry.

v2: Make DRM_MIPI_DBI tristate to enable it being built as a module.

Cc: Eric Anholt <eric@anholt.net>
Cc: David Lechner <david@lechnology.com>
Reviewed-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarNoralf Trønnes <noralf@tronnes.org>
Acked-by: default avatarDavid Lechner <david@lechnology.com>
Acked-by: default avatarEric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190722104312.16184-9-noralf@tronnes.org
parent 2d2bb61a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@ GPU Driver Documentation
   meson
   pl111
   tegra
   tinydrm
   tve200
   v3d
   vc4
+12 −0
Original line number Diff line number Diff line
@@ -263,6 +263,18 @@ the MST topology helpers easier to understand
               drm_dp_mst_topology_put_port
               drm_dp_mst_get_mstb_malloc drm_dp_mst_put_mstb_malloc

MIPI DBI Helper Functions Reference
===================================

.. kernel-doc:: drivers/gpu/drm/drm_mipi_dbi.c
   :doc: overview

.. kernel-doc:: include/drm/drm_mipi_dbi.h
   :internal:

.. kernel-doc:: drivers/gpu/drm/drm_mipi_dbi.c
   :export:

MIPI DSI Helper Functions Reference
===================================

Documentation/gpu/tinydrm.rst

deleted100644 → 0
+0 −18
Original line number Diff line number Diff line
============================
drm/tinydrm Tiny DRM drivers
============================

tinydrm is a collection of DRM drivers that are so small they can fit in a
single source file.

MIPI DBI Compatible Controllers
===============================

.. kernel-doc:: drivers/gpu/drm/tinydrm/mipi-dbi.c
   :doc: overview

.. kernel-doc:: include/drm/tinydrm/mipi-dbi.h
   :internal:

.. kernel-doc:: drivers/gpu/drm/tinydrm/mipi-dbi.c
   :export:
+0 −13
Original line number Diff line number Diff line
@@ -437,19 +437,6 @@ Contact: Daniel Vetter
Driver Specific
===============

tinydrm
-------

Tinydrm is the helper driver for really simple fb drivers. The goal is to make
those drivers as simple as possible, so lots of room for refactoring:

- extract the mipi-dbi helper (well, the non-tinydrm specific parts at
  least) into a separate helper, like we have for mipi-dsi already. Or follow
  one of the ideas for having a shared dsi/dbi helper, abstracting away the
  transport details more.

Contact: Noralf Trønnes, Daniel Vetter

AMD DC Display Driver
---------------------

+4 −0
Original line number Diff line number Diff line
@@ -24,6 +24,10 @@ menuconfig DRM
	  details.  You should also select and configure AGP
	  (/dev/agpgart) support if it is available for your platform.

config DRM_MIPI_DBI
	tristate
	depends on DRM

config DRM_MIPI_DSI
	bool
	depends on DRM
Loading