[PATCH] imx-drm: imx-hdmi: fix hdmi hotplug detection initial state

Fabio Estevam festevam at gmail.com
Mon Jun 16 14:13:02 UTC 2014


On Wed, Jun 11, 2014 at 5:17 AM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

> The problem here is that we need more inteligence from CCF in order to
> do that - we need it to be able to reprogram the dividers so that the
> IPU DI0 clock remains at 148.5MHz while increasing the output of
> pll5_video_div three-fold.
>
> Another solution would be to source the LDB clock from PLL3 at 480MHz,
> this gives a pixel clock of 68.6MHz (3sf).  The other options are

Ok, I have tried this approach:

--- a/arch/arm/mach-imx/clk-imx6q.c
+++ b/arch/arm/mach-imx/clk-imx6q.c
@@ -441,8 +441,8 @@ static void __init imx6q_clocks_init(struct device_node *ccm

        if ((imx_get_soc_revision() != IMX_CHIP_REVISION_1_0) ||
            cpu_is_imx6dl()) {
-               clk_set_parent(clk[ldb_di0_sel], clk[pll5_video_div]);
-               clk_set_parent(clk[ldb_di1_sel], clk[pll5_video_div]);
+               clk_set_parent(clk[ldb_di0_sel], clk[pll3_usb_otg]);
+               clk_set_parent(clk[ldb_di1_sel], clk[pll3_usb_otg]);
        }

and it allows HDMI and LVDS to be displayed if I boot with the HDMI
kernel connected. Would this be an acceptable solution in the
meantime?


More information about the devel mailing list