mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
lcd: fix t3x p2p_swap reg [1/1]
PD#SWPL-157893 Problem: lcd write error reg when lcd_init_level=2 Solution: fix reg Verify: t3x_bc302 Change-Id: I3d57e4587ede6968e9abd7fdacce7b67e574abc8 Signed-off-by: lizhi.hu <lizhi.hu@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
e0ce234574
commit
671735474e
@@ -504,11 +504,11 @@ static int lcd_vbyone_lanes_set_t3x(struct aml_lcd_drv_s *pdrv, unsigned int off
|
||||
return 0;
|
||||
|
||||
if (lane_num <= 8 && slice == 2) {
|
||||
lcd_vcbus_write(P2P_CH_SWAP0, 0xba983210);
|
||||
lcd_vcbus_write(P2P_CH_SWAP1, 0xfedc7654);
|
||||
lcd_vcbus_write(P2P_CH_SWAP0_T7, 0xba983210);
|
||||
lcd_vcbus_write(P2P_CH_SWAP1_T7, 0xfedc7654);
|
||||
} else {
|
||||
lcd_vcbus_write(P2P_CH_SWAP0, 0x76543210);
|
||||
lcd_vcbus_write(P2P_CH_SWAP1, 0xfedcba98);
|
||||
lcd_vcbus_write(P2P_CH_SWAP0_T7, 0x76543210);
|
||||
lcd_vcbus_write(P2P_CH_SWAP1_T7, 0xfedcba98);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user