From: Lars Rask <Lars.Rask@axis.com>
To: "david@lechnology.com" <david@lechnology.com>,
"marcus.folkesson@gmail.com" <marcus.folkesson@gmail.com>,
"jagan@amarulasolutions.com" <jagan@amarulasolutions.com>,
"agx@sigxcpu.org" <agx@sigxcpu.org>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Kernel <Kernel@axis.com>, Amir Dawd Seid <Amir.Seid@axis.com>,
Johan Adolfsson <Johan.Adolfsson@axis.com>,
Daniel Larsson Persson <Daniel.Larsson.Persson@axis.com>
Subject: [RFC] What to base new driver for Raystar RDX0063 display panel using Sitronix ST75156 chip on?
Date: Wed, 12 Nov 2025 15:08:08 +0000 [thread overview]
Message-ID: <AS2PR02MB89157A26C4CFF62811208A739FCCA@AS2PR02MB8915.eurprd02.prod.outlook.com> (raw)
Hi,
I'm trying to create a driver for a small lcd display called Raystar RDX0063 that is using the
Sitronix ST75156 chip. The display is used in SPI 4 wire mode similar to many other tiny MIPI
DBI displays, but the register set and framebuffer format is not MIPI DBI compliant, since each
byte sent is actually 1 column of 8 rows.
The datasheets for the Raystar RDX0063 display and the Sitronix ST75156 chip are unfortunately
not publicly available, but you can find the datasheet for Sitronix ST7567 (which is similar to
ST75156) here: https://www.topwaydisplay.com/sites/default/files/2020-05/ST7567.pdf
The main difference seems to be that ST75156 supports a higher resolution than ST7567,
as can be seen here:
https://www.sitronix.com.tw/en/products/industrial-display-driver-ic/mono-stn-lcd-driver-ic
As a first attempt to create the driver, the panel-mipi-dbi driver was extended with "tweaks"
to support non MIPI DBI panels. This seems to work. However, after some discussion with the
maintainer that is no longer active (https://github.com/notro/panel-mipi-dbi/discussions/14)
the conclusion was that these "tweaks" were not upstreamable, and that I need to create a new
driver specifically for the Raystar RDX0063 display panel using the Sitronix st75156 chip
instead.
In order to make my driver upstreamable, which driver should I be "inspired" by (i.e copy and modify)
and base my work on? The drivers in drivers/gpu/drm/sitronix/ and drivers/gpu/drm/tiny/ usually uses
struct mipi_dbi_dev and mipi_db_command() helpers, but drivers/gpu/drm/panel/panel-sitronix-st7789v.c
does not.
Should I create my new driver as /gpu/drm/sitronix/st75156.c and use mipi_dbi helpers where applicable?
If it is preferable to avoid using the mipi dbi helpers, is there another set of helper functions that
I should use instead?
Best regards
/Lars Rask
next reply other threads:[~2025-11-12 15:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 15:08 Lars Rask [this message]
2025-11-12 15:39 ` Marcus Folkesson
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=AS2PR02MB89157A26C4CFF62811208A739FCCA@AS2PR02MB8915.eurprd02.prod.outlook.com \
--to=lars.rask@axis.com \
--cc=Amir.Seid@axis.com \
--cc=Daniel.Larsson.Persson@axis.com \
--cc=Johan.Adolfsson@axis.com \
--cc=Kernel@axis.com \
--cc=agx@sigxcpu.org \
--cc=david@lechnology.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jagan@amarulasolutions.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcus.folkesson@gmail.com \
/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
all inboxes | Powered by JetHome®