dt-bindings: mtd: Deprecate nand-ecc-mode
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 1 Oct 2020 10:20:10 +0000 (12:20 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:30 +0000 (22:37 +0100)
commit533af69cf1a2a6bff211d2abe44044980cc23602
treea7dc6e26e5787c178797216ef3c0bb9e4828e90c
parent6b0c3b84156125e029956e46d2b44e72f513a9fa
dt-bindings: mtd: Deprecate nand-ecc-mode

This property does not describe very well its purpose: it describes
the ECC engine type. Deprecate it in favor of nand-ecc-engine which
points to either the NAND part itself in case of on-die ECC, or to the
parent node in case of an integrated ECC engine in the NAND controller
(previously referred as "hardware") or to another node in case of an
external controller. Other "modes" (none/software) are achieved with
the new nand-use-soft-ecc-engine and nand-no-ecc-engine properties.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201001102014.20100-3-miquel.raynal@bootlin.com
Documentation/devicetree/bindings/mtd/nand-controller.yaml