[PATCH v2 2/2] mtd: docg3: add device-tree documentation

Robert Jarzmik robert.jarzmik at free.fr
Sat Sep 27 12:34:30 PDT 2014


Add documentation for the sandisk docg3 chip.

Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
Cc: devicetree at vger.kernel.org
Cc: Mark Rutland <mark.rutland at arm.com>

---
Since v1: Mark's review : use m-systems,diskonchip-g3, add flash at 0,
grammar
---
 Documentation/devicetree/bindings/mtd/diskonchip.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mtd/diskonchip.txt

diff --git a/Documentation/devicetree/bindings/mtd/diskonchip.txt b/Documentation/devicetree/bindings/mtd/diskonchip.txt
new file mode 100644
index 0000000..3e13bfd
--- /dev/null
+++ b/Documentation/devicetree/bindings/mtd/diskonchip.txt
@@ -0,0 +1,15 @@
+M-Systems and Sandisk DiskOnChip devices
+
+M-System DiskOnChip G3
+======================
+The Sandisk (formerly M-Systems) docg3 is a nand device of 64M to 256MB.
+
+Required properties:
+ - compatible: should be "m-systems,diskonchip-g3"
+ - reg: register base and size
+
+Example:
+	docg3: flash at 0 {
+		compatible = "m-systems,diskonchip-g3";
+		reg = <0x0 0x2000>;
+	};
-- 
2.1.0




More information about the linux-mtd mailing list