I want to interface my mipi dsi display with VIM3. I have interfaced my display with Edge-V and I got it working. But when I connect it with VIM3 then even backlight is not getting on.
So, what changes I need to do in the VIM3 Android 9 SDK to turn it on.
I have made few changes in the DTS file to get it working for Khadas Edge-V.
But It is not working for VIM3.
Hi @Parth !,
Well for starters, assuming you have a proper powersupply, and you have a proper device connection…
you can give insight as to see whether the display is compatible, It might require the specific peripheral drivers, and also should have a supported resolution…
please note the differences in the amlogic and rockchip dtb’s
Please make you have ensured all these in your diagnostic checklist…
hello, you are trying the same power supply on Edge and vim3, it will be more correct, they have the same power connection, and check the connection between the display and your board
But How would I find compatible driver for my display? I have used ‘simple-panel-dsi’ in Edge-V.
But in VIM3 I have used ‘mesong12b_skt-panel.dtsi’ which contains “amlogic, lcd-g12b”.
I know that MIPI-DSI is a standard connection, perhaps it is using different pinout connection ?
Ok, so if your parameters for the LCD functioning are correct, try implementing it the touchscreen.dtsi file, just modify it and see if there is any result…
you can ask @Archangel1235 for some help, but please provide the display model or where you bought it from…
Thanx. I did the same thing. I modified the ‘mesong12b_skt-panel.dtsi’ file but still my backlight is not turning on. As I said ‘khadas display’ is working with the same parameters but mine is not.
@Parth It is not recommended to keep connecting and disconnecting the FPC, but can you check that it works on the Edge once more ? give us some photos, it is easier…
bootloader/uboot$ git diff
diff --git a/board/khadas/kvim3/kvim3.c b/board/khadas/kvim3/kvim3.c
old mode 100644
new mode 100755
index 2583af7..3d14c96
--- a/board/khadas/kvim3/kvim3.c
+++ b/board/khadas/kvim3/kvim3.c
@@ -633,7 +633,8 @@ void board_lcd_detect(void)
{
u8 mask = 0, value = 0;
int ret = 0;
-
+setenv_ulong("lcd_exist", 1);
+return;
// detect RESET pin
// if the LCD is connected, the RESET pin will be plll high
// if the LCD is not connected, the RESET pin will be low
@goenjoy
Thanx.
I made the changes you suggested and my backlight led is on now.
But my display does not show anything. So, I will work on my dts file and will let you know the result.
I have changed the parameters according to my display but that has not turn up my display.
Though after making lcd_exist equal to 1 my display’s backlight led gets turn on. But, so far nothing comes up on the display.