Browse Source

disp: msm: dp: use updated pre-emphasis/voltage settings

Use updated settings for the DP controller versions above
v1.2.3.

Change-Id: I957071e81e0f7dfd149495df0a225301078aaf60
Signed-off-by: Tatenda Chipeperekwa <[email protected]>
Tatenda Chipeperekwa 5 năm trước cách đây
mục cha
commit
d4c2d70e14
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      msm/dp/dp_catalog_v420.c

+ 3 - 2
msm/dp/dp_catalog_v420.c

@@ -246,11 +246,12 @@ static void dp_catalog_ctrl_update_vx_px_v420(struct dp_catalog_ctrl *ctrl,
 
 	io_data = catalog->io->dp_ahb;
 	version = dp_read(DP_HW_VERSION);
+	DP_DEBUG("version: 0x%x\n", version);
 
 	/*
-	 * For DP controller versions 1.2.3 and 1.2.4
+	 * For DP controller versions >= 1.2.3
 	 */
-	if ((version == 0x10020003) || (version == 0x10020004)) {
+	if (version >= 0x10020003) {
 		if (high) {
 			value0 = dp_swing_hbr2_hbr3[v_level][p_level];
 			value1 = dp_pre_emp_hbr2_hbr3[v_level][p_level];