[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1571902807-10388-3-git-send-email-masonccyang@mxic.com.tw>
Date: Thu, 24 Oct 2019 15:40:07 +0800
From: Mason Yang <masonccyang@...c.com.tw>
To: miquel.raynal@...tlin.com, richard@....at, marek.vasut@...il.com,
dwmw2@...radead.org, bbrezillon@...nel.org,
computersforpeace@...il.com, vigneshr@...com, robh+dt@...nel.org,
mark.rutland@....com
Cc: devicetree@...r.kernel.org, juliensu@...c.com.tw,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
masonccyang@...c.com.tw
Subject: [PATCH v4 2/2] dt-bindings: mtd: Document Macronix NAND device bindings
Document the bindings used by the Macronix NAND device.
Signed-off-by: Mason Yang <masonccyang@...c.com.tw>
---
.../devicetree/bindings/mtd/nand-macronix.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mtd/nand-macronix.txt
diff --git a/Documentation/devicetree/bindings/mtd/nand-macronix.txt b/Documentation/devicetree/bindings/mtd/nand-macronix.txt
new file mode 100644
index 0000000..cb60358
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/nand-macronix.txt
@@ -0,0 +1,20 @@
+Macronix NANDs Device Tree Bindings
+-----------------------------------
+
+Macronix NANDs support randomizer operation for user data scrambled,
+which can be enabled with a SET_FEATURE. The penalty of randomizer
+is subpage accesses prohibited. By adding a new specific property
+in children nodes to enable randomizer function.
+
+Required NAND chip properties in children mode:
+- randomizer enable: should be "mxic,enable-randomizer-otp"
+
+Example:
+
+ nand: nand-controller@...t-address {
+
+ nand@0 {
+ reg = <0>;
+ mxic,enable-randomizer-otp;
+ };
+ };
--
1.9.1
Powered by blists - more mailing lists