projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36e66e3
)
video: stm32: stm32_dsi: copy DSI fields
author
Yannick Fertre
<yannick.fertre@st.com>
Wed, 24 Jun 2020 08:45:40 +0000
(10:45 +0200)
committer
Anatolij Gustschin
<agust@denx.de>
Sat, 27 Jun 2020 23:25:52 +0000
(
01:25
+0200)
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>
drivers/video/stm32/stm32_dsi.c
patch
|
blob
|
history
diff --git
a/drivers/video/stm32/stm32_dsi.c
b/drivers/video/stm32/stm32_dsi.c
index
31ab8eb
..
2831513
100644
(file)
--- 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) {