Skip to content

Commit

Permalink
dt-bindings: mtd: ingenic: Use standard ecc-engine property
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Cercueil authored and Miquel Raynal committed Mar 21, 2019
1 parent 057c319 commit badb37f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -48,7 +48,7 @@ nemc: nemc@13410000 {
#address-cells = <1>;
#size-cells = <0>;

ingenic,bch-controller = <&bch>;
ecc-engine = <&bch>;

nand@1 {
reg = <1>;
Expand Down

0 comments on commit badb37f

Please sign in to comment.