Skip to contentSkip to conversation

arm64: dts: imx8mn: Enable Overdrive mode

PATCH Applied Adam Ford 2 participants 3 messages Nov 28, 2023 – Dec 14, 2023

Subsystems (2)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/2 arm64: dts: imx8mn: Enable Overdrive mode

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.

arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi new file +18 -0
new file mode 100644
index 000000000000..5d03fb893e90
@@ -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>;
+};
Signature · 1 line
2.40.1
author
#1 lore raw

PATCH 2/2 arm64: dts: imx8mn-beacon: Support overdrive mode

The SoC is configured to operate in overdrive mode, so it is safe to include imx8mn-overdrive to run the GPU faster.

arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi +2 -0
index 90073b16536f..2a64115eebf1 100644
@@ -3,6 +3,8 @@
  * Copyright 2020 Compass Electronics Group, LLC
  */
 
+#include "imx8mn-overdrive.dtsi"
+
 / {
 	aliases {
 		rtc0 = &rtc;
Signature · 1 line
2.40.1
Applied
#2 lore raw
In reply to Adam Ford
Quoted 7 lines · Adam Ford

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.

Applied both, thanks!