projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e1058
)
drm/rockchip: dw-mipi-dsi: configure grf register for 3399
author
Xubilv
<xbl@rock-chips.com>
Tue, 25 Jul 2017 10:13:30 +0000
(18:13 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Wed, 26 Jul 2017 06:13:52 +0000
(14:13 +0800)
Change-Id: I6ad75b05a02b15fc8744f5f25fc996cd0d4bc2fb
Fixes: 39d1c0c4a328 ("drm/rockchip: dw-mipi-dsi: organize dw_mipi_dsi_encoder_enable function")
Signed-off-by: Xubilv <xbl@rock-chips.com>
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
b/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
index 781c9550701beb475e6813750688eaff301b3186..15b4f9cb36331f78a78b12c857f0f07bf81c4490 100644
(file)
--- a/
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
+++ b/
drivers/gpu/drm/rockchip/dw-mipi-dsi.c
@@
-945,6
+945,10
@@
static void rockchip_dsi_grf_config(struct dw_mipi_dsi *dsi, int vop_id)
const struct dw_mipi_dsi_plat_data *pdata = dsi->pdata;
int val = 0;
+ if (pdata->grf_dsi0_mode_reg)
+ regmap_write(dsi->grf_regmap, pdata->grf_dsi0_mode_reg,
+ pdata->grf_dsi0_mode);
+
if (vop_id)
val = pdata->dsi0_en_bit | (pdata->dsi0_en_bit << 16);
else