summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/mtd
diff options
context:
space:
mode:
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>2023-07-11 14:21:27 +0200
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-07-15 18:12:02 +0200
commitc3519aed2a3faf77b66350214fb5caa9a0905888 (patch)
treea30d7c81eeb2c8f19ca038d7ef528a374cbf5777 /Documentation/devicetree/bindings/mtd
parentdt-bindings: mtd: Fix nand-controller.yaml license (diff)
downloadlinux-c3519aed2a3faf77b66350214fb5caa9a0905888.tar.xz
linux-c3519aed2a3faf77b66350214fb5caa9a0905888.zip
dt-bindings: nand: meson: support for 512B ECC step size
Meson NAND supports both 512B and 1024B ECC step size, so replace 'const' for only 1024B step size with enum for both sizes. Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230711122129.2635558-2-AVKrasnov@sberdevices.ru
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
-rw-r--r--Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
index 787ef488dd5b..a98b5d61ea5d 100644
--- a/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml
@@ -50,7 +50,7 @@ patternProperties:
const: hw
nand-ecc-step-size:
- const: 1024
+ enum: [512, 1024]
nand-ecc-strength:
enum: [8, 16, 24, 30, 40, 50, 60]