public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@oss.nxp.com>
To: Philip Molloy <philip@philipmolloy.com>
Cc: u-boot@lists.denx.de, linux@analog.com,
	Fabio Estevam <festevam@gmail.com>,
	"NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
	Peng Fan <peng.fan@nxp.com>,
	Philip Molloy <philip.molloy@analog.com>,
	Stefano Babic <sbabic@nabladev.com>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 0/4] Minor i.MX DDR init clean-up
Date: Mon, 9 Mar 2026 13:24:07 +0800	[thread overview]
Message-ID: <aa5ZdyTtUwe5NReJ@shlinux89> (raw)
In-Reply-To: <20260306085824.886254-1-philip@philipmolloy.com>

Hi Philip,

Thanks for your patches!

On Fri, Mar 06, 2026 at 08:58:27AM +0000, Philip Molloy wrote:
>This series makes minor clean-up changes to the i.MX DDR init code.
>
>Unfortunately, I don't have access to any NXP hardware. I ran into LTO
>issues with my Fedora toolchain building imx8mm_evk_defconfig. And

Would you please share the error logs?

>binman issues because of missing binary blobs with some imx9*
>defconfigs. But compilation was successful.

Right, the ddr binaries are out of tree.

>
>To support an upcoming ADI SoC that also uses LPDDR4 and Synpsys IP I
>would like to leverage the i.MX implementation. Therefore this clean-up
>can also serve as a kind of pre-RFC. I would love to know if the
>maintainers are open to transitioning to a more generic implementation.

If most code could be reused by ADI SoC, that is good to have a generic
implementation to avoid code duplication.

>If so, I'll submit a proper RFC. I'll also be at Embedded World next
>week if anyone would like to discuss in person.
>
>Some additional context and a comparison of DDR init implementations:
>
>https://philipmolloy.com/ddr-init.html
>
>I reviewed the NXP i.MX downstream repo on Github.[1] The changes in
>this series are not fixed downstream. The only major difference with
>downtream for the PHY driver appears to be "Quickboot" support, which is

Yes, this is being prepared in internal reviewing stage before posting out,
should be soon.

>specific to the i.MX 95.

i.MX9[5,4,52] as of now.

Regards
Peng

>
>[1]: https://github.com/nxp-imx/uboot-imx
>
>Philip Molloy (4):
>  ddr: imx: Remove duplicate includes
>  ddr: imx: Remove undefined declarations
>  ddr: imx: Remove unused macros
>  ddr: imx: Remove unnecessary macro argument
>
> arch/arm/include/asm/arch-imx8m/ddr.h | 10 ++++------
> arch/arm/include/asm/arch-imx9/ddr.h  |  8 ++------
> drivers/ddr/imx/imx8m/ddr_init.c      |  8 ++++----
> drivers/ddr/imx/phy/ddrphy_utils.c    | 15 +++++++--------
> drivers/ddr/imx/phy/helper.c          |  4 +---
> 5 files changed, 18 insertions(+), 27 deletions(-)
>
>-- 
>2.53.0
>
>base-commit: 7995bf8dea2d5b3eb7fcb836636f4773924ec35d
>branch: ddr-imx-clean-up
>

  parent reply	other threads:[~2026-03-09  5:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-06  8:58 [PATCH 0/4] Minor i.MX DDR init clean-up Philip Molloy
2026-03-06  8:58 ` [PATCH 1/4] ddr: imx: Remove duplicate includes Philip Molloy
2026-03-06  9:40   ` Francesco Dolcini
2026-03-06  8:58 ` [PATCH 2/4] ddr: imx: Remove undefined declarations Philip Molloy
2026-03-06  8:58 ` [PATCH 3/4] ddr: imx: Remove unused macros Philip Molloy
2026-03-06  8:58 ` [PATCH 4/4] ddr: imx: Remove unnecessary macro argument Philip Molloy
2026-03-09  5:24 ` Peng Fan [this message]
2026-03-16  8:26   ` [PATCH 0/4] Minor i.MX DDR init clean-up Philip Molloy

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=aa5ZdyTtUwe5NReJ@shlinux89 \
    --to=peng.fan@oss.nxp.com \
    --cc=festevam@gmail.com \
    --cc=linux@analog.com \
    --cc=peng.fan@nxp.com \
    --cc=philip.molloy@analog.com \
    --cc=philip@philipmolloy.com \
    --cc=sbabic@nabladev.com \
    --cc=trini@konsulko.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