diff options
author | Yannick Fertre <yannick.fertre@st.com> | 2020-06-24 10:45:39 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2020-06-28 01:24:35 +0200 |
commit | 36e66e3cd6067c2b38f97047193fc447a1842834 (patch) | |
tree | a982ec95d60d769c3ea7f1355396be39bcf21541 | |
parent | 670eda329329d591d276b02c8918e7918aaedde7 (diff) |
video: mipi update panel platform data
Add new fields "lanes, format & mode_flags" to structure
mipi_dsi_panel_plat.
Signed-off-by: Yannick Fertre <yannick.fertre@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
-rw-r--r-- | include/mipi_dsi.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; }; /** |