AnsweredAssumed Answered

Clock setting for i.MX6QP in linux kernel source.

Question asked by Takayuki Ishii on Nov 18, 2019
Latest reply on Nov 20, 2019 by jimmychan

Hello community,

 

In linux kernel source, clock are setting in function "imx6q_clocks_init()" on drivers/clk/imx/clk-imx6q.c

of Linux BSP L4.14.98_2.0.0-ga.

As following commit, it is changed to support imx6qp.

 

 

After that, to support 720MHz setting for GPU3D clock and 396MHz VPU clock setting for 1.2GHz imx6qp.

 

 

 

But "if" statement for these clock setting, it is never called.

Because function "clk_on_imx6q()" return false by "imx6qp-sabrest.dtb" or "imx6qp-sabreauto.dtb".

It will set board statement to 

{      model = "Freescale i.MX6 Quad Plus SABRE Automotive Board";      compatible = "fsl,imx6qp-sabreauto", "fsl,imx6qp"; };

 

 

Is it OK to use this code for iMX6QP 1GHz/800MHz grade device without fix this problem?

 

Best regards,

Ishii.

Outcomes