public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Jim Kuo <jimtingkuo@gmail.com>
To: "David Woodhouse" <dwmw2@infradead.org>,
	"Brian Norris" <computersforpeace@gmail.com>,
	"Marek Vasut" <marex@denx.de>,
	"Huang Shijie" <b32955@freescale.com>,
	"Geert Uytterhoeven" <geert+renesas@glider.be>,
	"Rafał Miłecki" <zajec5@gmail.com>,
	"Ben Hutchings" <ben@decadent.org.uk>,
	"Kuninori Morimoto" <kuninori.morimoto.gx@renesas.com>
Cc: Jim Kuo <jimtingkuo@gmail.com>,
	linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] m25p80, spi-nor: Add SFDP detect method for Macronix chips
Date: Fri,  6 Feb 2015 02:44:03 +0800	[thread overview]
Message-ID: <1423161845-24282-1-git-send-email-jimtingkuo@gmail.com> (raw)

Hi linux-pm,

The serial flash discoverable parameters (SFDP) is needed to
spi nor devices for some specific features. I added some sfdp
structure and detect method. I have separated the chip IDs and
sfdp detect method to two patches.

Patch 1 (m25p80, spi-nor: Update id list of Macronix chips)
mainly updates the id table to support Macronix chips. Patch 2
includes the main sfdp functions and Macronix commands.

The code have been tested on lower version Linux and can
successfully work with Macronix chips.

Thanks for review!

Jim Kuo (2):
  m25p80, spi-nor: Update id list of Macronix chips
  spi-nor: Add SFDP detect method

 drivers/mtd/devices/m25p80.c  |  83 ++++-
 drivers/mtd/spi-nor/Kconfig   |  11 +
 drivers/mtd/spi-nor/spi-nor.c | 774 +++++++++++++++++++++++++++++++++++++++---
 include/linux/mtd/spi-nor.h   | 201 +++++++++++
 4 files changed, 1009 insertions(+), 60 deletions(-)

-- 
1.9.1

             reply	other threads:[~2015-02-05 18:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-05 18:44 Jim Kuo [this message]
2015-02-05 18:44 ` [PATCH 1/2] m25p80, spi-nor: Update id list of Macronix chips Jim Kuo
2015-02-06  1:18   ` Brian Norris
2015-02-06 14:33     ` Jim-Ting Kuo
2015-02-06 19:09       ` Brian Norris
2015-02-10  3:58         ` Huang Shijie
2015-02-05 18:44 ` [PATCH 2/2] spi-nor: Add SFDP detect method Jim Kuo

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=1423161845-24282-1-git-send-email-jimtingkuo@gmail.com \
    --to=jimtingkuo@gmail.com \
    --cc=b32955@freescale.com \
    --cc=ben@decadent.org.uk \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=geert+renesas@glider.be \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=marex@denx.de \
    --cc=zajec5@gmail.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