mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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 <yannick.fertre@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
parent
36e66e3cd6
commit
7084dd8c4b
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue