Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9FA00C433FE for ; Fri, 26 Nov 2021 06:56:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359013AbhKZG7e (ORCPT ); Fri, 26 Nov 2021 01:59:34 -0500 Received: from alexa-out.qualcomm.com ([129.46.98.28]:3465 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346291AbhKZG5d (ORCPT ); Fri, 26 Nov 2021 01:57:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1637909662; x=1669445662; h=from:to:cc:subject:date:message-id; bh=kLZ2yqqEVHTtwT/Cwfu/sCeyeuLoZ1HxMm+rfcqJuJ0=; b=ENBIEsWN7gdSs5CgS/YfgEj5ym5i2ZwDo5BPGpN9TgSrI0/ZJ+6Fx5oH ZGlBOD4H65BeQVi4eiyX7v2aMuENKg9Cx+RhHgJ6c9x2hLk2pPQP1ALlS W3+UPs7T2QrsFVygyRsCnkWdWcbiJSsndclGJtY3HeYpXhkIQMMkVg21s k=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 25 Nov 2021 22:54:21 -0800 X-QCInternal: smtphost Received: from ironmsg02-blr.qualcomm.com ([10.86.208.131]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 25 Nov 2021 22:54:20 -0800 X-QCInternal: smtphost Received: from c-sbhanu-linux.qualcomm.com ([10.242.50.201]) by ironmsg02-blr.qualcomm.com with ESMTP; 26 Nov 2021 12:24:04 +0530 Received: by c-sbhanu-linux.qualcomm.com (Postfix, from userid 2344807) id 42FB248A8; Fri, 26 Nov 2021 12:24:03 +0530 (IST) From: Shaik Sajida Bhanu To: tudor.ambarus@microchip.com, michael@walle.cc, p.yadav@ti.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: stummala@codeaurora.org, vbadigan@codeaurora.org, quic_rampraka@quicinc.com, quic_pragalla@quicinc.com, sartgarg@codeaurora.org, Shaik Sajida Bhanu Subject: [PATCH V1] mtd: spi-nor: winbond: Add support for winbond chip Date: Fri, 26 Nov 2021 12:24:00 +0530 Message-Id: <1637909640-32232-1-git-send-email-quic_c_sbhanu@quicinc.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for winbond W25Q512NW-IM chip. Signed-off-by: Shaik Sajida Bhanu --- drivers/mtd/spi-nor/winbond.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c index 96573f6..cdfa2ee 100644 --- a/drivers/mtd/spi-nor/winbond.c +++ b/drivers/mtd/spi-nor/winbond.c @@ -100,6 +100,9 @@ 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) }, + {"w25q512nw", INFO(0xef8020, 0, 64 * 1024, 1024, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, { "w25q512jvq", INFO(0xef4020, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation