hdmirx: enable hdcp2.2 for tm2 [1/2]

PD#SWPL-7865

Problem:
TM2 hdcp2.2 can not work,esm bootup fail

Solution:
Enable Enable axi_clk.

Verify:
TM2

Change-Id: I44af6f2b5bfbe72cfdb93e1b42c47cda9c56d3a2
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
This commit is contained in:
yicheng shen
2019-04-29 05:15:01 -04:00
committed by Tao Zeng
parent 148a2c3658
commit 611171e3fc
2 changed files with 8 additions and 1 deletions

View File

@@ -41,7 +41,7 @@
*
*
*/
#define RX_VER1 "ver.2019/04/22"
#define RX_VER1 "ver.2019/04/29"
/*
*
*

View File

@@ -1733,6 +1733,13 @@ void hdcp22_clk_en(bool en)
else
/* TL1:esm related clk bit3-5 */
hdmirx_wr_bits_top(TOP_CLK_CNTL, MSK(3, 3), 0x7);
if (rx.chip_id >= CHIP_ID_TM2)
/* Enable axi_clk,for tm2 */
/* AXI arbiter is moved outside of hdmitx. */
/* There is an AXI arbiter in the chips EE domain */
/* for arbitrating AXI requests from HDMI TX and RX.*/
hdmirx_wr_bits_top(TOP_CLK_CNTL, MSK(1, 12), 0x1);
} else {
hdmirx_wr_bits_top(TOP_CLK_CNTL, MSK(3, 3), 0x0);
wr_reg_hhi(HHI_HDCP22_CLK_CNTL, 0);