public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v3 0/3] drm/panel: sitronix-st7789v: Convert to mipi_dbi and add tinydrm
@ 2026-02-21  7:13 Archit Anant
  2026-02-21  7:13 ` [RFC PATCH v3 1/3] drm/mipi-dbi: Provide option to invert reset GPIO logic Archit Anant
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Archit Anant @ 2026-02-21  7:13 UTC (permalink / raw)
  To: neil.armstrong, jesszhan0024, maarten.lankhorst, mripard,
	tzimmermann
  Cc: sebastian.reichel, gerald.loacker, michael.riesch, miquel.raynal,
	wens, airlied, simona, architanant5, dri-devel, linux-kernel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-02-21  7:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-21  7:13 [RFC PATCH v3 0/3] drm/panel: sitronix-st7789v: Convert to mipi_dbi and add tinydrm Archit Anant
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox