Skip to content

Commit 638eff8

Browse files
William Zhangmiquelraynal
authored andcommitted
dt-bindings: mtd: brcmnand: Add WP pin connection property
Add brcm,wp-not-connected property to have an option for disabling this feature on broadband board design that does not connect WP pin. Signed-off-by: William Zhang <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 59e8c2e commit 638eff8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ properties:
113113
earlier versions of this core that include WP
114114
type: boolean
115115

116+
brcm,wp-not-connected:
117+
description:
118+
Use this property when WP pin is not physically wired to the NAND chip.
119+
Write protection feature cannot be used. By default, controller assumes
120+
the pin is connected and feature is used.
121+
$ref: /schemas/types.yaml#/definitions/flag
122+
116123
patternProperties:
117124
"^nand@[a-f0-9]$":
118125
type: object

0 commit comments

Comments
 (0)