summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-03-04 21:06:02 +0100
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-04-29 08:56:40 +0200
commit290450dddb318e28befbbb004f0c1fa7dbcfad69 (patch)
tree6ef7420001e0523400b98b682cd96a344a31c9d5 /Documentation/devicetree/bindings/mtd/gpmi-nand.txt
parent6bf6ec522e050359b92600f7f820c32181615f87 (diff)
dt-bindings: mtd: rawnand: gpmi: document specific ECC strength
Document newly supported device tree properties nand-ecc-strength/ nand-ecc-step-size to specify ECC strength/size. Signed-off-by: Stefan Agner <stefan@agner.ch> Acked-by: Han Xu <han.xu@nxp.com> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/gpmi-nand.txt')
-rw-r--r--Documentation/devicetree/bindings/mtd/gpmi-nand.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
index b289ef3c1b7e..393588385c6e 100644
--- a/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/gpmi-nand.txt
@@ -47,6 +47,11 @@ Optional properties:
partitions written from Linux with this feature
turned on may not be accessible by the BootROM
code.
+ - nand-ecc-strength: integer representing the number of bits to correct
+ per ECC step. Needs to be a multiple of 2.
+ - nand-ecc-step-size: integer representing the number of data bytes
+ that are covered by a single ECC step. The driver
+ supports 512 and 1024.
The device tree may optionally contain sub-nodes describing partitions of the
address space. See partition.txt for more detail.