u/retromaidrage

ST7789V fbtft Inverted brightness

Hello everyone.
I'm trying connect tft display (Red 2.8" TFT 240x320 V1.1) to SBC called Luckfox Pico but my brightness are inverted (black = white) and I'm don't know whats wrong. I change some variables in device tree but it didn't help me, i'm trying tft,invert=<1>; and backlight pins but this makes nothing whatever i use it or manually enable PWM.
I'm making this for fun and learning and use X11 so maybe there some way to invert colors in X11? But i heard something usual like xcalib didn't work with fbtft driver so i hope there are other way...
Thank you.

fbtft@0 {
compatible = "sitronix,st7789v";
reg = &lt;0&gt;;
spi-max-frequency = &lt;20000000&gt;;
fps = &lt;30&gt;;
buswidth = &lt;8&gt;;
debug = &lt;0x7&gt;;
led-gpios = &lt;&amp;gpio0 RK_PA4 GPIO_ACTIVE_LOW&gt;;//BL
dc-gpios = &lt;&amp;gpio1 RK_PA2 GPIO_ACTIVE_HIGH&gt;;//DC
reset-gpios = &lt;&amp;gpio1 RK_PC3 GPIO_ACTIVE_LOW&gt;;//RES
rotate = &lt;90&gt;;
bgr = &lt;1&gt;;
invert = &lt;1&gt;; 
};
reddit.com
u/retromaidrage — 14 days ago