[RFC PATCH v3 0/3] drm/panel: sitronix-st7789v: Convert to mipi_dbi and add tinydrm
From: Archit Anant
Date: Sat Feb 21 2026 - 02:14:14 EST
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