lcd: add vbyone large vswing support for tl1 [1/1]

PD#SWPL-5665

Problem:
some vbyone panel need large vswing

Solution:
add large vswing support for vbyone

Verify:
x301

Change-Id: I2e0e9ab6a73dab292e104a92b341867ceb5ecdbb
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com>
This commit is contained in:
Evoke Zhang
2019-03-08 13:47:14 +08:00
committed by Dongjin Kim
parent 4c356db442
commit 37512b5752

View File

@@ -236,8 +236,13 @@ void lcd_vbyone_phy_set(struct lcd_config_s *pconf, int status)
preem = 0x1;
}
data32 = lvds_vx1_p2p_phy_preem_tl1[preem];
lcd_hiu_write(HHI_DIF_CSI_PHY_CNTL14,
0xf02027a0 | vswing);
if (ext_pullup) {
lcd_hiu_write(HHI_DIF_CSI_PHY_CNTL14,
0xff2027e0 | vswing);
} else {
lcd_hiu_write(HHI_DIF_CSI_PHY_CNTL14,
0xf02027a0 | vswing);
}
lcd_hiu_write(HHI_DIF_CSI_PHY_CNTL15, 0);
lcd_hiu_write(HHI_DIF_CSI_PHY_CNTL16, 0x80000000);
lcd_hiu_write(HHI_DIF_CSI_PHY_CNTL8, 0x40004);