dt-bindings: mtd: spi-nor: clarify the need for spi-nor compatibles
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 16 Jun 2023 14:00:54 +0000 (16:00 +0200)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Thu, 13 Jul 2023 02:49:14 +0000 (05:49 +0300)
commit4b0cb4e7ab2f777c0dd07b6d381047db85801a89
tree06148138487add6da980bea03fd05545a4103ddd
parent18d7d01a0a0eb32b78149c8259bf49504d5fa4e0
dt-bindings: mtd: spi-nor: clarify the need for spi-nor compatibles

Most SPI NOR devices do not require a specific compatible, their ID can
in general be discovered with the JEDEC READ ID opcode. In this case,
only the "jedec,spi-nor" generic compatible is expected. Clarify this
information in the compatible description to (i) help device-tree
writers and (ii) prevent further attempts to extend this list with
useless information.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230616140054.2788684-1-miquel.raynal@bootlin.com
[ta: s/JEDEC/JEDEC SFDP for clarity and s/JEDEC READ ID/READ ID as
the opcode is not part of the JEDEC SFDP standard.]
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml