gfx: drv: tc35876x: fix input muxing for dv1
authorJani Nikula <jani.nikula@intel.com>
Wed, 2 Nov 2011 16:46:53 +0000 (18:46 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Tue, 3 Jul 2012 09:28:22 +0000 (12:28 +0300)
The LVDS pin configuration has changed for dv1. Set the LVDS-TX transmitter
input muxing accordingly.

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 a862da3..57119f5 100644 (file)
@@ -363,20 +363,20 @@ void tc35876x_configure_lvds_bridge(struct drm_device *dev)
        tc35876x_regw(i2c, VFUEN, BIT(0));
 
        /* LVDS-TX input muxing */
-       tc35876x_regw(i2c, LVMX0003, /* 0x03020100 */
-               INPUT_MUX(INPUT_R3, INPUT_R2, INPUT_R1, INPUT_R0));
-       tc35876x_regw(i2c, LVMX0407, /* 0x08050704 */
-               INPUT_MUX(INPUT_G0, INPUT_R5, INPUT_R7, INPUT_R4));
-       tc35876x_regw(i2c, LVMX0811, /* 0x0F0E0A09 */
-               INPUT_MUX(INPUT_G7, INPUT_G6, INPUT_G2, INPUT_G1));
-       tc35876x_regw(i2c, LVMX1215, /* 0x100D0C0B */
-               INPUT_MUX(INPUT_B0, INPUT_G5, INPUT_G4, INPUT_G3));
-       tc35876x_regw(i2c, LVMX1619, /* 0x12111716 */
-               INPUT_MUX(INPUT_B2, INPUT_B1, INPUT_B7, INPUT_B6));
-       tc35876x_regw(i2c, LVMX2023, /* 0x1B151413 */
-               INPUT_MUX(LOGIC_0, INPUT_B5, INPUT_B4, INPUT_B3));
-       tc35876x_regw(i2c, LVMX2427, /* 0x061A1918 */
-               INPUT_MUX(INPUT_R6, INPUT_DE, INPUT_VSYNC, INPUT_HSYNC));
+       tc35876x_regw(i2c, LVMX0003,
+               INPUT_MUX(INPUT_R5, INPUT_R4, INPUT_R3, INPUT_R2));
+       tc35876x_regw(i2c, LVMX0407,
+               INPUT_MUX(INPUT_G2, INPUT_R7, INPUT_R1, INPUT_R6));
+       tc35876x_regw(i2c, LVMX0811,
+               INPUT_MUX(INPUT_G1, INPUT_G0, INPUT_G4, INPUT_G3));
+       tc35876x_regw(i2c, LVMX1215,
+               INPUT_MUX(INPUT_B2, INPUT_G7, INPUT_G6, INPUT_G5));
+       tc35876x_regw(i2c, LVMX1619,
+               INPUT_MUX(INPUT_B4, INPUT_B3, INPUT_B1, INPUT_B0));
+       tc35876x_regw(i2c, LVMX2023,
+               INPUT_MUX(LOGIC_0,  INPUT_B7, INPUT_B6, INPUT_B5));
+       tc35876x_regw(i2c, LVMX2427,
+               INPUT_MUX(INPUT_R0, INPUT_DE, INPUT_VSYNC, INPUT_HSYNC));
 
        /* Enable LVDS transmitter. */
        tc35876x_regw(i2c, LVCFG, BIT(0));