All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Simon Wunderlich <sw@simonwunderlich.de>
Cc: Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	 linux-mtd@lists.infradead.org,  Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 devicetree@vger.kernel.org,
	 Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	 linux-mips@vger.kernel.org, Hauke Mehrtens <hauke@hauke-m.de>,
	 Aleksander Jan Bajkowski <olek2@wp.pl>,
	 John Crispin <john@phrozen.org>,
	 Sebastien Decourriere <sebtx452@gmail.com>,
	 Yangtao Li <frank.li@vivo.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] dt-bindings: mtd: Add lantiq,nor
Date: Wed, 18 Nov 2026 09:47:28 +0100	[thread overview]
Message-ID: <87qzgijzkv.fsf@bootlin.com> (raw)
In-Reply-To: <5155531.6YUMPnJmAY@prime> (Simon Wunderlich's message of "Tue, 17 Nov 2026 17:45:36 +0100")


> About physmap: you were right, and this was actually a great hint. I tested on 
> the my RS123: with the EBU swap that its boot loader enables, the flash is 
> simply a plain CFI flash. With compatible = "cfi-flash" and the generic physmap 
> driver, probing, reads (identical to what lantiq-flash reads, unaligned reads 
> included), erase and write all work. So this board needs no lantiq-flash change 
> at all, and I'm dropping patches 2 to 5. There won't be a v2.
>
> Turning lantiq-flash itself into a physmap variant for the boards with the 
> classic U-Boot setup would probably be the cleaner model, but I don't have 
> such a board to test it, so I'm leaving that alone for now.
>
> Thank you again!
>      Simon

Excellent, thanks for the feedback!

Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Simon Wunderlich <sw@simonwunderlich.de>
Cc: Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	 linux-mtd@lists.infradead.org,  Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 devicetree@vger.kernel.org,
	 Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	 linux-mips@vger.kernel.org, Hauke Mehrtens <hauke@hauke-m.de>,
	 Aleksander Jan Bajkowski <olek2@wp.pl>,
	 John Crispin <john@phrozen.org>,
	 Sebastien Decourriere <sebtx452@gmail.com>,
	 Yangtao Li <frank.li@vivo.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/5] dt-bindings: mtd: Add lantiq,nor
Date: Wed, 18 Nov 2026 09:47:28 +0100	[thread overview]
Message-ID: <87qzgijzkv.fsf@bootlin.com> (raw)
In-Reply-To: <5155531.6YUMPnJmAY@prime> (Simon Wunderlich's message of "Tue, 17 Nov 2026 17:45:36 +0100")


> About physmap: you were right, and this was actually a great hint. I tested on 
> the my RS123: with the EBU swap that its boot loader enables, the flash is 
> simply a plain CFI flash. With compatible = "cfi-flash" and the generic physmap 
> driver, probing, reads (identical to what lantiq-flash reads, unaligned reads 
> included), erase and write all work. So this board needs no lantiq-flash change 
> at all, and I'm dropping patches 2 to 5. There won't be a v2.
>
> Turning lantiq-flash itself into a physmap variant for the boards with the 
> classic U-Boot setup would probably be the cleaner model, but I don't have 
> such a board to test it, so I'm leaving that alone for now.
>
> Thank you again!
>      Simon

Excellent, thanks for the feedback!

Miquèl

  reply	other threads:[~2026-11-18  8:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-14 10:06 [PATCH 0/5] mtd: maps: lantiq-flash: support boot loaders using the EBU endianness swap Simon Wunderlich
2026-11-14 10:06 ` Simon Wunderlich
2026-11-14 10:06 ` [PATCH 1/5] mtd: maps: lantiq-flash: fix NULL pointer dereference on probe Simon Wunderlich
2026-11-14 10:06   ` Simon Wunderlich
2026-11-14 10:06 ` [PATCH 2/5] dt-bindings: mtd: Add lantiq,nor Simon Wunderlich
2026-11-14 10:06   ` Simon Wunderlich
2026-11-17 10:35   ` Miquel Raynal
2026-11-17 10:35     ` Miquel Raynal
2026-11-17 16:45     ` Simon Wunderlich
2026-11-17 16:45       ` Simon Wunderlich
2026-11-18  8:47       ` Miquel Raynal [this message]
2026-11-18  8:47         ` Miquel Raynal
2026-11-14 10:06 ` [PATCH 3/5] mips: lantiq: xway: sysctrl: export ltq_ebu_membase Simon Wunderlich
2026-11-14 10:06   ` Simon Wunderlich
2026-11-14 10:06 ` [PATCH 4/5] mtd: maps: lantiq-flash: honour the EBU's own endianness swap Simon Wunderlich
2026-11-14 10:06   ` Simon Wunderlich
2026-11-14 10:06 ` [PATCH 5/5] mips: lantiq: danube: rename NOR node on EASY50712 reference board Simon Wunderlich
2026-11-14 10:06   ` Simon Wunderlich
2026-11-17 13:37 ` [PATCH 0/5] mtd: maps: lantiq-flash: support boot loaders using the EBU endianness swap Miquel Raynal
2026-11-17 13:37   ` Miquel Raynal

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=87qzgijzkv.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frank.li@vivo.com \
    --cc=hauke@hauke-m.de \
    --cc=john@phrozen.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=olek2@wp.pl \
    --cc=richard@nod.at \
    --cc=robh@kernel.org \
    --cc=sebtx452@gmail.com \
    --cc=sw@simonwunderlich.de \
    --cc=tsbogend@alpha.franken.de \
    --cc=vigneshr@ti.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 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.