ARM: dts: imx6: RDU2+: add assigned clocks for GPU 3D
authorLucas Stach <l.stach@pengutronix.de>
Thu, 12 Apr 2018 13:15:55 +0000 (15:15 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Apr 2018 09:11:06 +0000 (17:11 +0800)
This downclocks the shader domain from 720MHz to 594MHz, which gets rid
of brown-outs due to excessive current draw on the PMIC switchers. The
board has an unchanged power tree from the Quad design, which isn't able
to cope with higher current needs of the QuadPlus GPU at full speed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp-zii-rdu2.dts

index de5b50d..8c293e9 100644 (file)
@@ -53,3 +53,8 @@
                reg = <0x10000000 0>;
        };
 };
+
+&gpu_3d {
+       assigned-clocks = <&clks IMX6QDL_CLK_GPU3D_SHADER_SEL>;
+       assigned-clock-parents = <&clks IMX6QDL_CLK_PLL2_PFD1_594M>;
+};