[PATCH 1/2] dt-bindings: mtd: brcmnand: add "no-wp" property

Rafał Miłecki
2021-11-03T15:11:35Z

From: Rafał Miłecki <rafal@milecki.pl>

It's required to properly describe boards without connected WP pin (e.g.
Asus GT-AC5300).

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml
index dd5a64969e37..49c7860c0dad 100644
--- a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml
+++ b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml
@@ -111,6 +111,11 @@ properties:
earlier versions of this core that include WP
type: boolean

+ no-wp:
+ description:
+ This property marks boards with WP pin not connected to the NAND chip.
+ type: boolean
+
patternProperties:
"^nand@[a-f0-9]$":
type: object
--
2.31.1