From b4dc011d56521de9f0f5fc11fca7062f18ba8459 Mon Sep 17 00:00:00 2001 From: Oliver Brown Date: Fri, 15 Feb 2019 10:13:27 -0600 Subject: [PATCH] MLK-17405 iMX8QM: Change HDMI TX clocks. The HDMI digital PLL, bus clock and core clock need to change to match the settings used by the Linux driver. This allows the SECO to start and initialize the HDMI/DP firmware. Signed-off-by: Oliver Brown (cherry picked from commit d2713d11afc35bc2ce546f9bd065cc7477ee65cc) --- drivers/video/imx/hdp_load.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/imx/hdp_load.c b/drivers/video/imx/hdp_load.c index ed5f2b4977..fd8e99e2c7 100644 --- a/drivers/video/imx/hdp_load.c +++ b/drivers/video/imx/hdp_load.c @@ -23,9 +23,9 @@ static void display_set_power(int onoff) static void display_set_clocks(void) { - const sc_pm_clock_rate_t pll = 1188000000; - const sc_pm_clock_rate_t hdmi_core_clock = pll / 10; - const sc_pm_clock_rate_t hdmi_bus_clock = pll / 14; + const sc_pm_clock_rate_t pll = 657000000; + const sc_pm_clock_rate_t hdmi_core_clock = pll / 5; /* 135.000 Mhz */ + const sc_pm_clock_rate_t hdmi_bus_clock = pll / 8; /* 83.375 Mhz */ SC_PM_SET_RESOURCE_POWER_MODE(-1, SC_R_HDMI_PLL_0, SC_PM_PW_MODE_OFF); -- 2.17.1