summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Kerello <christophe.kerello@foss.st.com>2022-02-17 15:47:52 +0100
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-02-18 15:15:00 +0100
commitcb57fae479be41d1233f5a49d4760de9a5692b6e (patch)
treef7efd57b3a57b5d9c31e27fc3a26e63032baf5d2
parenta1fe2ace2c39dcdc7c053705459a73b7598b1e4f (diff)
downloadlinux-cb57fae479be41d1233f5a49d4760de9a5692b6e.tar.bz2
dt-binding: mtd: nand: Document the wp-gpios property
A few drivers use this property to describe the GPIO pin used to protect the NAND during program/erase operations. Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220217144755.270679-2-christophe.kerello@foss.st.com
-rw-r--r--Documentation/devicetree/bindings/mtd/nand-controller.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/nand-controller.yaml b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
index bd217e6f5018..53b21aed0ac5 100644
--- a/Documentation/devicetree/bindings/mtd/nand-controller.yaml
+++ b/Documentation/devicetree/bindings/mtd/nand-controller.yaml
@@ -154,6 +154,13 @@ patternProperties:
Ready/Busy pins. Active state refers to the NAND ready state and
should be set to GPIOD_ACTIVE_HIGH unless the signal is inverted.
+ wp-gpios:
+ description:
+ Contains one GPIO descriptor for the Write Protect pin.
+ Active state refers to the NAND Write Protect state and should be
+ set to GPIOD_ACTIVE_LOW unless the signal is inverted.
+ maxItems: 1
+
secure-regions:
$ref: /schemas/types.yaml#/definitions/uint64-matrix
description: