1# Copyright (c) 2018, Phytec Messtechnik GmbH
2# SPDX-License-Identifier: Apache-2.0
3
4include: display-controller.yaml
5
6properties:
7  segment-offset:
8    type: int
9    required: true
10    description: 8-bit column start address for Page Addressing Mode
11
12  page-offset:
13    type: int
14    required: true
15    description: Start address for Page Addressing Mode
16
17  display-offset:
18    type: int
19    required: true
20    description: mapping of the display start line to one of COM0 .. COM63
21
22  multiplex-ratio:
23    type: int
24    required: true
25    description: Multiplex Ratio
26
27  segment-remap:
28    type: boolean
29    description: Last column address is mapped to first segment
30
31  com-invdir:
32    type: boolean
33    description: Scan direction is from last COM output to first COM output
34
35  com-sequential:
36    type: boolean
37    description: Sequential COM pin configuration
38
39  prechargep:
40    type: int
41    required: true
42    description: Duration of the pre-charge period
43
44  reset-gpios:
45    type: phandle-array
46    description: RESET pin.
47
48      The RESET pin of SSD1306 is active low.
49      If connected directly the MCU pin should be configured
50      as active low.
51
52  inversion-on:
53    type: boolean
54    description: Turn on display color inverting
55
56  ready-time-ms:
57    type: int
58    default: 10
59    description: |
60      Time it takes for the device from power up to become responsive and
61      accepting commands. Defaults to 10ms (found by trial and error) if not
62      provided.
63
64  use-internal-iref:
65    type: boolean
66    description: |
67      Use internal Iref, not common but sometime used to save component cost.
68