Clock setting for i.MX6QP in linux kernel source.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clock setting for i.MX6QP in linux kernel source.

554 Views
takayuki_ishii
Contributor IV

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.

2016-02-14clk: imx: Add clock support for imx6qp

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

2019-02-12MLK-11376-02 ARM: imx: add MSL code for imx6qp

2019-02-12MLK-13119-2 ARM: imx: support VPU 396MHz for i.MX6QP 1.2GHz

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.

0 Kudos
1 Reply

474 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you try the newer BSP Linux 4.14.98_2.2.0 Documentation?

0 Kudos