diff options
author | Miquel Raynal <[email protected]> | 2023-06-19 11:29:03 +0200 |
---|---|---|
committer | Miquel Raynal <[email protected]> | 2023-06-22 23:04:53 +0200 |
commit | efdd296323cdf6303a034ec85086c4b0b2234a71 (patch) | |
tree | a3b120ab3049d6662facd267ca0fffbb768174a1 | |
parent | 17241a02a84ef748d4ab7386c5a25771b1fa7cc7 (diff) |
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 <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/linux-mtd/[email protected]
-rw-r--r-- | Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml b/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml index 08f38251663d..092448d7bfc5 100644 --- a/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml +++ b/Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml @@ -41,6 +41,14 @@ properties: enum: [ oob, interleaved ] 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: description: Bus width to the NAND chip |