hdmirx: set rxsense sync with hpd [1/1]

PD#SWPL-3540

Problem:
rxsense is high ahead off hpd high, some device
may start hdcp, but hdcp auth always fail

Solution:
set rxsense sync with hpd

Verify:
TL1

Change-Id: I94b4c4f188587e15bac6aceb70803a3aa9082d3b
Signed-off-by: Hang Cheng <hang.cheng@amlogic.com>
This commit is contained in:
Hang Cheng
2018-12-27 13:40:12 +08:00
committed by Luke Go
parent ddacfb8a37
commit b4e27af184
2 changed files with 4 additions and 1 deletions

View File

@@ -41,7 +41,7 @@
*
*
*/
#define RX_VER1 "ver.2018/12/24"
#define RX_VER1 "ver.2018/12/27"
/*
*
*

View File

@@ -3394,8 +3394,11 @@ void aml_phy_init(void)
{
uint32_t idx = rx.phy.phy_bw;
uint32_t data32;
uint32_t term_value =
hdmirx_rd_top(TOP_HPD_PWR5V) & 0x7;
data32 = phy_misci[idx][0];
data32 = (data32 & (~0x7)) | term_value;
/* terminal en */
data32 &= ~(disable_port_num & 0x07);
wr_reg_hhi(HHI_HDMIRX_PHY_MISC_CNTL0, data32);