All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@ew.tq-group.com>
To: Frank Li <Frank.li@oss.nxp.com>
Cc: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>, Frank Li <Frank.Li@nxp.com>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	Fabio Estevam <festevam@gmail.com>,
	Markus Niebel <Markus.Niebel@ew.tq-group.com>,
	linux@ew.tq-group.com, devicetree@vger.kernel.org,
	imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] arm64: dts: imx8mn-tqma8mqnl: restrict clock for SPI-NOR flash
Date: Tue, 06 Oct 2026 15:50:12 +0200	[thread overview]
Message-ID: <5021357.mvXUDI8C0e@steina-w> (raw)
In-Reply-To: <asT7yvlCeQl1rfrS@SMW015318>

Am Dienstag, 6. Oktober 2026, 15:46:50 Mitteleuropäische Sommerzeit schrieb Frank Li:
> On Tue, Oct 06, 2026 at 03:25:10PM +0200, Alexander Stein wrote:
> > From: Markus Niebel <Markus.Niebel@ew.tq-group.com>
> >
> > The FlexSPI controller uses quad SPI with internal clock recovery.
> > The clock is therefore restricted to 66.666666 MHz according to
> > data sheet.
> 
> Which datasheet? I suppose NOR flash datasheet, can you provide link
> here.

The i.MX8M Nano data sheet Rev 5 09/2022 section 3.9.1.1 "SDR mode with
FlexSPIn_MCR0[RXCLKSRC] = 0x0, 0x1, 0x2" Table 55. "FlexSPI input timing
in SDR mode where FlexSPIn_MCR0[RXCLKSRC] = 0x0" lists 66 Mhz maximum for
"Frequency of operation".

Best regards
Alexander

> Frank
> 
> >
> > Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
> > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
> > ---
> >  arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi
> > index 48a687926aa1b..c88d83243097f 100644
> > --- a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi
> > +++ b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi
> > @@ -63,7 +63,7 @@ &flexspi {
> >  	flash0: flash@0 {
> >  		compatible = "jedec,spi-nor";
> >  		reg = <0>;
> > -		spi-max-frequency = <84000000>;
> > +		spi-max-frequency = <66666666>;
> >  		spi-tx-bus-width = <1>;
> >  		spi-rx-bus-width = <4>;
> >  		vcc-supply = <&buck5_reg>;
> > --
> > 2.55.0
> >
> >
> 


-- 
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/



  reply	other threads:[~2026-10-06 13:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-06 13:25 [PATCH 1/3] arm64: dts: imx8mm-tqma8mqml: restrict clock for SPI-NOR flash Alexander Stein
2026-10-06 13:25 ` [PATCH 2/3] arm64: dts: imx8mn-tqma8mqnl: " Alexander Stein
2026-10-06 13:46   ` Frank Li
2026-10-06 13:50     ` Alexander Stein [this message]
2026-10-06 13:59       ` Fabio Estevam
2026-10-07  6:52         ` Alexander Stein
2026-10-06 13:25 ` [PATCH 3/3] arm64: dts: imx8mp-tqma8mpql: " Alexander Stein

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=5021357.mvXUDI8C0e@steina-w \
    --to=alexander.stein@ew.tq-group.com \
    --cc=Frank.Li@nxp.com \
    --cc=Frank.li@oss.nxp.com \
    --cc=Markus.Niebel@ew.tq-group.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@ew.tq-group.com \
    --cc=robh@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.