From: Yannick Fertre Date: Wed, 24 Jun 2020 08:45:39 +0000 (+0200) Subject: video: mipi update panel platform data X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=36e66e3cd6067c2b38f97047193fc447a1842834;p=u-boot.git video: mipi update panel platform data Add new fields "lanes, format & mode_flags" to structure mipi_dsi_panel_plat. Signed-off-by: Yannick Fertre Reviewed-by: Patrick Delaunay --- diff --git a/include/mipi_dsi.h b/include/mipi_dsi.h index 83c5163cf8..c8a7d3daef 100644 --- a/include/mipi_dsi.h +++ b/include/mipi_dsi.h @@ -221,9 +221,15 @@ static inline int mipi_dsi_pixel_format_to_bpp(enum mipi_dsi_pixel_format fmt) /** * struct mipi_dsi_panel_plat - DSI panel platform data * @device: DSI peripheral device + * @lanes: number of active data lanes + * @format: pixel format for video mode + * @mode_flags: DSI operation mode related flags */ struct mipi_dsi_panel_plat { struct mipi_dsi_device *device; + unsigned int lanes; + enum mipi_dsi_pixel_format format; + unsigned long mode_flags; }; /**