From: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
To: Fabio Estevam <festevam@gmail.com>, peng.fan@nxp.com
Cc: uboot-imx@nxp.com, m.othacehe@gmail.com, u-boot@lists.denx.de
Subject: Re: [PATCH] imx93-u-boot: Describe the CPU clocks in the devicetree
Date: Fri, 19 Jul 2024 16:00:58 +0200 [thread overview]
Message-ID: <abf7f940-1bfb-4e5f-937b-135a580034b3@armadeus.com> (raw)
In-Reply-To: <20240718165454.904763-1-festevam@gmail.com>
Hello Fabio,
On 7/18/24 18:54, Fabio Estevam wrote:
> Currently, there is an error when the i.MX93 CPU frequency is
> read:
>
> Could not read CPU frequency: -2
> CPU: NXP i.MX93(52) Rev1.1 A55 at 0 MHz
>
> Fix it by describing the A55 clock nodes in the devicetree, like done
> on other i.MX SoCs.
>
> With this change, the CPU frequency error is gone and it can be correctly
> retrieved:
>
> CPU: NXP i.MX93(52) Rev1.1 A55 at 1700 MHz
> CPU: Industrial temperature grade (-40C to 105C) at 35C
>
> As the upstream imx93.dtsi does not describe the CPU clocks,
> keep the clock node in imx93-u-boot.dtsi for now.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
> arch/arm/dts/imx93-u-boot.dtsi | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/imx93-u-boot.dtsi b/arch/arm/dts/imx93-u-boot.dtsi
> index 289aba175843..b2b3d57318fc 100644
> --- a/arch/arm/dts/imx93-u-boot.dtsi
> +++ b/arch/arm/dts/imx93-u-boot.dtsi
> @@ -9,6 +9,14 @@
> };
> };
>
> +&A55_0 {
> + clocks = <&clk IMX93_CLK_ARM_PLL>;
Why IMX93_CLK_ARM_PLL and not IMX93_CLK_A55_SEL ?
Best regards,
> +};
> +
> +&A55_1 {
> + clocks = <&clk IMX93_CLK_ARM_PLL>;
> +};
> +
> &binman {
> u-boot-spl-ddr {
> align = <4>;
--
Sébastien Szymanski, Armadeus Systems
Software engineer
next prev parent reply other threads:[~2024-07-19 14:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-18 16:54 [PATCH] imx93-u-boot: Describe the CPU clocks in the devicetree Fabio Estevam
2024-07-19 12:25 ` Peng Fan
2024-07-19 14:00 ` Sébastien Szymanski [this message]
2024-07-19 14:13 ` Fabio Estevam
2024-07-19 15:47 ` Sébastien Szymanski
2024-07-19 16:06 ` Fabio Estevam
2024-07-22 21:05 ` 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=abf7f940-1bfb-4e5f-937b-135a580034b3@armadeus.com \
--to=sebastien.szymanski@armadeus.com \
--cc=festevam@gmail.com \
--cc=m.othacehe@gmail.com \
--cc=peng.fan@nxp.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-imx@nxp.com \
/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