diff --git a/drivers/media/vout/lcd/lcd_debug.c b/drivers/media/vout/lcd/lcd_debug.c index 4a904f984..53687adeb 100644 --- a/drivers/media/vout/lcd/lcd_debug.c +++ b/drivers/media/vout/lcd/lcd_debug.c @@ -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;