hdmitx: optimise hdmi power consumption
authorZongdong Jiao <zongdong.jiao@amlogic.com>
Mon, 3 Sep 2018 07:09:35 +0000 (15:09 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Tue, 4 Sep 2018 09:11:29 +0000 (02:11 -0700)
PD#172019: hdmitx: optimise hdmi power consumption
A tiny modification of HDMI_PHY_CNTL5 under suspend.

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

index 9bea2d8..ec219c1 100644 (file)
@@ -4772,7 +4772,7 @@ static void hdmi_phy_suspend(void)
 {
        hd_write_reg(P_HHI_HDMI_PHY_CNTL0, 0x0);
        hd_write_reg(P_HHI_HDMI_PHY_CNTL3, 0x0);
-       hd_write_reg(P_HHI_HDMI_PHY_CNTL5, 0x0);
+       hd_write_reg(P_HHI_HDMI_PHY_CNTL5, 0x800);
 }
 
 static void hdmi_phy_wakeup(struct hdmitx_dev *hdev)