aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sh_mipi_dsi.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-11-08 23:36:07 -0500
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-11-21 18:43:22 -0500
commit97cab45583f75428773547f3bbe59fece05420d3 (patch)
treebbb563da187224646e43a3a6f3a84f90f9c11874 /drivers/video/sh_mipi_dsi.c
parenta2065a368cc2539d6a48450f367f5033c699cdc4 (diff)
fbdev: sh_mipi_dsi: fixup setup timing DSICTRL
DSICTRL should be called after all mipi settings Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/sh_mipi_dsi.c')
-rw-r--r--drivers/video/sh_mipi_dsi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c
index 187e12739b99..05151b82f40f 100644
--- a/drivers/video/sh_mipi_dsi.c
+++ b/drivers/video/sh_mipi_dsi.c
@@ -265,8 +265,6 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi,
265 iowrite32(0x0fffffff, base + TATOVSET); 265 iowrite32(0x0fffffff, base + TATOVSET);
266 /* Peripheral reset timeout, default 0xffffffff */ 266 /* Peripheral reset timeout, default 0xffffffff */
267 iowrite32(0x0fffffff, base + PRTOVSET); 267 iowrite32(0x0fffffff, base + PRTOVSET);
268 /* Enable timeout counters */
269 iowrite32(0x00000f00, base + DSICTRL);
270 /* Interrupts not used, disable all */ 268 /* Interrupts not used, disable all */
271 iowrite32(0, base + DSIINTE); 269 iowrite32(0, base + DSIINTE);
272 /* DSI-Tx bias on */ 270 /* DSI-Tx bias on */
@@ -388,6 +386,9 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi,
388 pixfmt << 4); 386 pixfmt << 4);
389 sh_mipi_dcs(ch->chan, MIPI_DCS_SET_DISPLAY_ON); 387 sh_mipi_dcs(ch->chan, MIPI_DCS_SET_DISPLAY_ON);
390 388
389 /* Enable timeout counters */
390 iowrite32(0x00000f00, base + DSICTRL);
391
391 return 0; 392 return 0;
392} 393}
393 394