From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fIxdX-0005Ie-GS for linux-mtd@lists.infradead.org; Wed, 16 May 2018 14:42:52 +0000 Received: by mail-wm0-x241.google.com with SMTP id f8-v6so2422951wmc.4 for ; Wed, 16 May 2018 07:42:29 -0700 (PDT) Subject: Re: [PATCH] mtd: spi-nor: add support for Microchip 25LC256 To: Radu Pirea , Boris Brezillon 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 References: <20180504155404.5285-1-radu.pirea@microchip.com> <20180504204013.254d90cf@bbrezillon> <1db092c8-95fb-5747-f7b9-f6a215b1aa5b@gmail.com> From: Marek Vasut Message-ID: <30ab9516-abc9-d2d5-79ea-266c682c5fa9@gmail.com> Date: Wed, 16 May 2018 15:47:15 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 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. Maybe the framework could support the 25LC afterall. -- Best regards, Marek Vasut