mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-02 00:53:29 +08: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
@ -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 New Issue
Block a user