mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/3] ARM: i.MX8M: esdctl: use common compatible to detect i.MX8M* DDRC
Date: Tue, 07 Feb 2023 11:31:47 +0100	[thread overview]
Message-ID: <8264238d15b1831f6ed325db751e3ca8e37912a3.camel@pengutronix.de> (raw)
In-Reply-To: <20230207102433.xihwow72fcxb6vzk@pengutronix.de>

Am Dienstag, dem 07.02.2023 um 11:24 +0100 schrieb Marco Felsch:
> Hi Lucas,
> 
> On 23-02-06, Lucas Stach wrote:
> > All i.MX8M* DDRC nodes are compatible to "fsl,imx8m-ddrc". As the memory
> > size detection works the same on all of them, there is no need to match
> > the more specific compatible.
> > 
> > Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
> > ---
> >  arch/arm/mach-imx/esdctl.c | 8 +-------
> >  1 file changed, 1 insertion(+), 7 deletions(-)
> > 
> > diff --git a/arch/arm/mach-imx/esdctl.c b/arch/arm/mach-imx/esdctl.c
> > index 043de477a77d..2a2bc5205301 100644
> > --- a/arch/arm/mach-imx/esdctl.c
> > +++ b/arch/arm/mach-imx/esdctl.c
> > @@ -732,13 +732,7 @@ static __maybe_unused struct of_device_id imx_esdctl_dt_ids[] = {
> >  		.compatible = "fsl,vf610-ddrmc",
> >  		.data = &vf610_data
> >  	}, {
> > -		.compatible = "fsl,imx8mm-ddrc",
> > -		.data = &imx8mq_data
> > -	}, {
> > -		.compatible = "fsl,imx8mn-ddrc",
> > -		.data = &imx8mn_data
> 
> The i.MX8M Nano uses a 16bit bus width according the data. I don't have
> the datasheet right now to check this. But this commit will change it to
> 32 bit, is this allowed?

Argh, thanks for catching that! This change was a bit overzealous.

Regards,
Lucas
> 
> Regards,
>   Marco
> 
> > -	}, {
> > -		.compatible = "fsl,imx8mq-ddrc",
> > +		.compatible = "fsl,imx8m-ddrc",
> >  		.data = &imx8mq_data
> >  	}, {
> >  		.compatible = "fsl,imx7d-ddrc",
> > -- 
> > 2.39.1
> > 
> > 
> > 




  reply	other threads:[~2023-02-07 10:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06 21:00 [PATCH 1/3] ARM: i.MX8M: esdctl: limit i.MX8MP early memory size Lucas Stach
2023-02-06 21:00 ` [PATCH 2/3] ARM: i.MX8M: esdctl: use common compatible to detect i.MX8M* DDRC Lucas Stach
2023-02-07 10:24   ` Marco Felsch
2023-02-07 10:31     ` Lucas Stach [this message]
2023-02-06 21:00 ` [PATCH 3/3] ARM: dts: i.MX8MP: add DDRC compatibles Lucas Stach
2023-02-08  8:20 ` [PATCH 1/3] ARM: i.MX8M: esdctl: limit i.MX8MP early memory size Sascha Hauer
2023-02-08  8:26   ` Sascha Hauer

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=8264238d15b1831f6ed325db751e3ca8e37912a3.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=m.felsch@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