From: Mehdi Djait <mehdi.djait@bootlin.com>
To: mripard@kernel.org, maarten.lankhorst@linux.intel.com,
tzimmermann@suse.de, airlied@gmail.com, daniel@ffwll.ch,
krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org,
conor+dt@kernel.org
Cc: devicetree@vger.kernel.org, alexandre.belloni@bootlin.com,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
paul.kocialkowski@bootlin.com, geert@linux-m68k.org,
thomas.petazzoni@bootlin.com,
Mehdi Djait <mehdi.djait@bootlin.com>,
luca.ceresoli@bootlin.com
Subject: [PATCH 0/2] drm/tiny: Add driver for the sharp LS027B7DH01 Memory LCD
Date: Wed, 29 Nov 2023 15:29:08 +0100 [thread overview]
Message-ID: <cover.1701267411.git.mehdi.djait@bootlin.com> (raw)
This patch series adds a DRM driver for the sharp LS027B7DH01 memory display:
a 2.7" 400x240 monochrome 1 bit per pixel display SPI device.
This controller uses SPI both for control and for pixel data. Pixel data can be
sent either as one line per SPI frame or multiple lines (up to the entire picture)
in a single SPI frame. This driver implements the latter.
The Sharp Memory LCD requires an alternating signal to prevent the buildup of
a DC bias that would result in a Display that no longer can be updated. Two
modes for the generation of this signal are supported:
- Software, EXTMODE = Low: toggling the BIT(1) of the Command and writing it at
least once a second to the display.
- Hardware, EXTMODE = High: the alternating signal should be supplied on the
EXTCOMIN pin.
the Hardware mode is implemented with a PWM signal.
The driver announces the commonly supported XRGB8888 to userspace and
uses the drm_fb_xrgb8888_to_mono() function to convert the format.
Mehdi Djait (2):
dt-bindings: display: Add Sharp LS027B7DH01 Memory LCD
drm/tiny: Add driver for the sharp LS027B7DH01 Memory LCD
.../bindings/display/sharp,ls027b7dh01.yaml | 71 +++
MAINTAINERS | 7 +
drivers/gpu/drm/tiny/Kconfig | 8 +
drivers/gpu/drm/tiny/Makefile | 1 +
drivers/gpu/drm/tiny/sharp-ls027b7dh01.c | 411 ++++++++++++++++++
5 files changed, 498 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/sharp,ls027b7dh01.yaml
create mode 100644 drivers/gpu/drm/tiny/sharp-ls027b7dh01.c
--
2.41.0
next reply other threads:[~2023-11-29 14:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-29 14:29 Mehdi Djait [this message]
2023-11-29 14:29 ` [PATCH 1/2] dt-bindings: display: Add Sharp LS027B7DH01 Memory LCD Mehdi Djait
2023-11-30 8:38 ` Krzysztof Kozlowski
2023-11-29 14:29 ` [PATCH 2/2] drm/tiny: Add driver for the sharp " Mehdi Djait
2023-11-29 16:21 ` Thomas Zimmermann
2024-02-24 10:15 ` Mehdi Djait
2023-11-29 16:30 ` Paul Kocialkowski
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=cover.1701267411.git.mehdi.djait@bootlin.com \
--to=mehdi.djait@bootlin.com \
--cc=airlied@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=geert@linux-m68k.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=paul.kocialkowski@bootlin.com \
--cc=robh+dt@kernel.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=tzimmermann@suse.de \
/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;
as well as URLs for NNTP newsgroup(s).