Skip to content

Commit c3519ae

Browse files
Arseniy Krasnovmiquelraynal
authored andcommitted
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
1 parent e0b3187 commit c3519ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ patternProperties:
5050
const: hw
5151

5252
nand-ecc-step-size:
53-
const: 1024
53+
enum: [512, 1024]
5454

5555
nand-ecc-strength:
5656
enum: [8, 16, 24, 30, 40, 50, 60]

0 commit comments

Comments
 (0)