mirror of
https://xff.cz/git/u-boot/
synced 2025-09-27 13:31:16 +02: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:
committed by
Anatolij Gustschin
parent
36e66e3cd6
commit
7084dd8c4b
@@ -353,6 +353,9 @@ static int stm32_dsi_attach(struct udevice *dev)
|
|||||||
|
|
||||||
mplat = dev_get_platdata(priv->panel);
|
mplat = dev_get_platdata(priv->panel);
|
||||||
mplat->device = &priv->device;
|
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);
|
ret = panel_get_display_timing(priv->panel, &timings);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
Reference in New Issue
Block a user