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 <[email protected]>
---
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,
-- 
Marcus Folkesson <[email protected]>

Reply via email to