From: Yannick Fertre Date: Wed, 24 Jun 2020 08:45:40 +0000 (+0200) Subject: video: stm32: stm32_dsi: copy DSI fields X-Git-Url: http://git.dujemihanovic.xyz/img/static/gitweb.css?a=commitdiff_plain;h=7084dd8c4bf212cf4b25dc1cf34d35f9b5999f9d;p=u-boot.git video: stm32: stm32_dsi: copy DSI fields Copy the DSI data link characteristics from panel platform data to mipi DSI device. Signed-off-by: Yannick Fertre Reviewed-by: Patrick Delaunay --- diff --git a/drivers/video/stm32/stm32_dsi.c b/drivers/video/stm32/stm32_dsi.c index 31ab8ebec7..283151398b 100644 --- a/drivers/video/stm32/stm32_dsi.c +++ b/drivers/video/stm32/stm32_dsi.c @@ -353,6 +353,9 @@ static int stm32_dsi_attach(struct udevice *dev) mplat = dev_get_platdata(priv->panel); mplat->device = &priv->device; + device->lanes = mplat->lanes; + device->format = mplat->format; + device->mode_flags = mplat->mode_flags; ret = panel_get_display_timing(priv->panel, &timings); if (ret) {