1description: SSD1322 display controller
2
3compatible: "solomon,ssd1322"
4
5include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
6
7properties:
8  column-offset:
9    type: int
10    required: true
11    description: First visible column number.
12
13  row-offset:
14    type: int
15    default: 0
16    description: |
17      COM pin used as first row, mapped to the line set by start-line.
18      The default corresponds to the reset value of the register.
19
20  start-line:
21    type: int
22    default: 0
23    description: |
24      Starting line address of display ram (0-127).
25      The default corresponds to the reset value of the register.
26
27  mux-ratio:
28    type: int
29    default: 128
30    description: |
31      COM Pin Multiplex ratio from 16-128.
32      The default corresponds to the reset value of the register.
33
34  remap-row-first:
35    type: boolean
36    description: Set scan direction to vertical first (swap rows/columns).
37
38  remap-columns:
39    type: boolean
40    description: Reverse the column order (flip horizontally).
41
42  remap-rows:
43    type: boolean
44    description: Reverse the row order (flip vertically).
45
46  remap-nibble:
47    type: boolean
48    description: Reverse every group of 4 nibbles.
49
50  remap-com-odd-even-split:
51    type: boolean
52    description: Odd even split of COM pins.
53
54  remap-com-dual:
55    type: boolean
56    description: Dual COM mode.
57
58  segments-per-pixel:
59    type: int
60    default: 1
61    enum:
62      - 1
63      - 2
64    description: |
65      Map multiple adjacent segments to one pixel.
66      Some displays (such as the Newhaven Display NHD-2.7-12864WDW3) connect
67      two adjacent pixel drivers to each physical pixel. By setting this to 2,
68      the driver will repeat each pixel. The default disables this functionality,
69      as it only applies to very specific display models.
70