devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies
@ 2023-07-09 20:30 Dmitry Baryshkov
  2023-07-09 20:45 ` Fabio Estevam
  2023-07-19  2:15 ` Shawn Guo
  0 siblings, 2 replies; 3+ messages in thread
From: Dmitry Baryshkov @ 2023-07-09 20:30 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team
  Cc: devicetree, linux-arm-kernel

The SK-IMX53 board, bearing i.MX536A CPU, is not stable when running at
1.2 GHz (default iMX53 maximum). The SoC is only rated up to 800 MHz.
Disable 1.2 GHz and 1 GHz frequencies.

Fixes: 0b8576d8440a ("ARM: dts: imx: Add support for SK-iMX53 board")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---

Changes since v1:
- After additional consideration, also disable the 1 GHz frequency. The
  datasheets are clear the the SoC is not required to support this
  frequency (Fabio).

---
 arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts b/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts
index 6ea103a49697..3d9f14f32efd 100644
--- a/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts
+++ b/arch/arm/boot/dts/nxp/imx/imx53-sk-imx53.dts
@@ -77,6 +77,16 @@ &can1 {
 	status = "okay";
 };
 
+&cpu0 {
+	/* CPU rated to 800 MHz, not the default 1.2GHz. */
+	operating-points = <
+		/* kHz   uV */
+		166666  850000
+		400000  900000
+		800000  1050000
+	>;
+};
+
 &ecspi1 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_ecspi1>;
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies
  2023-07-09 20:30 [PATCH v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies Dmitry Baryshkov
@ 2023-07-09 20:45 ` Fabio Estevam
  2023-07-19  2:15 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Fabio Estevam @ 2023-07-09 20:45 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, NXP Linux Team, devicetree,
	linux-arm-kernel

On Sun, Jul 9, 2023 at 5:30 PM Dmitry Baryshkov
<dmitry.baryshkov@linaro.org> wrote:
>
> The SK-IMX53 board, bearing i.MX536A CPU, is not stable when running at
> 1.2 GHz (default iMX53 maximum). The SoC is only rated up to 800 MHz.
> Disable 1.2 GHz and 1 GHz frequencies.
>
> Fixes: 0b8576d8440a ("ARM: dts: imx: Add support for SK-iMX53 board")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies
  2023-07-09 20:30 [PATCH v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies Dmitry Baryshkov
  2023-07-09 20:45 ` Fabio Estevam
@ 2023-07-19  2:15 ` Shawn Guo
  1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2023-07-19  2:15 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	devicetree, linux-arm-kernel

On Sun, Jul 09, 2023 at 11:30:19PM +0300, Dmitry Baryshkov wrote:
> The SK-IMX53 board, bearing i.MX536A CPU, is not stable when running at
> 1.2 GHz (default iMX53 maximum). The SoC is only rated up to 800 MHz.
> Disable 1.2 GHz and 1 GHz frequencies.
> 
> Fixes: 0b8576d8440a ("ARM: dts: imx: Add support for SK-iMX53 board")
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Applied, thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-19  2:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-09 20:30 [PATCH v2] ARM: dts: nxp/imx: limit sk-imx53 supported frequencies Dmitry Baryshkov
2023-07-09 20:45 ` Fabio Estevam
2023-07-19  2:15 ` 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).