Skip to content

Commit efdd296

Browse files
committed
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
1 parent 17241a0 commit efdd296

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ properties:
4141
enum: [ oob, interleaved ]
4242
deprecated: true
4343

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+
4452
nand-bus-width:
4553
description:
4654
Bus width to the NAND chip

0 commit comments

Comments
 (0)