linux/drivers/gpu/drm/solomon
Javier Martinez Canillas fdd591e00a
drm/ssd130x: Add support for the SSD132x OLED controller family
The Solomon SSD132x controllers (such as the SSD1322, SSD1325 and SSD1327)
are used by 16 grayscale dot matrix OLED panels, extend the driver to also
support this chip family.

Instead adding an indirection level to allow the same modesetting pipeline
to be used by both controller families, add another pipeline for SSD132x.

This leads to some code duplication but it makes the driver easier to read
and reason about. Once other controller families are added (e.g: SSD133x),
some common code can be factored out in driver helpers to be shared by the
different families. But that can be done later once these patterns emerge.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231014071520.1342189-5-javierm@redhat.com
2023-10-18 09:53:29 +02:00
..
Kconfig drm/ssd130x: Add support for the SSD132x OLED controller family 2023-10-18 09:53:29 +02:00
Makefile drm/solomon: Add SSD130x OLED displays SPI support 2022-04-20 18:48:17 +02:00
ssd130x-i2c.c drm/ssd130x: Add support for the SSD132x OLED controller family 2023-10-18 09:53:29 +02:00
ssd130x-spi.c drm/ssd130x: Add support for the SSD132x OLED controller family 2023-10-18 09:53:29 +02:00
ssd130x.c drm/ssd130x: Add support for the SSD132x OLED controller family 2023-10-18 09:53:29 +02:00
ssd130x.h drm/ssd130x: Add support for the SSD132x OLED controller family 2023-10-18 09:53:29 +02:00