diff options
author | Christophe Kerello <christophe.kerello@foss.st.com> | 2022-02-17 15:47:52 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2022-02-18 15:15:00 +0100 |
commit | cb57fae479be41d1233f5a49d4760de9a5692b6e (patch) | |
tree | f7efd57b3a57b5d9c31e27fc3a26e63032baf5d2 /Documentation/devicetree/bindings/mtd/nand-controller.yaml | |
parent | mtd: rawnand: pl353: Set the nand chip node as the flash node (diff) | |
download | wireguard-linux-cb57fae479be41d1233f5a49d4760de9a5692b6e.tar.xz wireguard-linux-cb57fae479be41d1233f5a49d4760de9a5692b6e.zip |
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
Diffstat (limited to 'Documentation/devicetree/bindings/mtd/nand-controller.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/mtd/nand-controller.yaml | 7 |
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: |