Browse Source

disp: msm: dp: update pll params with latest HPG values

Modified the pre-emph values for S3P0 & S1P1 in HBR/RBR
table. Also, modified BG timer value as per the latest
HPG changes.

Change-Id: Id9088d3cfe73cb14518dcf490676d92c54925793
Signed-off-by: Sandeep Gangadharaiah <[email protected]>
Sandeep Gangadharaiah 3 years ago
parent
commit
5448272a8c
2 changed files with 3 additions and 3 deletions
  1. 2 2
      msm/dp/dp_catalog_v420.c
  2. 1 1
      msm/dp/dp_pll_4nm.c

+ 2 - 2
msm/dp/dp_catalog_v420.c

@@ -74,9 +74,9 @@ static u8 const dp_swing_hbr_rbr[MAX_VOLTAGE_LEVELS][MAX_PRE_EMP_LEVELS] = {
 
 
 static const u8 dp_pre_emp_hbr_rbr_v600[MAX_VOLTAGE_LEVELS][MAX_PRE_EMP_LEVELS] = {
 static const u8 dp_pre_emp_hbr_rbr_v600[MAX_VOLTAGE_LEVELS][MAX_PRE_EMP_LEVELS] = {
 	{0x00, 0x0D, 0x14, 0x1A}, /* pe0, 0 db */
 	{0x00, 0x0D, 0x14, 0x1A}, /* pe0, 0 db */
-	{0x00, 0x0D, 0x15, 0xFF}, /* pe1, 3.5 db */
+	{0x00, 0x0E, 0x15, 0xFF}, /* pe1, 3.5 db */
 	{0x00, 0x0E, 0xFF, 0xFF}, /* pe2, 6.0 db */
 	{0x00, 0x0E, 0xFF, 0xFF}, /* pe2, 6.0 db */
-	{0x04, 0xFF, 0xFF, 0xFF}  /* pe3, 9.5 db */
+	{0x02, 0xFF, 0xFF, 0xFF}  /* pe3, 9.5 db */
 };
 };
 
 
 struct dp_catalog_private_v420 {
 struct dp_catalog_private_v420 {

+ 1 - 1
msm/dp/dp_pll_4nm.c

@@ -143,7 +143,7 @@ static const struct dp_pll_params pll_params_v1_1[HSCLK_RATE_MAX] = {
 	{0x05, 0x3f, 0x00, 0x04, 0x01, 0x34, 0x00, 0xc0, 0x0b, 0x37, 0x04, 0x92, 0x01, 0x6b, 0x02,
 	{0x05, 0x3f, 0x00, 0x04, 0x01, 0x34, 0x00, 0xc0, 0x0b, 0x37, 0x04, 0x92, 0x01, 0x6b, 0x02,
 		0x71, 0x0c, 0x0f, 0x0a, 0x0f, 0x0c, 0x0c},
 		0x71, 0x0c, 0x0f, 0x0a, 0x0f, 0x0c, 0x0c},
 	{0x03, 0x3f, 0x00, 0x08, 0x01, 0x34, 0x00, 0xc0, 0x0b, 0x07, 0x07, 0x92, 0x01, 0x6b, 0x02,
 	{0x03, 0x3f, 0x00, 0x08, 0x01, 0x34, 0x00, 0xc0, 0x0b, 0x07, 0x07, 0x92, 0x01, 0x6b, 0x02,
-		0x71, 0x0c, 0x0f, 0x0e, 0x0f, 0x0c, 0x0c},
+		0x71, 0x0c, 0x0f, 0x0a, 0x0f, 0x0c, 0x0c},
 	{0x01, 0x3f, 0x00, 0x08, 0x02, 0x46, 0x00, 0x00, 0x05, 0x0f, 0x0e, 0x18, 0x02, 0x6b, 0x02,
 	{0x01, 0x3f, 0x00, 0x08, 0x02, 0x46, 0x00, 0x00, 0x05, 0x0f, 0x0e, 0x18, 0x02, 0x6b, 0x02,
 		0x97, 0x10, 0x0f, 0x0a, 0x0f, 0x0c, 0x0c},
 		0x97, 0x10, 0x0f, 0x0a, 0x0f, 0x0c, 0x0c},
 	{0x00, 0x3f, 0x00, 0x08, 0x00, 0x34, 0x00, 0xc0, 0x0b, 0x17, 0x15, 0x92, 0x01, 0x6b, 0x02,
 	{0x00, 0x3f, 0x00, 0x08, 0x00, 0x34, 0x00, 0xc0, 0x0b, 0x17, 0x15, 0x92, 0x01, 0x6b, 0x02,