On Thu, 28 May 2020 13:30:56 +0200 Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote: > This optional property defines where the ECC bytes are expected to be > stored. No value defaults to an unknown location, while these > locations can be explicitly set to OOB or interleaved depending if > the ECC bytes are entirely stored in the OOB area or mixed with > regular data in the main area (also sometimes referred as > "syndrome"). > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx> > --- > .../devicetree/bindings/mtd/nand-controller.yaml | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > index d261b7096c69..4a0798247d2d 100644 > --- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml > +++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml > @@ -56,6 +56,16 @@ patternProperties: > (Linux will handle the calculations). soft_bch is deprecated > and should be replaced by soft and nand-ecc-algo. > > + nand-ecc-placement: > + allOf: > + - $ref: /schemas/types.yaml#/definitions/string > + - enum: [ oob, interleaved ] > + description: > + Location of the ECC bytes. This location is unknown by default > + but can be explicitly set to "oob", if all ECC bytes are > + known to be stored in the OOB area, or "interleaved" if ECC > + bytes will be interleaved with regular data in the main area. > + > nand-ecc-algo: > allOf: > - $ref: /schemas/types.yaml#/definitions/string ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/