[PATCH] dt-bindings: mtd: spi-nor: Sort list of support chip names

Geert Uytterhoeven geert+renesas at glider.be
Wed Aug 19 08:40:04 EDT 2020


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 at 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




More information about the linux-mtd mailing list