Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp98014ybm; Wed, 27 May 2020 20:38:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4hwqkPQNErUgw9smAkFoAY1fa0aFiHeZ2Ho2ALVkQbCOZK5M4CnwT4yAb9mQJhJF946rr X-Received: by 2002:a17:906:350c:: with SMTP id r12mr1208852eja.516.1590637138221; Wed, 27 May 2020 20:38:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590637138; cv=none; d=google.com; s=arc-20160816; b=ILnGFY6TJGD5r5QV8AMtIBf/gTbIwpsFYCGTFyY4Gk2IVRrMk/bQGE16XweQBnR8ac LBDmOA4+KXSQqWYN+xn44g7G/gEq9vQk+yBjGtV0wuud0kMSTfKnnVVxTJxcV+5J8AzA wctALu5ihtVaoj0iLU9CXEMb/L0gs3jIT1CasyemjhvAWhrYkxjMlIHOLNVjZ2XF5j2V /RE1aFY83PLrk8asAkajipCNpAAcKO9cQf+qk1lOL87Fn/Ad6COgnXDAF0A+180AhxZJ kzrlPsegEUc2fHL0hjz6PEag11rO/chfeApQUNmx+paZy0U8lHm5PgxHahUNh3KRx8Ra 4Lgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=CRlM6H0LUK2VWw79PmFDlAoLQeq4YwUzY95hAqpjs7Q=; b=T3OdB6Tzq0V8YJ4XJ1IPD0gcD7FTTag8gzp5x0L+5Amhy0lqt8/cT1Crr68VPvzE1I HBk2g38xQQgIKuyzd3fXfXSGc6+2APxwTG0QAc2O5GwevvSWMS2fJ9d2BX38KWqpWH7K KZPSI7Y+c8WzW0lBO4rb6ds/HLhNVZDFB8pBRHYYxmgQA1/eMwoBIkDy73DYvEPaTz0L R6t41hQ/PZ5Oxz/pRtB8/jC9qRDZbTlnRLhAWLJ7GxA4d1lS+ZomuHeXzGbVg2T4iIX6 xel5fqlz+nfZoK2eYNulljfXkVWXEZWSE7CPetcmjzLa6XxVQNPU2y7T1EndFs5uRLX9 qVOw== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bitland.com.cn Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y24si2844109eju.659.2020.05.27.20.38.35; Wed, 27 May 2020 20:38:58 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bitland.com.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726921AbgE1Dgg (ORCPT + 99 others); Wed, 27 May 2020 23:36:36 -0400 Received: from smtpbg704.qq.com ([203.205.195.105]:35699 "EHLO smtpproxy21.qq.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726563AbgE1Dgg (ORCPT ); Wed, 27 May 2020 23:36:36 -0400 X-Greylist: delayed 1213 seconds by postgrey-1.27 at vger.kernel.org; Wed, 27 May 2020 23:36:35 EDT X-QQ-mid: bizesmtp18t1590636991tn6x3lor Received: from localhost.localdomain (unknown [119.145.4.99]) by esmtp6.qq.com (ESMTP) with id ; Thu, 28 May 2020 11:36:01 +0800 (CST) X-QQ-SSF: 01400000008000Z0ZM30B00A0000000 X-QQ-FEAT: 3fDsO+rzVm6vxUQZLxLhjvVN3N9mnI50eByOaPlvNNW98meQoerJ388iDn2Sz xqi9KpNqgdcUPOaiG4HtFazoNKR8I6AuRTnrXAlxSKp3GNFWwp/MRRlvO4rRVamgnLrmzjI O79MybbaR2J/XTjlKsN/8J9A5Gy3iQ+a6OBBvs6ckwTevUWjNTimwSWrbc+YHDrz9l8enbx wil8DbkYIzGQn5ESAZdQtKFLzwyBdthmHOs8/W72BoDWfvdxxMgbhU2uh1CTC2NjUP+tJt9 MCo2wu/FvFNuZT0hmU/sHlI/BGK9kuMGcQx/+POu5Uv3yW9bFvbGr2yd6S+0XmiqONLFIxj 5h7n1R7UuLWG4Q+ZKg= X-QQ-GoodBg: 2 From: wuxy@bitland.com.cn To: tudor.ambarus@microchip.com, miquel.raynal@bootlin.com, linux-kernel@vger.kernel.org, drinkcat@chromium.org, linux-mtd@lists.infradead.org, stlin2@winbond.com, vigneshr@ti.com Cc: wuxy Subject: [PATCH] [v3]mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDs Date: Thu, 28 May 2020 11:36:00 +0800 Message-Id: <20200528033600.26105-1-wuxy@bitland.com.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:bitland.com.cn:qybgforeign:qybgforeign5 X-QQ-Bgrelay: 1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: wuxy Winbond has new 1.8V SPI NOR Flash IDs,we need to use the SPI flash IDs in kukui series,this patch can support the new flash IDs. Signed-off-by: Xingyu Wu Signed-off-by: ST Lin Test-by: Nicolas Boichat --- This patch copied from:https://patchwork.ozlabs.org/patch/1150756/, The original patch is invalid,so re-submit a new patch for this. drivers/mtd/spi-nor/winbond.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c index 17deabad57e1..cda4f8847bd6 100644 --- a/drivers/mtd/spi-nor/winbond.c +++ b/drivers/mtd/spi-nor/winbond.c @@ -61,6 +61,15 @@ 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) }, + { "w25q64jwxxIM", INFO(0xef8017, 0, 64 * 1024, 128, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q128jwxxIM", INFO(0xef8018, 0, 64 * 1024, 256, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "w25q256jwxxIM", INFO(0xef8019, 0, 64 * 1024, 512, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, }; /** -- 2.20.1