mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Freimut Diener <f.diener@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	 "open list:BAREBOX" <barebox@lists.infradead.org>
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>,
	 Freimut Diener <f.diener@pengutronix.de>
Subject: [PATCH 0/5] ARM: nxp-imx93-frdm: support both 2 GiB LPDDR4
Date: Fri, 27 Nov 2026 10:41:58 +0100	[thread overview]
Message-ID: <20261127-imx93-frdm-2cs-ddr-v1-0-64f5a99b3e4b@pengutronix.de> (raw)

NXP replaced the original Micron single-rank (1CS) LPDDR4 on the
i.MX93 FRDM with a JSC dual-rank (2CS) part. Both variants have 2 GiB.

This series imports the new DDR timings from NXP's U-Boot and adds
runtime timing selection, allowing a single barebox image to boot
both board revisions.

The existing 1CS timings are retained unchanged, as is the behavior
of the i.MX8M DDR training code.

Successfully boot-tested on:
- i.MX93 FRDM with Micron 1CS DRAM
- i.MX93 FRDM with JSC 2CS DRAM
- i.MX8MP FRDM (regression test)

Signed-off-by: Freimut Diener <f.diener@pengutronix.de>
---
Freimut Diener (5):
      ARM: nxp-imx93-frdm: name the existing DDR timings for 1CS
      ARM: nxp-imx93-frdm: import 2CS DDR timings from U-Boot
      ARM: nxp-imx93-frdm: adapt the 2CS DDR timings for barebox
      ddr: imx9: allow DDR PHY training errors to propagate
      ARM: nxp-imx93-frdm: select DDR timings at boot

 arch/arm/boards/nxp-imx93-frdm/Makefile            |    2 +-
 arch/arm/boards/nxp-imx93-frdm/lowlevel.c          |   26 +-
 ...ddr4x_2gb_timing.c => lpddr4x_1cs_2gb_timing.c} |    2 +-
 .../boards/nxp-imx93-frdm/lpddr4x_2cs_2gb_timing.c | 1922 ++++++++++++++++++++
 drivers/ddr/imx/ddrphy_utils.c                     |    2 +
 drivers/ddr/imx/imx9_ddr_init.c                    |   28 +
 include/soc/imx/ddr.h                              |    1 +
 include/soc/imx9/ddr.h                             |   18 +-
 8 files changed, 1995 insertions(+), 6 deletions(-)
---
base-commit: 2cdf9539292f7f76b8d8b241913f6eebc3041324
change-id: 20261123-imx93-frdm-2cs-ddr-4d16c5f4bd02

Best regards,
--  
Freimut Diener <f.diener@pengutronix.de>




             reply	other threads:[~2026-11-27 12:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  9:41 Freimut Diener [this message]
2026-11-27  9:41 ` [PATCH 1/5] ARM: nxp-imx93-frdm: name the existing DDR timings for 1CS Freimut Diener
2026-11-27 10:37   ` Ahmad Fatoum
2026-11-27  9:42 ` [PATCH 2/5] ARM: nxp-imx93-frdm: import 2CS DDR timings from U-Boot Freimut Diener
2026-11-27  9:42 ` [PATCH 3/5] ARM: nxp-imx93-frdm: adapt the 2CS DDR timings for barebox Freimut Diener
2026-11-27  9:42 ` [PATCH 4/5] ddr: imx9: allow DDR PHY training errors to propagate Freimut Diener
2026-11-27  9:42 ` [PATCH 5/5] ARM: nxp-imx93-frdm: select DDR timings at boot Freimut Diener

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=20261127-imx93-frdm-2cs-ddr-v1-0-64f5a99b3e4b@pengutronix.de \
    --to=f.diener@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /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