* [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode
@ 2023-11-28 21:18 Adam Ford
2023-11-28 21:18 ` [PATCH 2/2] arm64: dts: imx8mn-beacon: Support overdrive mode Adam Ford
2023-12-14 2:23 ` [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Adam Ford @ 2023-11-28 21:18 UTC (permalink / raw)
To: linux-arm-kernel
Cc: aford, Adam Ford, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, devicetree, linux-kernel
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>
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>;
+};
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] arm64: dts: imx8mn-beacon: Support overdrive mode
2023-11-28 21:18 [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Adam Ford
@ 2023-11-28 21:18 ` Adam Ford
2023-12-14 2:23 ` [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Adam Ford @ 2023-11-28 21:18 UTC (permalink / raw)
To: linux-arm-kernel
Cc: aford, Adam Ford, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, devicetree, linux-kernel
The SoC is configured to operate in overdrive mode, so it
is safe to include imx8mn-overdrive to run the GPU faster.
Signed-off-by: Adam Ford <aford173@gmail.com>
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi
index 90073b16536f..2a64115eebf1 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi
@@ -3,6 +3,8 @@
* Copyright 2020 Compass Electronics Group, LLC
*/
+#include "imx8mn-overdrive.dtsi"
+
/ {
aliases {
rtc0 = &rtc;
--
2.40.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode
2023-11-28 21:18 [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Adam Ford
2023-11-28 21:18 ` [PATCH 2/2] arm64: dts: imx8mn-beacon: Support overdrive mode Adam Ford
@ 2023-12-14 2:23 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2023-12-14 2:23 UTC (permalink / raw)
To: Adam Ford
Cc: linux-arm-kernel, aford, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Sascha Hauer, Pengutronix Kernel Team,
Fabio Estevam, NXP Linux Team, devicetree, linux-kernel
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-12-14 2:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 21:18 [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Adam Ford
2023-11-28 21:18 ` [PATCH 2/2] arm64: dts: imx8mn-beacon: Support overdrive mode Adam Ford
2023-12-14 2:23 ` [PATCH 1/2] arm64: dts: imx8mn: Enable Overdrive mode Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).