LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Radu Pirea <radu.pirea@microchip.com>
To: Marek Vasut <marek.vasut@gmail.com>,
Boris Brezillon <boris.brezillon@bootlin.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-mtd@lists.infradead.org>,
<Zhiqiang.Hou@nxp.com>, <pp@emlix.com>, <richard@nod.at>,
<computersforpeace@gmail.com>, <dwmw2@infradead.org>
Subject: Re: [PATCH] mtd: spi-nor: add support for Microchip 25LC256
Date: Fri, 18 May 2018 16:00:15 +0300 [thread overview]
Message-ID: <ba6be822-b8ac-588f-ec11-d7cb5cddd1a3@microchip.com> (raw)
In-Reply-To: <e495fbdd-1bda-8b7e-52b5-ee51247231a8@gmail.com>
On 05/18/2018 01:03 PM, Marek Vasut wrote:
> On 05/18/2018 11:50 AM, Radu Pirea wrote:
>>
>>
>> On 05/16/2018 04:47 PM, Marek Vasut wrote:
>>> On 05/16/2018 12:05 PM, Radu Pirea wrote:
>>>> On Wed, 2018-05-16 at 00:17 +0200, Marek Vasut wrote:
>>>>> On 05/15/2018 06:22 PM, Radu Pirea wrote:
>>>>>> On Fri, 2018-05-04 at 20:40 +0200, Boris Brezillon wrote:
>>>>>>> On Fri, 4 May 2018 18:54:04 +0300
>>>>>>> Radu Pirea <radu.pirea@microchip.com> wrote:
>>>>>>>
>>>>>>>> Added geometry description for Microchip 25LC256 memory.
>>>>>>>
>>>>>>> Same as for the dataflash stuff you posted a few weeks ago: I
>>>>>>> don't
>>>>>>> think this device belongs in the SPI NOR framework.
>>>>>>
>>>>>> Hi Boris,
>>>>>>
>>>>>> 25lc256 memory is similar with mr25h256, the only difference is the
>>>>>> page size(64 vs 256). Because mr25h256 is already in SPI NOR
>>>>>> framework
>>>>>> I added here 25lc256.
>>>>>
>>>>> I think I must be reading the wrong datasheet, but can you show me
>>>>> how
>>>>> does it support things like READID opcode ?
>>>>>
>>>> Hi Marek,
>>>>
>>>> I read the datasheet for 25lc256 and for mr25h256 and none of them
>>>> supports READID. Is this required for a chip to be included in spi-nor
>>>> framework? I just followed the mr25h256 as an example.
>>>
>>> So I thought until you pointed out the MR25 devices.
>>>
>>> Does the 25LC device need erase or not ? I think the MR25s didn't, but I
>>> might be wrong.
>>
>> You are right. MR25s does not need erase and the same thing is true for
>> 25LC.
>
> Oh. And the command set is (except for readid) comparable to SPI NOR ?
>
>>> Maybe the framework could support the 25LC afterall.
>>>
>> Yes, this was my impression too.
>
> I am still thinking that the AT25 driver might be a better fit for such
> devices. Can you take a look ?
I tested the memory with at25 driver and it works with no line changed
in driver. :)
>
next prev parent reply other threads:[~2018-05-18 13:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-04 15:54 Radu Pirea
2018-05-04 17:11 ` Marek Vasut
2018-05-04 18:40 ` Boris Brezillon
2018-05-15 16:22 ` Radu Pirea
2018-05-15 22:17 ` Marek Vasut
2018-05-16 10:05 ` Radu Pirea
2018-05-16 13:47 ` Marek Vasut
2018-05-18 9:50 ` Radu Pirea
2018-05-18 10:03 ` Marek Vasut
2018-05-18 13:00 ` Radu Pirea [this message]
2018-05-18 16:25 ` Marek Vasut
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=ba6be822-b8ac-588f-ec11-d7cb5cddd1a3@microchip.com \
--to=radu.pirea@microchip.com \
--cc=Zhiqiang.Hou@nxp.com \
--cc=boris.brezillon@bootlin.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=marek.vasut@gmail.com \
--cc=pp@emlix.com \
--cc=richard@nod.at \
--subject='Re: [PATCH] mtd: spi-nor: add support for Microchip 25LC256' \
/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
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).