PD#164611: optimize hpll shutdown
HPLL shutdown is referenced from early suspend workflow.
Change-Id: I9dc33bea2d2d965ff97db0fb871175c537f8de67
Signed-off-by: Zongdong Jiao <zongdong.jiao@amlogic.com>
hdev->HWOp.CntlMisc(hdev, MISC_AVMUTE_OP, SET_AVMUTE);
mdelay(100);
hdev->HWOp.CntlMisc(hdev, MISC_TMDS_PHY_OP, TMDS_PHY_DISABLE);
- hdev->HWOp.CntlMisc(hdev, MISC_HPLL_OP, HPLL_DISABLE);
+ hdev->HWOp.Cntl(hdev, HDMITX_EARLY_SUSPEND_RESUME_CNTL,
+ HDMITX_EARLY_SUSPEND);
+
return NOTIFY_OK;
}
return hdmitx_hpd_hw_op(argv);
case MISC_HPD_GPI_ST:
return hdmitx_hpd_hw_op(HPD_READ_HPD_GPIO);
- case MISC_HPLL_OP:
- if (argv == HPLL_ENABLE)
- hd_set_reg_bits(P_HHI_HDMI_PLL_CNTL, 1, 30, 1);
- if (argv == HPLL_DISABLE)
- hd_set_reg_bits(P_HHI_HDMI_PLL_CNTL, 0, 30, 1);
- break;
case MISC_HPLL_FAKE:
hdmitx_set_fake_vic(hdev);
break;