1# Copyright (c) 2024, Savoir-faire Linux
2# SPDX-License-Identifier: Apache-2.0
3
4description: SSD1327 128x128 dot-matrix display controller on MIPI_DBI bus
5
6include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
7
8compatible: "solomon,ssd1327fb"
9
10properties:
11  oscillator-freq:
12    type: int
13    required: true
14    description: Front clock divider / oscillator frequency
15
16  display-offset:
17    type: int
18    required: true
19    description: Vertical offset by com from 0 ~ 127
20
21  start-line:
22    type: int
23    required: true
24    description: Start line of display RAM to be displayed by selecting a value from 0 to 127
25
26  multiplex-ratio:
27    type: int
28    required: true
29    description: Multiplex ratio from 16MUX to 128MUX
30
31  prechargep:
32    type: int
33    required: true
34    description: Pre-charge period ranging from 0 to 15 DCLK's
35
36  remap-value:
37    type: int
38    required: true
39    description: Remap register
40
41      Has multiple configurations (see each bit setting in the datasheet)
42      - Column Address Remapping (A[0])
43      - Nibble Remapping (A[1])
44      - Address increment mode (A[2])
45      - COM Remapping (A[4])
46      - Splitting of Odd / Even COM Signals (A[6])
47
48  inversion-on:
49    type: boolean
50    description: Turn on display color inverting
51