diff mbox series

[v1,1/4] video: mipi update panel platform data

Message ID 20200624084542.18098-2-yannick.fertre@st.com
State Accepted
Commit 36e66e3cd6067c2b38f97047193fc447a1842834
Headers show
Series rework DSI characteristics | expand

Commit Message

Yannick Fertre June 24, 2020, 8:45 a.m. UTC
Add new fields "lanes, format & mode_flags" to structure
mipi_dsi_panel_plat.

Signed-off-by: Yannick Fertre <yannick.fertre at st.com>
---
 include/mipi_dsi.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Patrick Delaunay June 24, 2020, 1:28 p.m. UTC | #1
Hi Yannick

> From: Yannick FERTRE <yannick.fertre at st.com>
> Sent: mercredi 24 juin 2020 10:46
> 
> Add new fields "lanes, format & mode_flags" to structure mipi_dsi_panel_plat.
> 
> Signed-off-by: Yannick Fertre <yannick.fertre at st.com>
> ---
>  include/mipi_dsi.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>

Regards

Patrick
Anatolij Gustschin June 29, 2020, 7:02 a.m. UTC | #2
On Wed, 24 Jun 2020 10:45:39 +0200
Yannick Fertre yannick.fertre at st.com wrote:

> Add new fields "lanes, format & mode_flags" to structure
> mipi_dsi_panel_plat.
> 
> Signed-off-by: Yannick Fertre <yannick.fertre at st.com>
> ---
>  include/mipi_dsi.h | 6 ++++++
>  1 file changed, 6 insertions(+)

Applied to u-boot-video/master, thanks!

--
Anatolij
diff mbox series

Patch

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;
 };
 
 /**