diff options
author | Arseniy Krasnov <AVKrasnov@sberdevices.ru> | 2023-07-11 14:21:27 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-07-15 18:12:02 +0200 |
commit | c3519aed2a3faf77b66350214fb5caa9a0905888 (patch) | |
tree | a30d7c81eeb2c8f19ca038d7ef528a374cbf5777 /Documentation/devicetree/bindings | |
parent | dt-bindings: mtd: Fix nand-controller.yaml license (diff) | |
download | linux-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')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml | 2 |
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] |