public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Archit Anant <architanant5@gmail.com>
To: neil.armstrong@linaro.org, jesszhan0024@gmail.com,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de
Cc: sebastian.reichel@collabora.com, gerald.loacker@wolfvision.net,
	michael.riesch@collabora.com, miquel.raynal@bootlin.com,
	wens@kernel.org, airlied@gmail.com, simona@ffwll.ch,
	architanant5@gmail.com, dri-devel@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: [RFC PATCH v3 0/3] drm/panel: sitronix-st7789v: Convert to mipi_dbi and add tinydrm
Date: Sat, 21 Feb 2026 12:43:48 +0530	[thread overview]
Message-ID: <20260221071351.22772-1-architanant5@gmail.com> (raw)

This series modernizes the ST7789V display driver by converting it to
the mipi_dbi framework and adding standalone display support.

Patches 1 and 2 (by Chen-Yu Tsai) refactor the driver to use the
mipi_dbi helpers for register access. This enables support for 8-bit SPI
+ D/C GPIO configurations, removing the previous 9-bit SPI restriction.

Patch 3 (my contribution) builds upon Chen-Yu's work to add the
drm_simple_display_pipe infrastructure. This allows the panel driver
to register as a full DRM device (tinydrm) when a master display
controller is not present.

Hardware Testing Status:
Like Chen-Yu, I do not currently possess the ST7789V hardware wired for
these configurations. This series is compile-tested only. I am sending
this as an RFC to get feedback on the hybrid (Panel + TinyDRM)
architecture while we wait/search for hardware testers.

Device Tree Bindings:
Note: The Device Tree bindings for the newly introduced 'hannstar,hsd20-ips' 
compatible string are currently undocumented. I intend to submit the 
accompanying YAML schema as a follow-up patch once the C-level 
architecture is reviewed and confirmed to be the preferred direction.

Changes in v3:
- Combined Chen-Yu's mipi_dbi conversion patches with the tinydrm extension.
- Added support for the HannStar HSD20-IPS panel.
- Refactored the architecture into a "Hybrid" driver that supports both 
standalone SPI and external display controllers.

Archit Anant (1):
  drm/panel: sitronix-st7789v: add standalone tinydrm support

Chen-Yu Tsai (2):
  drm/mipi-dbi: Provide option to invert reset GPIO logic
  drm/panel: sitronix-st7789v: Convert to mipi_dbi

 drivers/gpu/drm/drm_mipi_dbi.c                |   4 +-
 drivers/gpu/drm/panel/Kconfig                 |   1 +
 .../gpu/drm/panel/panel-sitronix-st7789v.c    | 417 +++++++++---------
 include/drm/drm_mipi_dbi.h                    |   9 +
 4 files changed, 227 insertions(+), 204 deletions(-)

-- 
2.39.5


             reply	other threads:[~2026-02-21  7:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-21  7:13 Archit Anant [this message]
2026-02-21  7:13 ` [RFC PATCH v3 1/3] drm/mipi-dbi: Provide option to invert reset GPIO logic Archit Anant
2026-02-21  7:13 ` [RFC PATCH v3 2/3] drm/panel: sitronix-st7789v: Convert to mipi_dbi Archit Anant
2026-02-21  7:13 ` [RFC PATCH v3 3/3] drm/panel: sitronix-st7789v: add standalone tinydrm support Archit Anant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260221071351.22772-1-architanant5@gmail.com \
    --to=architanant5@gmail.com \
    --cc=airlied@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gerald.loacker@wolfvision.net \
    --cc=jesszhan0024@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=michael.riesch@collabora.com \
    --cc=miquel.raynal@bootlin.com \
    --cc=mripard@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=sebastian.reichel@collabora.com \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    --cc=wens@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox