Skip to content
Commit 3253d333 authored by Tobias Pisani's avatar Tobias Pisani Committed by Henrik Brix Andersen
Browse files

drivers: display: Add ssd1322 driver



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: default avatarLukasz Hawrylko <lukasz@hawrylko.pl>
Signed-off-by: default avatarTobias Pisani <mail@topisani.dev>

Co-authored-by: default avatarLukasz Hawrylko <lukasz@hawrylko.pl>
Co-authored-by: default avatarTobias Pisani <mail@topisani.dev>
parent 3e109d69
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment