[PATCH] spidev: Add Micron SPI NOR Authenta device compatible

2021-04-19 Thread shiva . linuxworks
From: Shivamurthy Shastri Add compatible string for Micron SPI NOR Authenta device. Signed-off-by: Shivamurthy Shastri --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 8cb4d923aeaa..f56e0e975a46 100644 --- a/drivers/

[PATCH 3/8] mtd: nand: create ONFI table parsing instance

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri ONFI table parsing is common, as most of the variables are common between raw and SPI NAND. The parsing function is instantiated in onfi.c, which fills ONFI parameters into nand_memory_organization. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/onfi.c

[PATCH 7/8] mtd: spinand: micron: Fix read failure in Micron M70A flashes

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri M70A series flashes by default enable continuous read feature (BIT0 in configuration register). This feature will not expose the ECC to host and causing read failure. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 10 ++ 1 file changed,

[PATCH 1/8] mtd: nand: move ONFI related functions to onfi.h

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri These functions will be used by both raw NAND and SPI NAND, which supports ONFI like standards. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/raw/internals.h | 1 - include/linux/mtd/onfi.h | 9 + 2 files changed, 9 insertions(+), 1 deletion(

[PATCH 0/8] Introduce generic ONFI support

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Current support to ONFI parameter page is only for raw NAND, this patch series turn ONFI support into generic. So that, other NAND devices like SPI NAND can use this. The series has five parts. 1. Prepare for tunrning ONFI into generic 2. Turn ONFI into generic 3. Turn

[PATCH 5/8] mtd: spinand: micron: prepare for generalizing driver

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Generalize OOB layout structure and function names. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand

[PATCH 4/8] mtd: spinand: enabled parameter page support

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Some of the SPI NAND devices has parameter page, which is similar to ONFI table. But, it may not be self sufficient to propagate all the required parameters. Fixup function has been added in struct manufacturer to accommodate this. Signed-off-by: Shivamurthy Shastri -

[PATCH 6/8] mtd: spinand: micron: Turn driver implementation generic

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Driver is redesigned using parameter page to support Micron SPI NAND flashes. The reason why spinand_select_op_variant globalized is that the Micron driver no longer calling spinand_match_and_init. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/core.c |

[PATCH 8/8] mtd: spinand: micron: Enable micron flashes with multi-die

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri Some of the Micron flashes has multi-die, and need to select the die each time while accessing it. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/mtd/nand/spi/micron.c b/

[PATCH 2/8] mtd: nand: move support functions for ONFI to nand/onfi.c

2019-07-21 Thread shiva . linuxworks
From: Shivamurthy Shastri These functions are support functions for enabling ONFI standard and common between raw NAND and SPI NAND. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/Makefile| 2 +- drivers/mtd/nand/onfi.c | 89 drivers/