drm/i915: Support for higher DSI clk
authorGaurav K Singh <[email protected]>
Wed, 1 Jul 2015 12:58:51 +0000 (15:58 +0300)
committerDaniel Vetter <[email protected]>
Fri, 3 Jul 2015 05:39:01 +0000 (07:39 +0200)
For MIPI panels requiring higher DSI clk, values needs to be added
in lfsr_converts table for getting the correct values of pll ctrl
and dividor values which gets programmed in cck regs, otherwise DSI
PLL does not get locked leading to no display on the MIPI panel.

Signed-off-by: Gaurav K Singh <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Signed-off-by: Jani Nikula <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_dsi_pll.c

index 49ae821e82d8c04bda0aaa266e704cbd6ed83549..be0c1e230c488b778a91319315d7466f0e19da55 100644 (file)
@@ -67,8 +67,8 @@ struct dsi_mnp {
 static const u32 lfsr_converts[] = {
        426, 469, 234, 373, 442, 221, 110, 311, 411,            /* 62 - 70 */
        461, 486, 243, 377, 188, 350, 175, 343, 427, 213,       /* 71 - 80 */
-       106, 53, 282, 397, 354, 227, 113, 56, 284, 142,         /* 81 - 90 */
-       71, 35                                                  /* 91 - 92 */
+       106, 53, 282, 397, 454, 227, 113, 56, 284, 142,         /* 81 - 90 */
+       71, 35, 273, 136, 324, 418, 465, 488, 500, 506          /* 91 - 100 */
 };
 
 #ifdef DSI_CLK_FROM_RR