mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 14:55:24 +00:00
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>
63 lines
1.5 KiB
YAML
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.
|