]> git.baikalelectronics.ru Git - kernel.git/commit
dt-bindings: mtd: Document boolean NAND ECC properties
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Aug 2020 08:51:55 +0000 (10:51 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 27 Aug 2020 08:56:13 +0000 (10:56 +0200)
commit988e369d0e7430df9c480285d20308e3692063e9
tree53966f3b97b947916858bd6f2aaf0ea9db1edfbc
parenta7ef6191c79a515c3db31ebb6f12e6045651ad24
dt-bindings: mtd: Document boolean NAND ECC properties

Document nand-use-soft-ecc-engine and nand-no-ecc-engine properties.
The former is here to force software correction, the latter prevents
any correction to happen.

These properties (along with nand-ecc-engine) are supposed to be more
accurate than the current nand-ecc-modes wich is very misleading and
very often people think it is mandatory while the core should be
relied upon to decide which correction to handle.

nand-ecc-mode was already inacurate, but it becomes totally
problematic with setups where there are several hardware engines.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/linux-mtd/20200827085208.16276-8-miquel.raynal@bootlin.com
Documentation/devicetree/bindings/mtd/nand-controller.yaml