diff mbox series

[1/2] arm64: dts: imx8mn: Enable Overdrive mode

Message ID 20231128211832.313544-1-aford173@gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] arm64: dts: imx8mn: Enable Overdrive mode | expand

Commit Message

Adam Ford Nov. 28, 2023, 9:18 p.m. UTC
The i.MX8M Nano supports and overdrive mode if the SoC is given
the proper voltage.  Add imx8mn-overdrive.dtsi file which can
be included by boards who support the voltage necessary to handle
the faster clocks.  This increases the GPU clocks from 400MHz to
600MHz.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Shawn Guo Dec. 14, 2023, 2:23 a.m. UTC | #1
On Tue, Nov 28, 2023 at 03:18:31PM -0600, Adam Ford wrote:
> The i.MX8M Nano supports and overdrive mode if the SoC is given
> the proper voltage.  Add imx8mn-overdrive.dtsi file which can
> be included by boards who support the voltage necessary to handle
> the faster clocks.  This increases the GPU clocks from 400MHz to
> 600MHz.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>

Applied both, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi
new file mode 100644
index 000000000000..5d03fb893e90
--- /dev/null
+++ b/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi
@@ -0,0 +1,18 @@ 
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+&gpu {
+	assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE>,
+			  <&clk IMX8MN_CLK_GPU_SHADER>,
+			  <&clk IMX8MN_CLK_GPU_AXI>,
+			  <&clk IMX8MN_CLK_GPU_AHB>,
+			  <&clk IMX8MN_GPU_PLL>;
+	assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>,
+				  <&clk IMX8MN_GPU_PLL_OUT>,
+				  <&clk IMX8MN_SYS_PLL1_800M>,
+				  <&clk IMX8MN_SYS_PLL1_800M>;
+	assigned-clock-rates = <600000000>,
+			       <600000000>,
+			       <800000000>,
+			       <400000000>,
+			       <1200000000>;
+};