Skip to content

Commit 23d1a8f

Browse files
VynDragonkartben
authored andcommitted
drivers: display: Re-introduce SSD1327
This makes SSD1327 use the new L8 display format. It also fixes all displays that didnt support the undocumented monochrome mode. It also adds i2c and revamps the entire driver. Signed-off-by: Camille BAUD <[email protected]>
1 parent 05c7fad commit 23d1a8f

File tree

7 files changed

+394
-178
lines changed

7 files changed

+394
-178
lines changed

drivers/display/Kconfig.ssd1327

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
menuconfig SSD1327
7-
bool "SSD1327 display driver"
7+
bool "SSD1327 display controller driver"
88
default y
99
depends on DT_HAS_SOLOMON_SSD1327FB_ENABLED
10-
select MIPI_DBI
10+
select I2C if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1327FB),i2c)
11+
select MIPI_DBI if $(dt_compat_on_bus,$(DT_COMPAT_SOLOMON_SSD1327FB),mipi-dbi)
1112
help
1213
Enable driver for SSD1327 display.
1314

@@ -20,4 +21,9 @@ config SSD1327_DEFAULT_CONTRAST
2021
help
2122
SSD1327 default contrast.
2223

24+
config SSD1327_CONV_BUFFER_LINES
25+
int "How many lines can the conversion buffer hold"
26+
default 1
27+
range 1 128
28+
2329
endif # SSD1327

0 commit comments

Comments
 (0)