Use new partial display modes

This commit is contained in:
Korneliusz Osmenda
2022-09-02 15:56:48 +02:00
parent 1d0604ae3e
commit bcf88475c6
+62 -54
View File
@@ -94,69 +94,77 @@
pinctrl-names = "default", "sleep";
ssd16xx: ssd16xxfb@0 {
compatible = "gooddisplay,GDEM029T94", "solomon,ssd1680", "solomon,ssd16xxfb";
compatible = "gooddisplay,GDEM029T94", "solomon,ssd1680";
spi-max-frequency = <4000000>;
reg = <0>;
width = <296>;
height = <128>;
pp-width-bits = <8>;
pp-height-bits = <16>;
dc-gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
reset-gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
busy-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
gdv = [17];
sdv = [41 B0 32];
vcom = <0x36>;
//orientation-flipped;
border-waveform = <0x80>;
//softstart = [d7 d6 9d];
cntrl1-data = [00 80];
data-mode-2;
otp-selection-ctl = [00 00 00 00 00 40 00 00 00 00];
lut-initial = [
80 66 00 00 00 00 00 00
40 00 00 00 10 66 00 00
00 00 00 00 20 00 00 00
80 66 00 00 00 00 00 00
40 00 00 00 10 66 00 00
00 00 00 00 20 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 14 08 00 00
00 00 01 0a 0a 00 0a 0a
00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 14 08 00 01
00 00 01 00 00 00 00 00
00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00
44 44 44 44 44 44 00 00
00
];
lut-default = [
00 40 00 00 00 00 00 00
00 00 00 00 80 80 00 00
00 00 00 00 00 00 00 00
40 40 00 00 00 00 00 00
00 00 00 00 00 80 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 0a 00 00 00
00 00 01 01 00 00 00 00
00 00 01 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
22 22 22 22 22 22 00 00
00
];
full {
vcom = <0x36>;
border-waveform = <0x80>;
gdv = [17];
sdv = [41 B0 32];
lut = [
80 66 00 00 00 00 00 00
40 00 00 00 10 66 00 00
00 00 00 00 20 00 00 00
80 66 00 00 00 00 00 00
40 00 00 00 10 66 00 00
00 00 00 00 20 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 14 08 00 00
00 00 01 0a 0a 00 0a 0a
00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 14 08 00 01
00 00 01 00 00 00 00 00
00 01 00 00 00 00 00 00
00 00 00 00 00 00 00 00
44 44 44 44 44 44 00 00
00
];
};
partial {
vcom = <0x36>;
border-waveform = <0x80>;
gdv = [17];
sdv = [41 B0 32];
lut = [
00 40 00 00 00 00 00 00
00 00 00 00 80 80 00 00
00 00 00 00 00 00 00 00
40 40 00 00 00 00 00 00
00 00 00 00 00 80 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 0a 00 00 00
00 00 01 01 00 00 00 00
00 00 01 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
22 22 22 22 22 22 00 00
00
];
};
};
};