linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND] mtd: spi-nor: s25fl008k and s25fl016k supports dual/quad mode
@ 2015-07-09 20:30 Joachim Eastwood
  2015-09-29  1:00 ` Brian Norris
  0 siblings, 1 reply; 2+ messages in thread
From: Joachim Eastwood @ 2015-07-09 20:30 UTC (permalink / raw)
  To: computersforpeace, dwmw2; +Cc: linux-mtd, Joachim Eastwood

s25fl016k can be found on Embedded Artists' LPC4357 Developer's Kit
where is used in quad mode by the LPC4357 SPIFI controller.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---

Hi,

Could this go in for 4.3?

Resend of http://permalink.gmane.org/gmane.linux.drivers.mtd/59189
back in May 29.

 drivers/mtd/spi-nor/spi-nor.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index d78831b4422b..c834bd3004d7 100644
--- a/drivers/mtd/spi-nor/spi-nor.c
+++ b/drivers/mtd/spi-nor/spi-nor.c
@@ -621,8 +621,8 @@ static const struct spi_device_id spi_nor_ids[] = {
 	{ "s25sl016a",  INFO(0x010214,      0,  64 * 1024,  32, 0) },
 	{ "s25sl032a",  INFO(0x010215,      0,  64 * 1024,  64, 0) },
 	{ "s25sl064a",  INFO(0x010216,      0,  64 * 1024, 128, 0) },
-	{ "s25fl008k",  INFO(0xef4014,      0,  64 * 1024,  16, SECT_4K) },
-	{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K) },
+	{ "s25fl008k",  INFO(0xef4014,      0,  64 * 1024,  16, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+	{ "s25fl016k",  INFO(0xef4015,      0,  64 * 1024,  32, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
 	{ "s25fl064k",  INFO(0xef4017,      0,  64 * 1024, 128, SECT_4K) },
 	{ "s25fl132k",  INFO(0x014016,      0,  64 * 1024,  64, SECT_4K) },
 	{ "s25fl164k",  INFO(0x014017,      0,  64 * 1024, 128, SECT_4K) },
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESEND] mtd: spi-nor: s25fl008k and s25fl016k supports dual/quad mode
  2015-07-09 20:30 [PATCH RESEND] mtd: spi-nor: s25fl008k and s25fl016k supports dual/quad mode Joachim Eastwood
@ 2015-09-29  1:00 ` Brian Norris
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Norris @ 2015-09-29  1:00 UTC (permalink / raw)
  To: Joachim Eastwood; +Cc: dwmw2, linux-mtd

On Thu, Jul 09, 2015 at 10:30:57PM +0200, Joachim Eastwood wrote:
> s25fl016k can be found on Embedded Artists' LPC4357 Developer's Kit
> where is used in quad mode by the LPC4357 SPIFI controller.
> 
> Signed-off-by: Joachim Eastwood <manabian@gmail.com>
> ---
> 
> Hi,
> 
> Could this go in for 4.3?
> 
> Resend of http://permalink.gmane.org/gmane.linux.drivers.mtd/59189
> back in May 29.

Pushed to l2-mtd.git

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-29  1:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 20:30 [PATCH RESEND] mtd: spi-nor: s25fl008k and s25fl016k supports dual/quad mode Joachim Eastwood
2015-09-29  1:00 ` Brian Norris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).