dt-bindings: nand: meson: make ECC properties dependent
authorArseniy Krasnov <AVKrasnov@sberdevices.ru>
Mon, 17 Jul 2023 05:34:00 +0000 (08:34 +0300)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Jul 2023 15:01:57 +0000 (17:01 +0200)
commit350301a3d73b217ab3d87ae42d8fcce2795fe097
tree473eb80a5aa06979db0d22e8fa1a6a7567785b11
parentc3519aed2a3faf77b66350214fb5caa9a0905888
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: 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/20230717053402.1203724-2-AVKrasnov@sberdevices.ru
Documentation/devicetree/bindings/mtd/amlogic,meson-nand.yaml