Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3968331pxb; Tue, 10 Nov 2020 05:00:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOWS4e7v8VdoQLFDtu3F4uPupGIH55MCidfpGNb2ryYl6DFJzIBzwjuhtce9gO8uKoWZN0 X-Received: by 2002:a17:906:aecd:: with SMTP id me13mr11962959ejb.433.1605013233553; Tue, 10 Nov 2020 05:00:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605013233; cv=none; d=google.com; s=arc-20160816; b=ntJe4cgR9x7pBnn3YMV4N+oSYPxY4sC5Sd32x/DoBP9cy+aUiUqztgxb0eI9nS1x90 4j3cUbDCJqlRoiRywi4gMN6PwgqjCo5EXPBmRj462VdMRmjE3KNzb/z0IztrjvhgUtxY CA+CRmMUBBuv2IQ8pQSzkx6rIH1qT/1heMZ7Dwu/sjVVYoCi5vmRc6OWGslsCNzH+GXy ltjpc77RXWN/3LGFP1N+feIfBoRDMuKVITsFDiO7viLodcYJ4wa1BWObr3Q4dQSWIrrF AL7zhU7I3Lkp8LDcrzDMCj076RvMzj9ITXoegEPAB6f5iScxoY2mffGZog9veFi3/1QN Cyag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=uXVTrgsRm6xY9WiAoZBFXURTjX9qcI5PcYnV6mMJCcs=; b=rBmU5PZlfTDI4XRRKfdkY9iZNqAMgxNAg+4XTUZRBmEPYfUq5ShzlMw4lBHfSKnjJD y2NcK60VuesjQOCdVGa6AQ7c+g1nEMq50eGW3QyhxpCktLSUFOLm5bWS/w4t61hhDaPC 8LRXLTlcym9uEtbjxwiu4N8/q9I3qFO+zYmOM95rA1zbVdiHdrix5WFef/45LI82dejc y9by4DCZ16EvjMjtq2+Cly3R5rDd14PvgQO2rnS4RwCf139OfKSAD5iEIXxBqliu0HU0 D0DWGXWttJRm+l8vaPd/Winnwwc9IpMV4++I+T1HfG8l17I9fMxhFtO736+WjNZ1UNbj mj+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o0maWUH0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j11si9445565edy.158.2020.11.10.05.00.06; Tue, 10 Nov 2020 05:00:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=o0maWUH0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730397AbgKJM6m (ORCPT + 99 others); Tue, 10 Nov 2020 07:58:42 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:49604 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730097AbgKJM6k (ORCPT ); Tue, 10 Nov 2020 07:58:40 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0AACwLYH048316; Tue, 10 Nov 2020 06:58:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1605013101; bh=uXVTrgsRm6xY9WiAoZBFXURTjX9qcI5PcYnV6mMJCcs=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=o0maWUH0jBdrqWzHt8J4HSOq5DApwIzALpFxAaUT2fjXekW29+rcGT433zXQV9XRR OQsOr+LqNcipxlFQM+i1b7Ma+dfGHYWWnxKcUPxskmBJJxGCigXkOaqh7aT+D/45Tt y0CTAqzwyg3/DxvIM63BVViXQJN9X81VFxj1LR6s= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0AACwLRt034302 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 10 Nov 2020 06:58:21 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 10 Nov 2020 06:58:20 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Tue, 10 Nov 2020 06:58:20 -0600 Received: from [10.250.233.179] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0AACwHnW123876; Tue, 10 Nov 2020 06:58:18 -0600 Subject: Re: [PATCH] mtd: spi-nor: winbond: Add support for w25m512jw To: Lad Prabhakar , Tudor Ambarus , Miquel Raynal , Richard Weinberger , , CC: , Prabhakar , Biju Das References: <20201016115549.31369-1-prabhakar.mahadev-lad.rj@bp.renesas.com> From: Vignesh Raghavendra Message-ID: <849bf80d-4081-1b90-9490-702e8a0b5a12@ti.com> Date: Tue, 10 Nov 2020 18:28:16 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201016115549.31369-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/16/20 5:25 PM, Lad Prabhakar wrote: > This chip is (nearly) identical to the Winbond w25m512jv which is > already supported by Linux. Compared to the w25m512jv, the 'jw' > has a different JEDEC ID. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Biju Das I believe this was tested on a real HW? Including Quad mode? > --- > drivers/mtd/spi-nor/winbond.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c > index 6dcde15fb1aa..b5dfc09fef30 100644 > --- a/drivers/mtd/spi-nor/winbond.c > +++ b/drivers/mtd/spi-nor/winbond.c > @@ -88,6 +88,8 @@ static const struct flash_info winbond_parts[] = { > SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, > { "w25m512jv", INFO(0xef7119, 0, 64 * 1024, 1024, > SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, > + { "w25m512jw", INFO(0xef6119, 0, 64 * 1024, 1024, > + SECT_4K | SPI_NOR_QUAD_READ | SPI_NOR_DUAL_READ) }, > }; > > /** >