[PATCH v2 0/5] drm/ssd130x: A few enhancements and cleanups

From: Javier Martinez Canillas
Date: Fri Jun 09 2023 - 13:10:38 EST


Hello,

While working on adding support for the SSD132X family of 4-bit grayscale
Solomon OLED panel controllers, I noticed a few things in the driver that
can be improved and make extending to support other chip families easier.

I've split the preparatory patches in this series and will post the actual
SSD132X support as a separate patch-set once this one is merged.

Best regards,
Javier

Changes in v2:
- List per controller default width/height values in DT schema (Maxime Ripard).

Javier Martinez Canillas (5):
drm/ssd130x: Make default width and height to be controller dependent
dt-bindings: display: ssd1307fb: Remove default width and height
values
drm/ssd130x: Set the page height value in the device info data
drm/ssd130x: Don't allocate buffers on each plane update
drm/ssd130x: Remove hardcoded bits-per-pixel in ssd130x_buf_alloc()

.../bindings/display/solomon,ssd1307fb.yaml | 28 +++-
drivers/gpu/drm/solomon/ssd130x.c | 124 ++++++++++++------
drivers/gpu/drm/solomon/ssd130x.h | 6 +
3 files changed, 113 insertions(+), 45 deletions(-)

--
2.40.1