Initial support for SSD1322 OLED display driver. Only 1 bit color mode is supported. Most options map directly to values documented in the datasheet, except segments-per-pixel, which I had to add to support the Newhaven NHD-2.7-12864WDW3. This is a slightly odd feature, but in practice it is a lot nicer to support it in the driver, and since we're currently remapping pixels anyway, it makes sense to implement here. This driver also has a configurable buffer size for the pixel conversion. By using a larger buffer, we can potentially use DMA for the SPI transfer. The default is set to 8, which is the smallest value that supports segments-per-pixel = 2 Initial driver implementation by Lukasz Hawrylko <lukasz@hawrylko.pl>. Additional options and configurability by Tobias Pisani <mail@topisani.dev> Signed-off-by: Lukasz Hawrylko <lukasz@hawrylko.pl> Signed-off-by: Tobias Pisani <mail@topisani.dev> Co-authored-by: Lukasz Hawrylko <lukasz@hawrylko.pl> Co-authored-by: Tobias Pisani <mail@topisani.dev>
11 lines
244 B
Plaintext
11 lines
244 B
Plaintext
# Copyright (c) 2024 Lukasz Hawrylko
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config SSD1322
|
|
bool "SSD1322 display driver"
|
|
default y
|
|
depends on DT_HAS_SOLOMON_SSD1322_ENABLED
|
|
select MIPI_DBI
|
|
help
|
|
Enable driver for SSD1322 display driver.
|