zephyr/dts/bindings/display/solomon,ssd1306fb-common.yaml
Marco Peter 03f256505c drivers: ssd1306: Add SPI support
This change allows to use SSD1306 based displays to be used on the
SPI bus as well.
Adding SPI shield.
Tested on SSD1306 and SSD1309 based displays using I2C.
Tested on SSD1309 based display using SPI.

Signed-off-by: Marco Peter <marco@peter-net.ch>
2020-10-02 11:33:26 +02:00

63 lines
1.5 KiB
YAML

# Copyright (c) 2018, Phytec Messtechnik GmbH
# SPDX-License-Identifier: Apache-2.0
properties:
height:
type: int
required: true
description: Height in pixel of the panel driven by the controller
width:
type: int
required: true
description: Width in pixel of the panel driven by the controller
segment-offset:
type: int
required: true
description: 8-bit column start address for Page Addressing Mode
page-offset:
type: int
required: true
description: Start address for Page Addressing Mode
display-offset:
type: int
required: true
description: mapping of the display start line to one of COM0 .. COM63
multiplex-ratio:
type: int
required: true
description: Multiplex Ratio
segment-remap:
type: boolean
required: false
description: Last column address is mapped to first segment
com-invdir:
type: boolean
required: false
description: Scan direction is from last COM output to first COM output
com-sequential:
type: boolean
required: false
description: Sequential COM pin configuration
prechargep:
type: int
required: true
description: Duration of the pre-charge period
reset-gpios:
type: phandle-array
required: false
description: RESET pin.
The RESET pin of SSD1306 is active low.
If connected directly the MCU pin should be configured
as active low.