Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752770AbbG1Psm (ORCPT ); Tue, 28 Jul 2015 11:48:42 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:36007 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbbG1Psl convert rfc822-to-8bit (ORCPT ); Tue, 28 Jul 2015 11:48:41 -0400 X-Auth-Info: kYWW81e2tsQaBkyUg+nu0JgVXibWqYq8hx0pBNKWwxo= From: Marek Vasut To: =?utf-8?q?Rafa=C5=82_Mi=C5=82ecki?= Subject: Re: [PATCH 1/2] mtd: spi-nor: Add GD25LQ32C 1.8V SPI NOR flash ID Date: Tue, 28 Jul 2015 17:48:35 +0200 User-Agent: KMail/1.13.7 (Linux/3.14-2-amd64; KDE/4.13.1; x86_64; ; ) Cc: Michal Suchanek , David Woodhouse , Brian Norris , Huang Shijie , Ben Hutchings , "Bean Huo =?utf-8?q?=E9=9C=8D=E6=96=8C=E6=96=8C?= (beanhuo)" , "linux-mtd@lists.infradead.org" , Linux Kernel Mailing List References: <201507281633.19407.marex@denx.de> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Message-Id: <201507281748.36015.marex@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1546 Lines: 40 On Tuesday, July 28, 2015 at 05:19:18 PM, Rafał Miłecki wrote: > On 28 July 2015 at 16:33, Marek Vasut wrote: > > On Tuesday, July 28, 2015 at 11:07:57 AM, Michal Suchanek wrote: > >> This 1.8V SPI NOR flash is found on ARM Chromebook XE303C and reads > >> something like 25LQ32VIG in the middle. > >> > >> Signed-off-by: Michal Suchanek > >> --- > >> > >> drivers/mtd/spi-nor/spi-nor.c | 1 + > >> 1 file changed, 1 insertion(+) > >> > >> diff --git a/drivers/mtd/spi-nor/spi-nor.c > >> b/drivers/mtd/spi-nor/spi-nor.c index d78831b..cba3bd0 100644 > >> --- a/drivers/mtd/spi-nor/spi-nor.c > >> +++ b/drivers/mtd/spi-nor/spi-nor.c > >> @@ -559,6 +559,7 @@ static const struct spi_device_id spi_nor_ids[] = { > >> > >> /* GigaDevice */ > >> { "gd25q32", INFO(0xc84016, 0, 64 * 1024, 64, SECT_4K) }, > >> > >> + { "gd25lq32c", INFO(0xc86016, 0, 64 * 1024, 64, SECT_4K) }, > >> > >> { "gd25q64", INFO(0xc84017, 0, 64 * 1024, 128, SECT_4K) }, > >> { "gd25q128", INFO(0xc84018, 0, 64 * 1024, 256, SECT_4K) }, > > > > Don't we have DT bindings, so we can use jedec,spi-nor prop for all > > new SPI NORs without growing this table ? > > You confused this table with the one in m25p80.c. Uh oh, sorry. Best regards, Marek Vasut -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/