Commit 350301a3 authored by Arseniy Krasnov's avatar Arseniy Krasnov Committed by Miquel Raynal

dt-bindings: nand: meson: make ECC properties dependent

ECC properties 'nand-ecc-strength' and 'nand-ecc-step-size' depends on
each other, so they must be both either set or not set. In first case
ECC core will try to use these values if possible (by checking ECC caps
provided by driver), in second case ECC core will select most optimal
values for both properties.
Signed-off-by: default avatarArseniy Krasnov <AVKrasnov@sberdevices.ru>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230717053402.1203724-2-AVKrasnov@sberdevices.ru
parent c3519aed
......@@ -66,6 +66,10 @@ patternProperties:
unevaluatedProperties: false
dependencies:
nand-ecc-strength: ['nand-ecc-step-size']
nand-ecc-step-size: ['nand-ecc-strength']
required:
- compatible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment