Skip to content

drm/sitronix/st7571: split up driver to support both I2C and SPI

Marcus Folkesson dri-devel linux-devicetree lkml 5 versions – Applied

Status from this message: Pushed to drm-misc (drm-misc-next). Thanks!

Get series with b4
b4 am [email protected] change-id 20251024-st7571-split-c734b06106a4

Versions newest first

  1. v3 Latest7 patches 1 replyApplied
  2. v2 posting 3/36 patches 6 repliesSuperseded
  3. v2 posting 2/36 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/36 patches1 replySuperseded
v16 patches0 repliesSuperseded

Changes in v3 from the cover letter

- 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/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7drm/sitronix/st7571-i2c: rename 'struct drm_device' in st7571_devicedrivers/gpu/drm/sitronix/st7571-i2c.c+30 -300 replies
2/7drm/sitronix/st7571-i2c: add 'struct device' to st7571_devicedrivers/gpu/drm/sitronix/st7571-i2c.c+16 -140 replies
3/7drm/sitronix/st7571-i2c: move common structures to st7571.hMAINTAINERS drivers/gpu/drm/sitronix/st7571-i2c.c drivers/gpu/drm/sitronix/st7571.h+111 -890 replies
4/7drm/sitronix/st7571-i2c: make probe independent of hw interfacedrivers/gpu/drm/sitronix/st7571-i2c.c drivers/gpu/drm/sitronix/st7571.h+113 -770 replies
5/7drm/sitronix/st7571: split up the driver into a common and an i2c partMAINTAINERS drivers/gpu/drm/sitronix/Kconfig drivers/gpu/drm/sitronix/Makefile +3 more+960 -9170 replies
6/7drm/sitronix/st7571-spi: add support for SPI interfaceMAINTAINERS drivers/gpu/drm/sitronix/Kconfig drivers/gpu/drm/sitronix/Makefile +1 more+90 -00 replies
7/7dt-bindings: display: sitronix,st7571: add example for SPIDocumentation/devicetree/bindings/display/sitronix,st7571.yaml+25 -00 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchJavier Martinez Canillas
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] drm/sitronix/st7571: split up driver to support both I2C and SPI

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.

---
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/[email protected]

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/[email protected]

---
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,

Signature · 1 line
Marcus Folkesson <[email protected]>