Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k
stars
493
forks
source link
fb_st7789v.c in kernel 5.10 the color was swapped #575
But when I try to run simple app by QT5 on board to display a picture, the color was swapped (white->black, yellow->blue...). I searched some topics about this problem but I can't find solution. Can anyone help me?
Hi there,
I'm working with LCD via st7789v. I've already connected to my board. The device tree show below:
`spi0: spi@400 { compatible = "microchip,sam9x60-spi", "atmel,at91rm9200-spi"; reg = <0x400 0x200>; interrupts = <13 IRQ_TYPE_LEVEL_HIGH 7>; clocks = <&pmc PMC_TYPE_PERIPHERAL 13>; clock-names = "spi_clk"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flx4_default>; atmel,fifo-size = <16>;
address-cells = <1>;
`
But when I try to run simple app by QT5 on board to display a picture, the color was swapped (white->black, yellow->blue...). I searched some topics about this problem but I can't find solution. Can anyone help me?
Any suggestion would be appreciate!