drm/bridge: analogix_dp: correct the register bit define error in ANALOGIX_DP_PLL_REG_1
authorYakir Yang <ykk@rock-chips.com>
Wed, 29 Jun 2016 09:15:05 +0000 (17:15 +0800)
committerYakir Yang <ykk@rock-chips.com>
Tue, 5 Jul 2016 01:16:38 +0000 (09:16 +0800)
There're an register define error in ANALOGIX_DP_PLL_REG_1 which introduced
by commit bcec20fd5ad6 ("drm: bridge: analogix/dp: add some rk3288 special
registers setting").

The PHY PLL input clock source is selected by ANALOGIX_DP_PLL_REG_1
BIT 0, not BIT 1.

Signed-off-by: Yakir Yang <ykk@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Tomasz Figa <tomasz.figa@chromium.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
drivers/gpu/drm/bridge/analogix/analogix_dp_reg.h

index 337912b0aeabc9382f9ffdbd546ecddba1b691da..88d56ad5c010f97cb7109231853fd6aa22e7e5b8 100644 (file)
 #define HSYNC_POLARITY_CFG                     (0x1 << 0)
 
 /* ANALOGIX_DP_PLL_REG_1 */
-#define REF_CLK_24M                            (0x1 << 1)
-#define REF_CLK_27M                            (0x0 << 1)
+#define REF_CLK_24M                            (0x1 << 0)
+#define REF_CLK_27M                            (0x0 << 0)
 
 /* ANALOGIX_DP_LANE_MAP */
 #define LANE3_MAP_LOGIC_LANE_0                 (0x0 << 6)