notro / fbtft

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.84k stars 495 forks source link

st7789v kernel 5.4 color error #564

Closed DRAgon734465502 closed 2 years ago

DRAgon734465502 commented 3 years ago

I use this 1.54inch LCD 240x240 st7789v https://www.aliexpress.com/item/32970035492.html?gps-id=pcStoreLeaderboard&scm=1007.22922.122102.0&scm_id=1007.22922.122102.0&scm-url=1007.22922.122102.0&pvid=bf355d74-92c6-4b60-b558-9bad8e05d2e7&spm=a2g0o.store_home.smartLeaderboard_825966147.32970035492

But at kernel 5.4 the color not right like this https://ae01.alicdn.com/kf/H15c23d5a1f2d44d0865c1439f183cc50v.png

I do a dts , code like this

spi-max-frequency = <48000000>; rotate = <270>; width = <240>; height = <240>; fps = <30>; buswidth = <8>; txbuflen = <32768>; reset-gpios = <&gpio 27 1>; dc-gpios = <&gpio 22 0>; spi-cpol; spi-cpha; bgr; debug = <0>; init = <0x1000011 0x20000ff 0x100003A 0x55 0x10000C0 0x0C 0x1000021 0x1000029 >;`

DRAgon734465502 commented 3 years ago

I do not know why the yellow color Seems more brighter at kernel 5.4

DRAgon734465502 commented 3 years ago

the color is more black at kernel 5.4

http://ae01.alicdn.com/kf/H9760bd671b79465cafce9171b00eaf03f.png

breaktime1903 commented 3 years ago

I want to ask how to use the st7789v LCD Display in Armbian.I need it just now!

AVTAR0901 commented 3 years ago

Hey @DRAgon734465502 How did you get Raspbian buster working with ST7789v 240x240 I have similar display but its not mirroring properly. can u help me with any link or something that made it work for you?? it will be great help. I was following below link to get it work. https://krystof.io/mirroring-raspberry-pi-hdmi-video-to-a-st7789-1-3-inch-lcd-display/

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.