imx6q/dl galcore clk definitions

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

imx6q/dl galcore clk definitions

2,801 Views
virubio
Contributor I

Hi all,

Working with custom boards based on imx6q/imx6dl processors and 3.14.57 freescale BSP based kernel I have seen the following message in the dmesg of Dual Lite processors at boot:

galcore: clk_get vg clock failed, disable vg!

Quad/Dual dtsi  file

gpu: gpu@00130000 {

          - - -

clocks = <&clks IMX6QDL_CLK_GPU2D_AXI>, <&clks IMX6QDL_CLK_OPENVG_AXI>,

                                 <&clks IMX6QDL_CLK_GPU3D_AXI>, <&clks IMX6QDL_CLK_GPU2D_CORE>,

                                 <&clks IMX6QDL_CLK_GPU3D_CORE>, <&clks IMX6QDL_CLK_GPU3D_SHADER>;

clock-names = "gpu2d_axi_clk", "openvg_axi_clk",

                                  "gpu3d_axi_clk", "gpu2d_clk",

                                   "gpu3d_clk", "gpu3d_shader_clk";

          - - -

};

Dual Lite dtsi file

gpu: gpu@00130000 {

          - - -

clocks = <&clks IMX6QDL_CLK_OPENVG_AXI>, <&clks IMX6QDL_CLK_GPU3D_AXI>,

                                 <&clks IMX6QDL_CLK_GPU2D_CORE>, <&clks IMX6QDL_CLK_GPU3D_CORE>,

                                 <&clks IMX6QDL_CLK_DUMMY>;

clock-names = "gpu2d_axi_clk", "gpu3d_axi_clk",

                                  "gpu2d_clk", "gpu3d_clk",

                                  "gpu3d_shader_clk";

          - - -

};

Looking at these dtsi files I have some questions:

  • "openvg_axi_clk" is not defined in the Dual Lite file, is there any reason for it?
  • "IMX6QDL_CLK_GPU2D_AXI" is not defined in the Dual Lite file, but the name is defined and matches a different clock, the "IMXQDL_CLK_OPENVG_AXI", which does not match with the definition in the Quad/Dual file.
  • "gpu3d_shader_clk" matches two different clocks "IMX6QDL_CLK_GPU3D_SHADER" and "IMX6QDL_CLK_DUMMY". Why does the "gpu3d_shader_clk" have a dummy clock in the Dual Lite file?

Best regards.

Victor

Labels (4)
0 Kudos
2 Replies

1,401 Views
ThorstenSchmelzer
Contributor III

Can someone from NXP please comment on that.

This has not changed in the imx_4.1.15_1.0.0_ga release.

The kernel still reports on my custom imx.6 Solo board

   [1.757799] galcore: clk_get vg clock failed, disable vg!

Does this mean I cannot use OpenVG?

0 Kudos

1,401 Views
jamesbone
NXP TechSupport
NXP TechSupport

There was a problem with the i.MX6Q v2.0 that required that  GPu2D and VG Core Clock and Axi Clock to be separated,  you may had a previous version of the device and it is having the problem

https://git.congatec.com/arm/qmx6_kernel/commit/765af27537bbbdea4e280823e6eeecbd73f2c604

0 Kudos