|
|
Log in / Subscribe / Register

drm/tiny: Add MIPI DBI compatible SPI driver

From:  Noralf Trønnes <noralf-AT-tronnes.org>
To:  robh+dt-AT-kernel.org, thierry.reding-AT-gmail.com
Subject:  [PATCH v4 0/3] drm/tiny: Add MIPI DBI compatible SPI driver
Date:  Fri, 18 Feb 2022 16:11:07 +0100
Message-ID:  <20220218151110.11316-1-noralf@tronnes.org>
Cc:  sam-AT-ravnborg.org, maxime-AT-cerno.tech, dave.stevenson-AT-raspberrypi.com, david-AT-lechnology.com, devicetree-AT-vger.kernel.org, dri-devel-AT-lists.freedesktop.org, Noralf Trønnes <noralf-AT-tronnes.org>
Archive-link:  Article

Hi,

This patchset adds a driver that will work with most MIPI DBI compatible
SPI panels out there.

Maxime gave[1] a good overview of the situation with these displays and
proposed to make a driver that works with all MIPI DBI compatible
controllers and use a firmware file to provide the controller setup for
a particular panel.

Changes since version 3:
- There should only be two compatible (Maxime)
- s/panel-dbi-spi/panel-mipi-dbi-spi/in compatible
- Move driver to drm/tiny where the other drivers of its kind are located.
  The driver module will not be shared with a future DPI driver after all.

See wiki[2] for script to make command firmware files.

Noralf.

[1] https://lore.kernel.org/dri-devel/20211129093946.xhp22mvd...
[2] https://github.com/notro/panel-mipi-dbi/wiki


Noralf Trønnes (3):
  dt-bindings: display: add bindings for MIPI DBI compatible SPI panels
  drm/mipi-dbi: Add driver_private member to struct mipi_dbi_dev
  drm/tiny: Add MIPI DBI compatible SPI driver

 .../display/panel/panel-mipi-dbi-spi.yaml     | 125 ++++++
 MAINTAINERS                                   |   8 +
 drivers/gpu/drm/tiny/Kconfig                  |  13 +
 drivers/gpu/drm/tiny/Makefile                 |   1 +
 drivers/gpu/drm/tiny/panel-mipi-dbi.c         | 413 ++++++++++++++++++
 include/drm/drm_mipi_dbi.h                    |   8 +
 6 files changed, 568 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml
 create mode 100644 drivers/gpu/drm/tiny/panel-mipi-dbi.c

-- 
2.33.0



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds