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-14 | clk: 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-12 | MLK-11376-02 ARM: imx: add MSL code for imx6qp |
2019-02-12 | MLK-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.