[PATCH v4 3/3] mtd: nand: Add macro definition for nvddr interface mode

2015-11-04 Thread Punnaiah Choudary Kalluri
Added macro definition for nvddr data interface mode field in
the sub feature parameter of onfi timing mode configuration.

Signed-off-by: Punnaiah Choudary Kalluri 
---
Changes in v4:
- New change 
---
 include/linux/mtd/nand.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 272f429..1085604 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -215,6 +215,9 @@ struct nand_chip;
 #define ONFI_TIMING_MODE_5 (1 << 5)
 #define ONFI_TIMING_MODE_UNKNOWN   (1 << 6)
 
+/* ONFI data interface mode */
+#define ONFI_DATA_INTERFACE_NVDDR  (1 << 4)
+
 /* ONFI feature address */
 #define ONFI_FEATURE_ADDR_TIMING_MODE  0x1
 
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v4 3/3] mtd: nand: Add macro definition for nvddr interface mode

2015-11-04 Thread Punnaiah Choudary Kalluri
Added macro definition for nvddr data interface mode field in
the sub feature parameter of onfi timing mode configuration.

Signed-off-by: Punnaiah Choudary Kalluri 
---
Changes in v4:
- New change 
---
 include/linux/mtd/nand.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 272f429..1085604 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -215,6 +215,9 @@ struct nand_chip;
 #define ONFI_TIMING_MODE_5 (1 << 5)
 #define ONFI_TIMING_MODE_UNKNOWN   (1 << 6)
 
+/* ONFI data interface mode */
+#define ONFI_DATA_INTERFACE_NVDDR  (1 << 4)
+
 /* ONFI feature address */
 #define ONFI_FEATURE_ADDR_TIMING_MODE  0x1
 
-- 
2.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/