lcd: fix t7 debug error [1/1]

PD#SWPL-188061

Problem:
t7 debug interface reg print error

Solution:
fix

Verify:
t7_an400

Change-Id: I6bb8a9ffa26636ed214b55a24159f9c32072b88c
Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
This commit is contained in:
lizhi.hu
2024-10-10 11:26:43 +08:00
committed by Lizhi Hu
parent a6008e4c54
commit 3d759d2b0a
+17
View File
@@ -4756,6 +4756,21 @@ static struct lcd_debug_info_s lcd_debug_info_t7_0 = {
#endif
};
static struct lcd_debug_info_s lcd_debug_info_t7_1 = {
.reg_pinmux_table = lcd_reg_dump_pinmux_t7,
.reg_dump_lvds = lcd_reg_print_lvds_t7,
.reg_dump_vbyone = lcd_reg_print_vbyone_t7,
#ifdef CONFIG_AMLOGIC_LCD_TABLET
.reg_dump_mipi = lcd_reg_print_mipi,
.reg_dump_edp = lcd_reg_print_edp,
#endif
#ifdef CONFIG_AMLOGIC_LCD_TV
.reg_dump_mlvds = NULL,
.reg_dump_p2p = NULL,
#endif
};
static struct lcd_debug_info_s lcd_debug_info_t7_2 = {
.reg_pinmux_table = lcd_reg_dump_pinmux_t7,
@@ -4910,6 +4925,8 @@ int lcd_debug_probe(struct aml_lcd_drv_s *pdrv)
case LCD_CHIP_T7:
if (pdrv->index == 2)
lcd_debug_info = &lcd_debug_info_t7_2;
else if (pdrv->index == 1)
lcd_debug_info = &lcd_debug_info_t7_1;
else
lcd_debug_info = &lcd_debug_info_t7_0;
break;