From: Greg KH <gregkh@linuxfoundation.org>
To: Kamlakant Patel <kamlakant.patel@broadcom.com>
Cc: linux-mtd@lists.infradead.org, manonuevo@micron.com
Subject: Re: [PATCH] Staging: MTD: Micron SPINAND Driver support
Date: Wed, 25 Sep 2013 16:14:25 -0700 [thread overview]
Message-ID: <20130925231425.GA21682@kroah.com> (raw)
In-Reply-To: <1378128136-23699-1-git-send-email-kamlakant.patel@broadcom.com>
On Mon, Sep 02, 2013 at 06:52:16PM +0530, Kamlakant Patel wrote:
> This patch adds support for Micron SPINAND via MTD.
>
> Signed-off-by: Mona Anonuevo <manonuevo@micron.com>
> Signed-off-by: Kamlakant Patel <kamlakant.patel@broadcom.com>
> ---
> This patch has to be merged via staging tree.
>
> This is a driver from Micron for MT29F1G01ZACH4 SPI based NAND chips. This driver had
> been posted multiple times to the mtd list.
> 1. http://lists.infradead.org/pipermail/linux-mtd/2010-May/031975.html
> 2. http://lists.infradead.org/pipermail/linux-mtd/2010-April/029523.html
> 3. patchwork.ozlabs.org/patch/258697/
> This has not been merged into the main kernel yet.
>
> I have cleaned and updated it for current kernel. Since there are many users for
> this driver, it may be useful to add it to the staging tree, where further fixes and
> cleanups can be done. Once it reaches to the standard will be moved to the mtd.
>
> This driver has been tested with Micron SPINAND MT29F1G01ZACH4 chip on kernel 3.11 on
> the Netlogic XLP platform.
>
> Mona Anonuevo, I have retained your sign-offs from the original patch.
>
> drivers/staging/Kconfig | 2 +
> drivers/staging/Makefile | 1 +
> drivers/staging/mt29f_spinand/Kconfig | 16 +
> drivers/staging/mt29f_spinand/Makefile | 1 +
> drivers/staging/mt29f_spinand/TODO | 13 +
> drivers/staging/mt29f_spinand/mt29f_spinand.c | 917 ++++++++++++++++++++++++++
> drivers/staging/mt29f_spinand/mt29f_spinand.h | 109 +++
> 7 files changed, 1059 insertions(+)
> create mode 100644 drivers/staging/mt29f_spinand/Kconfig
> create mode 100644 drivers/staging/mt29f_spinand/Makefile
> create mode 100644 drivers/staging/mt29f_spinand/TODO
> create mode 100644 drivers/staging/mt29f_spinand/mt29f_spinand.c
> create mode 100644 drivers/staging/mt29f_spinand/mt29f_spinand.h
>
> diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
> index 57d8b34..8846a92 100644
> --- a/drivers/staging/Kconfig
> +++ b/drivers/staging/Kconfig
> @@ -136,6 +136,8 @@ source "drivers/staging/goldfish/Kconfig"
>
> source "drivers/staging/netlogic/Kconfig"
>
> +source "drivers/staging/mt29f_spinand/Kconfig"
> +
> source "drivers/staging/dwc2/Kconfig"
>
> source "drivers/staging/lustre/Kconfig"
> diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
> index 429321f..1b7b060 100644
> --- a/drivers/staging/Makefile
> +++ b/drivers/staging/Makefile
> @@ -63,3 +63,4 @@ obj-$(CONFIG_GOLDFISH) += goldfish/
> obj-$(CONFIG_XILLYBUS) += xillybus/
> obj-$(CONFIG_DGNC) += dgnc/
> obj-$(CONFIG_DGAP) += dgap/
> +obj-$(CONFIG_MTD_SPINAND_MT29F) += mt29f_spinand/
> diff --git a/drivers/staging/mt29f_spinand/Kconfig b/drivers/staging/mt29f_spinand/Kconfig
> new file mode 100644
> index 0000000..07dd535
> --- /dev/null
> +++ b/drivers/staging/mt29f_spinand/Kconfig
> @@ -0,0 +1,16 @@
> +config MTD_SPINAND_MT29F
> + tristate "SPINAND Device Support for Micron"
> + depends on MTD
> + help
> + This enables support for accessing Micron SPI NAND flash
> + devices.
> + If you have Micron SPI NAND chip say yes.
> +
> + If unsure, say no here.
> +
> +config MTD_SPINAND_ONDIEECC
> + bool "Use SPINAND internal ECC"
This needs to depend on MTD_SPINAND_MT29F in order to make any sense,
right?
Can you please send a follow-on patch for it?
thanks,
greg k-h
next prev parent reply other threads:[~2013-09-25 23:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-02 13:22 [PATCH] Staging: MTD: Micron SPINAND Driver support Kamlakant Patel
2013-09-25 23:14 ` Greg KH [this message]
2013-09-25 23:15 ` Greg KH
2013-10-01 7:26 ` Kamlakant Patel
2013-10-01 9:33 ` Kamlakant Patel
2013-10-02 18:45 ` Brian Norris
2013-10-03 5:49 ` Gupta, Pekon
2013-10-03 9:54 ` Kamlakant Patel
2013-10-03 5:24 ` Greg KH
2013-10-03 5:25 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130925231425.GA21682@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=kamlakant.patel@broadcom.com \
--cc=linux-mtd@lists.infradead.org \
--cc=manonuevo@micron.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox