@@ -109,6 +109,7 @@ struct st7701_panel_desc {
109109 enum mipi_dsi_pixel_format format ;
110110 u32 mediabus_format ;
111111 unsigned int panel_sleep_delay ;
112+ u32 bus_flags ;
112113
113114 /* TFT matrix driver configuration, panel specific. */
114115 const u8 pv_gamma [16 ]; /* Positive voltage gamma control */
@@ -728,6 +729,7 @@ static int st7701_get_modes(struct drm_panel *panel,
728729
729730 connector -> display_info .width_mm = desc_mode -> width_mm ;
730731 connector -> display_info .height_mm = desc_mode -> height_mm ;
732+ connector -> display_info .bus_flags = st7701 -> desc -> bus_flags ;
731733
732734 /*
733735 * TODO: Remove once all drm drivers call
@@ -1435,6 +1437,7 @@ static const struct st7701_panel_desc txw210001b0_desc = {
14351437 CFIELD_PREP (ST7701_CMD2_BK0_GAMCTRL_VC255_MASK , 0x1d )
14361438 },
14371439 .gip_sequence = txw210001b0_gip_sequence ,
1440+ .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE ,
14381441};
14391442
14401443static const struct st7701_panel_desc hyperpixel2r_desc = {
@@ -1499,6 +1502,7 @@ static const struct st7701_panel_desc hyperpixel2r_desc = {
14991502 CFIELD_PREP (ST7701_CMD2_BK0_GAMCTRL_VC255_MASK , 0x1d )
15001503 },
15011504 .gip_sequence = txw210001b0_gip_sequence ,
1505+ .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_NEGEDGE ,
15021506};
15031507
15041508static void st7701_cleanup (void * data )
0 commit comments