All of lore.kernel.org
 help / color / mirror / Atom feed
* imx6dl.dtsi gpu clock definition bug
@ 2015-11-24 17:04 Nikita Yushchenko
  0 siblings, 0 replies; only message in thread
From: Nikita Yushchenko @ 2015-11-24 17:04 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org; +Cc: Gennady Kuznetsov, Andrey Rusalin

Hi

Both in linux-imx branch imx_3.14.28_1.0.0_ga, and in linux-fslc branch
3.14-1.0.x-mx6, in arch/arm/boot/dts/imx6dl.dtsi file, in gpu@00130000,
clock definition is inconsistent:

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";

i.e first entry in "clocks" refers to openvg_axi clk, but name refers to
gpu2d_axi clk


This causes

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

and may cause unknown misfunctions.


Corresponding part of arch/arm/boot/dts/imx6q.dtsi file:

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";


Is definition of 5 clocks instead of 6 in imx6dl.dtsi intensional?
If so - which one clock should be missing, gpu2d_axi or openvg_axi?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-24 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-24 17:04 imx6dl.dtsi gpu clock definition bug Nikita Yushchenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.