]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings: mtd: intel: lgm-nand: Fix maximum chip select value
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 2 Jul 2022 23:12:21 +0000 (01:12 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 20 Sep 2022 08:06:47 +0000 (10:06 +0200)
The Intel LGM NAND IP only supports two chip selects: There's only two
CS and ADDR_SEL register sets. Fix the maximum allowed chip select value
according to the dt-bindings.

Fixes: 729af74b793aa1 ("dt-bindings: mtd: Add Nand Flash Controller support for Intel LGM SoC")
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220702231227.1579176-3-martin.blumenstingl@googlemail.com
Documentation/devicetree/bindings/mtd/intel,lgm-ebunand.yaml

index 763ee3e1faf32a67afb674e9d59d0661fa71d912..04f26196c4c18a3d878b6784153f5c8e98c520f5 100644 (file)
@@ -51,7 +51,7 @@ patternProperties:
     properties:
       reg:
         minimum: 0
-        maximum: 7
+        maximum: 1
 
       nand-ecc-mode: true