summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2021-12-16 12:16:35 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-01-23 12:36:21 +0100
commit475e826bad8c7b65d4157259c9906fcf86834f14 (patch)
tree4b2b7ad484fa86bef6da98cf03a251c9ab2abbb6
parent295fca79a8ee8e140f61e1b00e2cd21bf0fd9464 (diff)
dt-bindings: spi: mxic: Document the nand-ecc-engine property
This SPI controller supports interacting with an external ECC engine. The nand-ecc-engine property already exist in the NAND world but also applies to SPI controller nodes which have external correction capabilities like Macronix's. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-10-miquel.raynal@bootlin.com
-rw-r--r--Documentation/devicetree/bindings/spi/mxicy,mx25f0a-spi.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/mxicy,mx25f0a-spi.yaml b/Documentation/devicetree/bindings/spi/mxicy,mx25f0a-spi.yaml
index f20d100b4a68..9202c44b4478 100644
--- a/Documentation/devicetree/bindings/spi/mxicy,mx25f0a-spi.yaml
+++ b/Documentation/devicetree/bindings/spi/mxicy,mx25f0a-spi.yaml
@@ -38,6 +38,11 @@ properties:
- const: send_dly_clk
- const: ps_clk
+ nand-ecc-engine:
+ description: NAND ECC engine used by the SPI controller in order to perform
+ on-the-fly correction when using a SPI-NAND memory.
+ $ref: /schemas/types.yaml#/definitions/phandle
+
required:
- compatible
- reg