hdmitx: adjust PHY parameter with 5.1 ohm resistor [2/2]
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Fri, 8 Mar 2019 07:23:30 +0000 (15:23 +0800)
committerNick Xie <nick@khadas.com>
Mon, 5 Aug 2019 06:25:12 +0000 (14:25 +0800)
PD#SWPL-2927

Problem:
No enough eye diagram when adding TMDS 5.1 ohm resistor

Solution:
adjust PHY parameter with 5.1 ohm resistor

Verify:
G12/U212

Change-Id: Ib5518613c556f9b04eb0aa374193c7a6046a7ba9
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hw/hdmi_tx_hw.c

index dc16352..004de8d 100644 (file)
@@ -1676,7 +1676,7 @@ static void set_phy_by_mode(unsigned int mode)
                        hd_write_reg(P_HHI_HDMI_PHY_CNTL5, 0x0000080b);
                        break;
                case 2: /* 2.97Gbps */
-                       hd_write_reg(P_HHI_HDMI_PHY_CNTL0, 0x33eb6262);
+                       hd_write_reg(P_HHI_HDMI_PHY_CNTL0, 0x33eb6272);
                        if (hdev->dongle_mode)
                                hd_write_reg(P_HHI_HDMI_PHY_CNTL0, 0x33eb4262);
                        hd_write_reg(P_HHI_HDMI_PHY_CNTL3, 0x2ab0ff3b);