Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/linux-mtd/20230619092916.3028470-5-miquel.raynal@bootlin.com

+8
+8
Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml
··· 41 41 enum: [ oob, interleaved ] 42 42 deprecated: true 43 43 44 + nand-ecc-mode: 45 + description: 46 + Legacy ECC configuration mixing the ECC engine choice and 47 + configuration. 48 + $ref: /schemas/types.yaml#/definitions/string 49 + enum: [none, soft, soft_bch, hw, hw_syndrome, on-die] 50 + deprecated: true 51 + 44 52 nand-bus-width: 45 53 description: 46 54 Bus width to the NAND chip