Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>. Additional options and configurability by Tobias Pisani <[email protected]> Signed-off-by: Lukasz Hawrylko <[email protected]> Signed-off-by: Tobias Pisani <[email protected]> Co-authored-by: Lukasz Hawrylko <[email protected]> Co-authored-by: Tobias Pisani <[email protected]>
- Loading branch information