Commit efdd2963 authored by Miquel Raynal's avatar Miquel Raynal
Browse files

dt-bindings: mtd: Describe nand-ecc-mode



This property has been extensively used for almost two decades already,
a lot of device trees use it, this is not the preferred way to configure
the ECC engines but we cannot just ignore it. Describe the property,
list the exact strings which have once been supported and mark it
deprecated.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-5-miquel.raynal@bootlin.com
parent 17241a02
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -41,6 +41,14 @@ properties:
    enum: [ oob, interleaved ]
    enum: [ oob, interleaved ]
    deprecated: true
    deprecated: true


  nand-ecc-mode:
    description:
      Legacy ECC configuration mixing the ECC engine choice and
      configuration.
    $ref: /schemas/types.yaml#/definitions/string
    enum: [none, soft, soft_bch, hw, hw_syndrome, on-die]
    deprecated: true

  nand-bus-width:
  nand-bus-width:
    description:
    description:
      Bus width to the NAND chip
      Bus width to the NAND chip