| .. | .. |
|---|
| 19 | 19 | - vbat-supply: The supply for VBAT |
|---|
| 20 | 20 | - solomon,segment-no-remap: Display needs normal (non-inverted) data column |
|---|
| 21 | 21 | to segment mapping |
|---|
| 22 | + - solomon,col-offset: Offset of columns (COL/SEG) that the screen is mapped to. |
|---|
| 22 | 23 | - solomon,com-seq: Display uses sequential COM pin configuration |
|---|
| 23 | 24 | - solomon,com-lrremap: Display uses left-right COM pin remap |
|---|
| 24 | 25 | - solomon,com-invdir: Display uses inverted COM pin scan direction |
|---|
| .. | .. |
|---|
| 27 | 28 | - solomon,prechargep2: Length of precharge period (phase 2) in clock cycles. |
|---|
| 28 | 29 | This needs to be the higher, the higher the capacitance |
|---|
| 29 | 30 | of the OLED's pixels is |
|---|
| 31 | + - solomon,dclk-div: Clock divisor 1 to 16 |
|---|
| 32 | + - solomon,dclk-frq: Clock frequency 0 to 15, higher value means higher |
|---|
| 33 | + frequency |
|---|
| 34 | + - solomon,lookup-table: 8 bit value array of current drive pulse widths for |
|---|
| 35 | + BANK0, and colors A, B, and C. Each value in range |
|---|
| 36 | + of 31 to 63 for pulse widths of 32 to 64. Color D |
|---|
| 37 | + is always width 64. |
|---|
| 38 | + - solomon,area-color-enable: Display uses color mode |
|---|
| 39 | + - solomon,low-power. Display runs in low power mode |
|---|
| 30 | 40 | |
|---|
| 31 | 41 | [0]: Documentation/devicetree/bindings/pwm/pwm.txt |
|---|
| 32 | 42 | |
|---|
| .. | .. |
|---|
| 36 | 46 | reg = <0x3c>; |
|---|
| 37 | 47 | pwms = <&pwm 4 3000>; |
|---|
| 38 | 48 | reset-gpios = <&gpio2 7>; |
|---|
| 39 | | - reset-active-low; |
|---|
| 40 | 49 | }; |
|---|
| 41 | 50 | |
|---|
| 42 | 51 | ssd1306: oled@3c { |
|---|
| .. | .. |
|---|
| 44 | 53 | reg = <0x3c>; |
|---|
| 45 | 54 | pwms = <&pwm 4 3000>; |
|---|
| 46 | 55 | reset-gpios = <&gpio2 7>; |
|---|
| 47 | | - reset-active-low; |
|---|
| 48 | 56 | solomon,com-lrremap; |
|---|
| 49 | 57 | solomon,com-invdir; |
|---|
| 50 | 58 | solomon,com-offset = <32>; |
|---|
| 59 | + solomon,lookup-table = /bits/ 8 <0x3f 0x3f 0x3f 0x3f>; |
|---|
| 51 | 60 | }; |
|---|