1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/display/solomon,ssd1307fb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Solomon SSD1307 OLED Controller Framebuffer
10 - Maxime Ripard <mripard@kernel.org>
15 - solomon,ssd1305fb-i2c
16 - solomon,ssd1306fb-i2c
17 - solomon,ssd1307fb-i2c
18 - solomon,ssd1309fb-i2c
30 description: The supply for VBAT
33 $ref: /schemas/types.yaml#/definitions/uint32
36 Height in pixel of the screen driven by the controller
39 $ref: /schemas/types.yaml#/definitions/uint32
42 Width in pixel of the screen driven by the controller
45 $ref: /schemas/types.yaml#/definitions/uint32
48 Offset of pages (band of 8 pixels) that the screen is mapped to
50 solomon,segment-no-remap:
53 Display needs normal (non-inverted) data column to segment mapping
56 $ref: /schemas/types.yaml#/definitions/uint32
59 Offset of columns (COL/SEG) that the screen is mapped to
64 Display uses sequential COM pin configuration
69 Display uses left-right COM pin remap
74 Display uses inverted COM pin scan direction
77 $ref: /schemas/types.yaml#/definitions/uint32
80 Number of the COM pin wired to the first display line
83 $ref: /schemas/types.yaml#/definitions/uint32
86 Length of deselect period (phase 1) in clock cycles
89 $ref: /schemas/types.yaml#/definitions/uint32
92 Length of precharge period (phase 2) in clock cycles. This needs to be
93 the higher, the higher the capacitance of the OLED's pixels is.
96 $ref: /schemas/types.yaml#/definitions/uint32
100 Clock divisor. The default value is controller-dependent.
103 $ref: /schemas/types.yaml#/definitions/uint32
107 Clock frequency, higher value means higher frequency.
108 The default value is controller-dependent.
110 solomon,lookup-table:
111 $ref: /schemas/types.yaml#/definitions/uint8-array
114 8 bit value array of current drive pulse widths for BANK0, and colors A,
115 B, and C. Each value in range of 31 to 63 for pulse widths of 32 to 64.
116 Color D is always width 64.
118 solomon,area-color-enable:
121 Display uses color mode
126 Display runs in low power mode
137 const: solomon,ssd1305fb-i2c
149 const: solomon,ssd1306fb-i2c
161 const: solomon,ssd1307fb-i2c
175 const: solomon,ssd1309fb-i2c
183 additionalProperties: false
188 #address-cells = <1>;
192 compatible = "solomon,ssd1307fb-i2c";
194 pwms = <&pwm 4 3000>;
195 reset-gpios = <&gpio2 7>;
199 compatible = "solomon,ssd1306fb-i2c";
201 pwms = <&pwm 4 3000>;
202 reset-gpios = <&gpio2 7>;
205 solomon,com-offset = <32>;
206 solomon,lookup-table = /bits/ 8 <0x3f 0x3f 0x3f 0x3f>;