Hello, fix the return value of value to 1 in the board_lcd_detect function in the kvim3.c file in the following path, and do not make detection judgments.
bootloader\uboot\board\khadas\kvim3\kvim3.c
#if (defined (CONFIG_AML_LCD) && defined(CONFIG_TCA6408))
// detect whether the LCD is exist
extern int khadas_mipi_id;
void board_lcd_detect(void)
{
u8 mask = 0, value = 0;
int ret = 0;
// 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
mask = TCA_LCD_RESET_MASK;
ret = tca6408_get_value(&value, mask);
if (ret) {
printf("%s: failed to read LCD_RESET status! error: %d\n", __func__, ret);
return;
}
if (khadas_mipi_id == 2) {//TS101
value = 1;
}
printf("LCD_RESET PIN: %d\n", value);
setenv_ulong("lcd_exist", value);
}
Hello, this can refer to the reset of the TS050, but you can first check whether the voltage of the RESET voltage in the screen of the screen you need to light up can reach 3V. If you can, you can modify the lower circuit. The value of the value is fixed to 1 to skip the detection of LCD existence
Now the panel light is on! But there is a problem with the image. I will try to check whether the DDI initial code in .dtsi is correct or not. but I wanna ask is there any other setting I have to set? because my panel resolution is 578 * 1280