Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1187119pxu; Fri, 16 Oct 2020 06:11:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyeH9Omc8wnXvwSyJEdBx3LRkJmXzia51IGznagKf2+gGGioWDw6gXBiqyKgYApshg78wxS X-Received: by 2002:a17:906:ce27:: with SMTP id sd7mr3431049ejb.264.1602853865054; Fri, 16 Oct 2020 06:11:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602853865; cv=none; d=google.com; s=arc-20160816; b=c2+OfttAoJmXFWEr8T8ocRjfSD9NvlG9p8MoJiNnEwmw8xJwW1P5+2y/XgeDlCYSvp 4h30lFjwtiLvR8MxxROWho2aY8ZnbkeQvCIgofp81MC+9e6+F2FORkzThYvIKRRrQLqY g+IQuVlgMIXRSFeQNea9X33Saj0acHP+F/hgbgc15LhAYXHlFHErgg6wrIQYrRmHQNhe NqjdvuxghSsPCDdQKCI9zmYeR9XjxjSCIFZ+XE793BnXS9i81EdNqLi5JqV4BSkDuJrn hKwhk+RGKgLWpKTDWu144U1+mhNXqSr1pR0YJ7Pv8KFs9O9CUjzfCZz4Nvq1efm49iQ5 DHYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=uBYA69Hugxu/QSN/Zw1zqyX4NL3Q2OYdtpNGkto0qBw=; b=EjJTq/PPozpSCLgMbSqoD5NPnUqcRcFuT3Q8AG0L5vbHMJPO3uuDioz0rBSqiCxM+A QC/DJaZ1vYDbrYrjE0EHfqY96dZtbx3FEXoyNwNdveAxfqoQSTX9LW31xbVnfaAqd9hb hEghJm/EV4gPUCOxXw9DoS0ISe9ODSiGjZxrdJxqHaNmOyPZqRYlhXhKikdn+L1Bd/JU U0WjV5sjRfqGrAAS01Um9aTxzik3ns5NEse0ErdjiNbdEp+Bbp1XrEEMSL+JAxuPiKbZ VjUNCqtccETahlQXVDpn/tLgCa90bPZv5SNzMpfZxbolrd90ERpD8/7fiu29G4DasJ7q FkNg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j14si2012248edk.526.2020.10.16.06.10.42; Fri, 16 Oct 2020 06:11:05 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407014AbgJPLz4 (ORCPT + 99 others); Fri, 16 Oct 2020 07:55:56 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:48017 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2407009AbgJPLz4 (ORCPT ); Fri, 16 Oct 2020 07:55:56 -0400 X-IronPort-AV: E=Sophos;i="5.77,382,1596466800"; d="scan'208";a="59984947" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 16 Oct 2020 20:55:54 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 6AEB2401073E; Fri, 16 Oct 2020 20:55:52 +0900 (JST) From: Lad Prabhakar To: Tudor Ambarus , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-renesas-soc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Prabhakar , Biju Das , Lad Prabhakar Subject: [PATCH] mtd: spi-nor: winbond: Add support for w25m512jw Date: Fri, 16 Oct 2020 12:55:49 +0100 Message-Id: <20201016115549.31369-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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) }, }; /** -- 2.17.1