dt-bindings: mtd: ingenic: Use standard ecc-engine property
authorPaul Cercueil <paul@crapouillou.net>
Tue, 19 Mar 2019 14:53:53 +0000 (15:53 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 21 Mar 2019 15:55:30 +0000 (16:55 +0100)
The 'ingenic,bch-controller' property is now deprecated and the
'ecc-engine' property should be used instead.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt

index 5a45cc54f46df61fe1c56263c6f500ca15641ca2..c02259353327e03c2518164fd492b539fbcc5425 100644 (file)
@@ -14,7 +14,7 @@ Required NAND controller device properties:
   an offset of 0 and a size of 0x1000000 (i.e. the whole NEMC bank).
 
 Optional NAND controller device properties:
-- ingenic,bch-controller: To make use of the hardware ECC controller, this
+- ecc-engine: To make use of the hardware ECC controller, this
   property must contain a phandle for the ECC controller node. The required
   properties for this node are described below. If this is not specified,
   software ECC will be used instead.
@@ -48,7 +48,7 @@ nemc: nemc@13410000 {
                #address-cells = <1>;
                #size-cells = <0>;
 
-               ingenic,bch-controller = <&bch>;
+               ecc-engine = <&bch>;
 
                nand@1 {
                        reg = <1>;