mtd: nand: Add a devicetree binding for ECC strength and ECC step size
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 24 Feb 2014 22:24:49 +0000 (19:24 -0300)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 11 Mar 2014 05:42:29 +0000 (22:42 -0700)
commit8dd49165ef5f46b5ad9ba296c559ccff315f9421
tree970a761b39b24df16c6534235e69e14abfb2479b
parent6d9434ebb76157071164b32ad03fbed165c74382
mtd: nand: Add a devicetree binding for ECC strength and ECC step size

Some flashes can only be properly accessed when the ECC mode is
specified, so a way to describe such mode is required.

Together, the ECC strength and step size define the correction capability,
so that we say we will correct "{strength} bit errors per {size} bytes".

The interpretation of these parameters is implementation-defined, but they
often have ramifications on the formation, interpretation, and placement of
correction metadata on the flash. Not all implementations must support all
possible combinations. Implementations are encouraged to further define the
value(s) they support.

Acked-by: Boris BREZILLON <b.brezillon.dev@gmail.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Documentation/devicetree/bindings/mtd/nand.txt