[PATCH 3/4] dt-bindings: mtd: macronix,mx25l12833f: add SPI-NOR chip
Michael Walle
mwalle at kernel.org
Fri Jun 28 09:51:08 PDT 2024
On Fri Jun 28, 2024 at 6:30 PM CEST, Erez wrote:
> I do not know why they decided to use the same JEDEC ID for two chips.
> Your guess is as good as mine.
That's a common pattern and we try hard to figure that out during
probe time instead of hardcoding it. E.g. by looking at the SFDP
data. Have a look at various fixups in drivers/mtd/spi-nor/.
compatibles are really the last resort to distinguish flash devices.
Next time, please mention such information in the commit message,
please.
Also please have a look at
https://docs.kernel.org/driver-api/mtd/spi-nor.html
-michael
More information about the linux-mtd
mailing list