mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
hdmitx: sm1 boot panic [1/1]
PD#SWPL-141867 Problem: sm1 boot panic Solution: Chips before SC2 do not allow access to P_CLKCTRL_HDCP22_CLK_CTRL Verify: sm1 Test: DRM-TX-17 Change-Id: I493e67c02da56ab38064aafec3f8277447561d78 Signed-off-by: Wenjie Qiao <wenjie.qiao@amlogic.com>
This commit is contained in:
committed by
gerrit autosubmit
parent
992a7ccf0f
commit
bfa2c539df
@@ -5709,7 +5709,10 @@ static int hdmitx_cntl_misc(struct hdmitx_hw_common *tx_hw, unsigned int cmd,
|
||||
break;
|
||||
case MISC_ESMCLK_CTRL:
|
||||
hdmitx_set_reg_bits(HDMITX_TOP_CLK_CNTL, !!argv, 6, 1);
|
||||
hd_set_reg_bits(P_CLKCTRL_HDCP22_CLK_CTRL, !!argv, 8, 1);
|
||||
if (hdev->tx_hw.chip_data->chip_type >= MESON_CPU_ID_SC2)
|
||||
hd_set_reg_bits(P_CLKCTRL_HDCP22_CLK_CTRL, !!argv, 8, 1);
|
||||
else
|
||||
hd_set_reg_bits(P_HHI_HDCP22_CLK_CNTL, !!argv, 8, 1);
|
||||
break;
|
||||
case MISC_AUDIO_PREPARE:
|
||||
hdmitx_set_reg_bits(HDMITX_DWC_AUD_CONF0, 0, 0, 4);
|
||||
|
||||
Reference in New Issue
Block a user