From: Marek Vasut <marek.vasut@gmail.com>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Joel Stanley <joel@jms.id.au>,
Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Cc: linux-mtd@lists.infradead.org, "Cédric Le Goater" <clg@kaod.org>
Subject: Re: [PATCH v3] spi-nor: Add Winbond w25q512jv
Date: Tue, 20 Jun 2017 11:22:43 +0200 [thread overview]
Message-ID: <d9f1d30a-6ef5-6352-84fd-b5e552a75ced@gmail.com> (raw)
In-Reply-To: <1497949706.31581.46.camel@kernel.crashing.org>
On 06/20/2017 11:08 AM, Benjamin Herrenschmidt wrote:
> On Tue, 2017-06-20 at 09:23 +0200, Marek Vasut wrote:
>> On 06/20/2017 08:20 AM, Joel Stanley wrote:
>>> From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>>>
>>> Similar to the other ones, different size. The "JV" suffix is in
>>> the datasheet, I haven't seen mentions of a different one.
>>>
>>> The the datasheet indicates DUAL and QUAD are supported.
>>>
>>> http://www.winbond.com/resource-files/w25m512jv%20revc%2001062017.pdf
>>
>> The datasheet says W25M512 not W25Q512.
>> ^-----------^-------- different letter here.
>
> Page 23 mentions the "Q" version which is what we have.
So the M means "Multiple Q dies on single package" ? Why don't you use
w25m in the patch then ?
> Cheers,
> Ben.
>
>>
>>> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>>> Signed-off-by: Joel Stanley <joel@jms.id.au>
>>> ---
>>> v3:
>>> - Added the DUAL and QUAD flags for ben. Tested with aspeed-smc driver.
>>>
>>> drivers/mtd/spi-nor/spi-nor.c | 2 ++
>>> 1 file changed, 2 insertions(+)
>>>
>>> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
>>> index eef55b597ec7..ad46dc82c8d1 100644
>>> --- a/drivers/mtd/spi-nor/spi-nor.c
>>> +++ b/drivers/mtd/spi-nor/spi-nor.c
>>> @@ -1146,6 +1146,8 @@ static const struct flash_info spi_nor_ids[] = {
>>> { "w25q80bl", INFO(0xef4014, 0, 64 * 1024, 16, SECT_4K) },
>>> { "w25q128", INFO(0xef4018, 0, 64 * 1024, 256, SECT_4K) },
>>> { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, SECT_4K) },
>>> + { "w25q512jv", INFO(0xef7119, 0, 64 * 1024, 1024,
>>> + SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) },
>>>
>>> /* Catalyst / On Semiconductor -- non-JEDEC */
>>> { "cat25c11", CAT25_INFO( 16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },
>>>
>>
>>
--
Best regards,
Marek Vasut
next prev parent reply other threads:[~2017-06-20 9:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-20 6:20 [PATCH v3] spi-nor: Add Winbond w25q512jv Joel Stanley
2017-06-20 7:23 ` Marek Vasut
2017-06-20 9:08 ` Benjamin Herrenschmidt
2017-06-20 9:22 ` Marek Vasut [this message]
2017-06-20 9:45 ` Benjamin Herrenschmidt
2017-06-20 9:55 ` Marek Vasut
2017-06-20 7:58 ` Cyrille Pitchen
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=d9f1d30a-6ef5-6352-84fd-b5e552a75ced@gmail.com \
--to=marek.vasut@gmail.com \
--cc=benh@kernel.crashing.org \
--cc=clg@kaod.org \
--cc=cyrille.pitchen@wedev4u.fr \
--cc=joel@jms.id.au \
--cc=linux-mtd@lists.infradead.org \
/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