summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2023-06-19 12:29:03 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-06-23 00:04:53 +0300
commitefdd296323cdf6303a034ec85086c4b0b2234a71 (patch)
treea3b120ab3049d6662facd267ca0fffbb768174a1 /Documentation/devicetree/bindings/mtd
parent17241a02a84ef748d4ab7386c5a25771b1fa7cc7 (diff)
downloadlinux-efdd296323cdf6303a034ec85086c4b0b2234a71.tar.xz
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
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
-rw-r--r--Documentation/devicetree/bindings/mtd/raw-nand-chip.yaml8
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