From: Marcus Folkesson <marcus.folkesson@gmail.com>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Javier Martinez Canillas <javierm@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
devicetree@vger.kernel.org,
Marcus Folkesson <marcus.folkesson@gmail.com>
Subject: [PATCH v3 0/7] drm/sitronix/st7571: split up driver to support both I2C and SPI
Date: Mon, 15 Dec 2025 10:46:42 +0100 [thread overview]
Message-ID: <20251215-st7571-split-v3-0-d5f3205c3138@gmail.com> (raw)
This series splits up the driver and finally implements
support for ST7571/ST7561 connected to a SPI bus.
I've not tested the SPI interface myself as I lack HW, but the
implementation should be okay from what I've read in the datasheet.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
Changes in v3:
- Add SPI example to the bindings doc (Thanks Javier)
- Select REGMAP rather than REGMAP_I2C (Thanks Javier)
- Fix gramatical errors in patch description (Thanks Javier)
- Link to v2: https://lore.kernel.org/r/20251027-st7571-split-v2-0-8352fb278d21@gmail.com
Changes in v2:
- Add MODULE_IMPORT_NS to st7571-i2c.c st7571-spi.c (Kernel test robot)
- Link to v1: https://lore.kernel.org/r/20251024-st7571-split-v1-0-d3092b98130f@gmail.com
---
Marcus Folkesson (7):
drm/sitronix/st7571-i2c: rename 'struct drm_device' in st7571_device
drm/sitronix/st7571-i2c: add 'struct device' to st7571_device
drm/sitronix/st7571-i2c: move common structures to st7571.h
drm/sitronix/st7571-i2c: make probe independent of hw interface
drm/sitronix/st7571: split up the driver into a common and an i2c part
drm/sitronix/st7571-spi: add support for SPI interface
dt-bindings: display: sitronix,st7571: add example for SPI
.../bindings/display/sitronix,st7571.yaml | 25 +
MAINTAINERS | 3 +
drivers/gpu/drm/sitronix/Kconfig | 38 +-
drivers/gpu/drm/sitronix/Makefile | 2 +
drivers/gpu/drm/sitronix/st7571-i2c.c | 1003 +-------------------
drivers/gpu/drm/sitronix/st7571-spi.c | 76 ++
drivers/gpu/drm/sitronix/st7571.c | 918 ++++++++++++++++++
drivers/gpu/drm/sitronix/st7571.h | 91 ++
8 files changed, 1187 insertions(+), 969 deletions(-)
---
base-commit: 6a7cef9f953e9edb2364edb769ac116126e6b98e
change-id: 20251024-st7571-split-c734b06106a4
Best regards,
--
Marcus Folkesson <marcus.folkesson@gmail.com>
next reply other threads:[~2025-12-15 9:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-15 9:46 Marcus Folkesson [this message]
2025-12-15 9:46 ` [PATCH v3 1/7] drm/sitronix/st7571-i2c: rename 'struct drm_device' in st7571_device Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 2/7] drm/sitronix/st7571-i2c: add 'struct device' to st7571_device Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 3/7] drm/sitronix/st7571-i2c: move common structures to st7571.h Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 4/7] drm/sitronix/st7571-i2c: make probe independent of hw interface Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 5/7] drm/sitronix/st7571: split up the driver into a common and an i2c part Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 6/7] drm/sitronix/st7571-spi: add support for SPI interface Marcus Folkesson
2025-12-15 9:46 ` [PATCH v3 7/7] dt-bindings: display: sitronix,st7571: add example for SPI Marcus Folkesson
2025-12-15 12:57 ` [PATCH v3 0/7] drm/sitronix/st7571: split up driver to support both I2C and SPI Javier Martinez Canillas
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=20251215-st7571-split-v3-0-d5f3205c3138@gmail.com \
--to=marcus.folkesson@gmail.com \
--cc=airlied@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=javierm@redhat.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=robh@kernel.org \
--cc=simona@ffwll.ch \
--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).