From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
To: Frank Li <Frank.li@nxp.com>
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor@kernel.org>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, kernel@puri.sm
Subject: Re: [PATCH] arm64: dts: imx8mq: Set the correct gpu_ahb clock frequency
Date: Mon, 26 Jan 2026 21:10:37 +0100 [thread overview]
Message-ID: <8657865.DvuYhMxLoT@pliszka> (raw)
In-Reply-To: <aXevH8e+9qLhWO7D@lizhi-Precision-Tower-5810>
On poniedziałek, 26 stycznia 2026 19:14:55 czas środkowoeuropejski standardowy
Frank Li wrote:
> On Sat, Jan 24, 2026 at 02:55:48PM +0100, Sebastian Krzyszkowiak wrote:
> > According to i.MX 8M Quad Reference Manual, GPU_AHB_CLK_ROOT's maximum
> > frequency is 400MHz.
>
> I checked datasheet
>
> Nominal mode—the maximum
> GPU frequency supported in
> this mode is 800 MHz.
>
> Does difference grade (industry vs consumer) impact max frequency?
No. That sentence relates to GPU_SHADER_CLK_ROOT, which can go up to 1000 MHz,
but requires "overdrive mode" (higher voltage) when above 800 MHz. It's set to
800 MHz in the device tree at the moment.
This patch changes GPU_AHB_CLK_ROOT, which has absolute maximum of 400 MHz
(see section 5.1.2 Table 5-1).
> Frank
>
> > Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
> > ---
> >
> > arch/arm64/boot/dts/freescale/imx8mq.dtsi | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index
> > 607962f807be..6a25e219832c 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mq.dtsi
> > @@ -1632,7 +1632,7 @@ gpu: gpu@38000000 {
> >
> > <&clk
IMX8MQ_GPU_PLL_OUT>,
> > <&clk
IMX8MQ_GPU_PLL>;
> >
> > assigned-clock-rates = <800000000>,
<800000000>,
> >
> > - <800000000>,
<800000000>, <0>;
> > + <800000000>,
<400000000>, <0>;
> >
> > power-domains = <&pgc_gpu>;
> >
> > };
> >
> > ---
> > base-commit: 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7
> > change-id: 20260105-imx8mq-gpu-ahb-clock-139ba9ca9a6c
> >
> > Best regards,
> > --
> > Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
next prev parent reply other threads:[~2026-01-26 20:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-24 13:55 [PATCH] arm64: dts: imx8mq: Set the correct gpu_ahb clock frequency Sebastian Krzyszkowiak
2026-01-26 18:14 ` Frank Li
2026-01-26 20:10 ` Sebastian Krzyszkowiak [this message]
2026-01-27 18:25 ` Frank Li
2026-01-27 18:27 ` Fabio Estevam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8657865.DvuYhMxLoT@pliszka \
--to=sebastian.krzyszkowiak@puri.sm \
--cc=Frank.li@nxp.com \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=kernel@puri.sm \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox