LCD module(DSI+RGB) with touch and S070SWV20HG-DC16 lcd panel + mainline kernel

I have bought panel from subject(from here: https://allegro.pl/oferta/ekran-dotykowy-tft-7-800x480px-do-banana-pi-8223136875) but i can’t make it work with mainline(5.7) kernel.

I have Lamobo R1 which is (as you may know) very similar to Banana Pi M1. On old bananian(kernel 3.x something) with lamobo r1 fex modified according to this one(only part for lcd has been taken): https://github.com/BPI-SINOVOIP/BPI-M1-M1Plus-Configuration/blob/master/fex/BPI_M1_7lcd.fex it works(LCD+touch).

But on mainline dtb(device tree) for lamobo and this device tree overlay https://github.com/wens/dt-overlays/blob/master/bpi-m1p-lcd.dts it doesn’t. I’ve compiled dt-overlay without any warning and i can see that driver - with this overaly - is loading but screen remains black and - which is weird - display connected via hdmi changes its resolution.

i have exactly this lcd module: https://www.youtube.com/watch?v=AHEk1jMlYic

I’ve tired this already: https://linux-sunxi.org/LCD but without luck :frowning:

@ sinovoip Any help? Really any clue would be appreciated.

To make U-Boot working add this to configs/Lamobo_R1_defconfig (in u-boot sources)

CONFIG_VIDEO_LCD_MODE="x:800,y:480,depth:24,pclk_khz:30000,le:40,ri:40,up:29,lo:13,hs:48,vs:3,sync:3,vmode:0"
CONFIG_VIDEO_LCD_POWER="PH12"
CONFIG_VIDEO_LCD_BL_EN="PH9"
CONFIG_VIDEO_LCD_BL_PWM="PB2"

Still no working in linux :frowning:

How it looks like: https://www.youtube.com/watch?v=3PXFE7nogJI