mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
mako: display: reduce mipi line clock per LGSI spec
Mako's MIPI line clock is a little bit higher than LGSI's recommendation. Due to this higher clock, flickering could happen in some panels. This patch reduces the MIPI line clock as LGSI's recommendation. This also reduces current consumption by ~10mA when the LCD is on. Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
parent
c904c588f0
commit
36faabbf48
1 changed files with 4 additions and 4 deletions
|
@ -29,14 +29,14 @@ static struct mipi_dsi_phy_ctrl dsi_video_mode_phy_db = {
|
|||
/* regulator */
|
||||
{0x03, 0x0a, 0x04, 0x00, 0x20},
|
||||
/* timing */
|
||||
{0x66, 0x26, 0x1E, 0x00, 0x21, 0x96, 0x1E, 0x8F,
|
||||
0x21, 0x03, 0x04, 0xA0},
|
||||
{0x66, 0x26, 0x1D, 0x00, 0x20, 0x95, 0x1E, 0x8F,
|
||||
0x20, 0x03, 0x04, 0xA0},
|
||||
/* phy ctrl */
|
||||
{0x5f, 0x00, 0x00, 0x10},
|
||||
/* strength */
|
||||
{0xff, 0x00, 0x06, 0x00},
|
||||
/* pll control */
|
||||
{0x00, 0xD5, 0x01, 0x1A, 0x00, 0x50, 0x48, 0x63,
|
||||
{0x00, 0xC4, 0x01, 0x1A, 0x00, 0x50, 0x48, 0x63,
|
||||
0x41, 0x0F, 0x03, 0x00, 0x14, 0x03, 0x00, 0x02,
|
||||
0x00, 0x20, 0x00, 0x01 },
|
||||
};
|
||||
|
@ -88,7 +88,7 @@ static int __init mipi_video_lgit_wxga_pt_init(void)
|
|||
pinfo.mipi.data_lane3 = TRUE;
|
||||
pinfo.mipi.t_clk_post = 0x22;
|
||||
pinfo.mipi.t_clk_pre = 0x36;
|
||||
pinfo.clk_rate = 470360000;
|
||||
pinfo.clk_rate = 453770000;
|
||||
pinfo.mipi.esc_byte_ratio = 6;
|
||||
pinfo.mipi.frame_rate = 60;
|
||||
pinfo.mipi.stream = 0;
|
||||
|
|
Loading…
Reference in a new issue