diff options
author | Ranjani Vaidyanathan <Ranjani.Vaidyanathan@nxp.com> | 2018-08-29 17:55:13 -0500 |
---|---|---|
committer | Ranjani Vaidyanathan <Ranjani.Vaidyanathan@nxp.com> | 2018-09-07 17:10:31 -0500 |
commit | 93450bafc8dc7d9236c3f7520a2602e18c1d2ba3 (patch) | |
tree | 97985f994f26017e7f08b02561a5f3699607c9b7 /drivers | |
parent | 2804e4248bf638165c54c450528a14fe27cc58cd (diff) |
MLK-19477 iMX8QM: Power down HDMI_PLL_0 after firmware loading is done.
Need to power down HDMI_PLL_0 after HDMI firmware is loaded, else
resource is left ON when entering low power states thus impacting low
power number.
Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/imx/hdp_load.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/imx/hdp_load.c b/drivers/video/imx/hdp_load.c index 66eb3e9385..6352eff2ac 100644 --- a/drivers/video/imx/hdp_load.c +++ b/drivers/video/imx/hdp_load.c @@ -52,6 +52,9 @@ static void display_enable_clocks(int enable) SC_PM_CLOCK_ENABLE(ipcHndl, SC_R_HDMI_PLL_0, SC_PM_CLK_PLL, enable); SC_PM_CLOCK_ENABLE(ipcHndl, SC_R_HDMI, SC_PM_CLK_MISC2, enable); SC_PM_CLOCK_ENABLE(ipcHndl, SC_R_HDMI, SC_PM_CLK_MISC4, enable); + if (enable == OFF) + SC_PM_SET_RESOURCE_POWER_MODE(ipcHndl, + SC_R_HDMI_PLL_0, SC_PM_PW_MODE_OFF); } int do_hdp(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) |