linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mtd: spi-nor: Sort list of support chip names
@ 2020-08-19 12:40 Geert Uytterhoeven
  2020-08-25 21:57 ` Rob Herring
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2020-08-19 12:40 UTC (permalink / raw)
  To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra, Rob Herring
  Cc: devicetree, linux-mtd, Geert Uytterhoeven

Sort the list of supported chip names, using "sort -V", to take into
account both names and numbers.

This makes it easier to read and maintain the list.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 .../devicetree/bindings/mtd/jedec,spi-nor.txt | 34 +++++++++----------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
index f03be904d3c228d8..654d4a2d2ba26630 100644
--- a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
+++ b/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
@@ -13,12 +13,18 @@ Required properties:
                  at25df321a
                  at25df641
                  at26df081a
-                 mr25h128
-                 mr25h256
+                 m25p16
+                 m25p32
+                 m25p40
+                 m25p64
+                 m25p80
+                 m25p128
                  mr25h10
                  mr25h40
-                 mx25l4005a
+                 mr25h128
+                 mr25h256
                  mx25l1606e
+                 mx25l4005a
                  mx25l6405d
                  mx25l12805d
                  mx25l25635e
@@ -26,38 +32,32 @@ Required properties:
                  n25q128a11
                  n25q128a13
                  n25q512a
+                 s25fl008k
+                 s25fl064k
                  s25fl256s1
                  s25fl512s
                  s25sl12801
-                 s25fl008k
-                 s25fl064k
                  sst25vf040b
-                 m25p40
-                 m25p80
-                 m25p16
-                 m25p32
-                 m25p64
-                 m25p128
-                 w25x80
-                 w25x32
                  w25q32
-                 w25q64
                  w25q32dw
+                 w25q64
                  w25q80bl
                  w25q128
                  w25q256
+                 w25x32
+                 w25x80
 
                The following chip names have been used historically to
                designate quirky versions of flash chips that do not support the
                JEDEC READ ID opcode (0x9F):
                  m25p05-nonjedec
                  m25p10-nonjedec
-                 m25p20-nonjedec
-                 m25p40-nonjedec
-                 m25p80-nonjedec
                  m25p16-nonjedec
+                 m25p20-nonjedec
                  m25p32-nonjedec
+                 m25p40-nonjedec
                  m25p64-nonjedec
+                 m25p80-nonjedec
                  m25p128-nonjedec
 
 - reg : Chip-Select number
-- 
2.17.1


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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] dt-bindings: mtd: spi-nor: Sort list of support chip names
  2020-08-19 12:40 [PATCH] dt-bindings: mtd: spi-nor: Sort list of support chip names Geert Uytterhoeven
@ 2020-08-25 21:57 ` Rob Herring
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring @ 2020-08-25 21:57 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Richard Weinberger, devicetree, linux-mtd, Vignesh Raghavendra,
	Miquel Raynal

On Wed, Aug 19, 2020 at 02:40:04PM +0200, Geert Uytterhoeven wrote:
> Sort the list of supported chip names, using "sort -V", to take into
> account both names and numbers.
> 
> This makes it easier to read and maintain the list.

Can we just do this when converting to schema?

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  .../devicetree/bindings/mtd/jedec,spi-nor.txt | 34 +++++++++----------
>  1 file changed, 17 insertions(+), 17 deletions(-)

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-25 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 12:40 [PATCH] dt-bindings: mtd: spi-nor: Sort list of support chip names Geert Uytterhoeven
2020-08-25 21:57 ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).