Skip to content

Commit cb57fae

Browse files
Christophe Kerellomiquelraynal
authored andcommitted
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
1 parent a1fe2ac commit cb57fae

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Documentation/devicetree/bindings/mtd/nand-controller.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,13 @@ patternProperties:
154154
Ready/Busy pins. Active state refers to the NAND ready state and
155155
should be set to GPIOD_ACTIVE_HIGH unless the signal is inverted.
156156

157+
wp-gpios:
158+
description:
159+
Contains one GPIO descriptor for the Write Protect pin.
160+
Active state refers to the NAND Write Protect state and should be
161+
set to GPIOD_ACTIVE_LOW unless the signal is inverted.
162+
maxItems: 1
163+
157164
secure-regions:
158165
$ref: /schemas/types.yaml#/definitions/uint64-matrix
159166
description:

0 commit comments

Comments
 (0)