mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX8MP: variscite-dt8mcustomboard: use i.MX8MP early clock init
@ 2026-09-30  7:44 Ahmad Fatoum
  2026-10-02  5:56 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2026-09-30  7:44 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum, Michael Kopfensteiner

The board is an i.MX8MP, but calls imx8mm_early_clock_init(), so it
runs the i.MX8MM flavour of __imx8m_early_clock_init(), leading to
PLL, NOC_IO and GIC root clock to end up with different configuration.

Call imx8mp_early_clock_init() like all other i.MX8MP boards do.

Cc: Michael Kopfensteiner <michael.kopfensteiner@vahle.com>
Fixes: 9c6a7058b8a7 ("ARM: IMX8MP: add initial support for Variscite DT8MCustomBoard with iMX8MP")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 arch/arm/boards/variscite-dt8mcustomboard-imx8mp/lowlevel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/lowlevel.c b/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/lowlevel.c
index c9907ebf0a35..0483a6479710 100644
--- a/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/lowlevel.c
+++ b/arch/arm/boards/variscite-dt8mcustomboard-imx8mp/lowlevel.c
@@ -89,7 +89,7 @@ static void start_atf(void)
 	if (current_el() != 3)
 		return;
 
-	imx8mm_early_clock_init();
+	imx8mp_early_clock_init();
 
 	power_init_board();
 
-- 
2.47.3




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

* Re: [PATCH] ARM: i.MX8MP: variscite-dt8mcustomboard: use i.MX8MP early clock init
  2026-09-30  7:44 [PATCH] ARM: i.MX8MP: variscite-dt8mcustomboard: use i.MX8MP early clock init Ahmad Fatoum
@ 2026-10-02  5:56 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-10-02  5:56 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum; +Cc: Michael Kopfensteiner


On Wed, 30 Sep 2026 09:44:05 +0200, Ahmad Fatoum wrote:
> The board is an i.MX8MP, but calls imx8mm_early_clock_init(), so it
> runs the i.MX8MM flavour of __imx8m_early_clock_init(), leading to
> PLL, NOC_IO and GIC root clock to end up with different configuration.
> 
> Call imx8mp_early_clock_init() like all other i.MX8MP boards do.
> 
> 
> [...]

Applied, thanks!

[1/1] ARM: i.MX8MP: variscite-dt8mcustomboard: use i.MX8MP early clock init
      https://git.pengutronix.de/cgit/barebox/commit/?id=c9df6248afe2 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-10-02  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-30  7:44 [PATCH] ARM: i.MX8MP: variscite-dt8mcustomboard: use i.MX8MP early clock init Ahmad Fatoum
2026-10-02  5:56 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox