gfx: display: tc35876x: soft reset the LCD controller after configuration
authorJani Nikula <jani.nikula@intel.com>
Fri, 9 Dec 2011 13:14:26 +0000 (15:14 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:51 +0000 (12:28 +0300)
Soft reset the bridge chip LCD controller after configuration according to
the chip bring up and programming guide.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
drivers/staging/mrst/drv/tc35876x-dsi-lvds.c

index 6b332f3..11286a9 100644 (file)
@@ -368,6 +368,9 @@ void tc35876x_configure_lvds_bridge(struct drm_device *dev)
        /* Set above HTIM1, HTIM2, VTIM1, and VTIM2 at next VSYNC. */
        tc35876x_regw(i2c, VFUEN, BIT(0));
 
+       /* Soft reset LCD controller. */
+       tc35876x_regw(i2c, SYSRST, BIT(2));
+
        /* LVDS-TX input muxing */
        tc35876x_regw(i2c, LVMX0003,
                INPUT_MUX(INPUT_R5, INPUT_R4, INPUT_R3, INPUT_R2));