Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp648439ybz; Wed, 15 Apr 2020 15:55:48 -0700 (PDT) X-Google-Smtp-Source: APiQypIIxgQN18CnQIzrgaMqFAherYGgbFa9ahGiAjdlDkVq7QyfkX1UEAgVUqAM6xOWa5+Dx/sX X-Received: by 2002:a05:6402:1bd0:: with SMTP id ch16mr12970625edb.252.1586991348693; Wed, 15 Apr 2020 15:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586991348; cv=none; d=google.com; s=arc-20160816; b=IkAjU//yEENalFQag1SBouQxP2WgmrqdW7ch9yG5qc8FiCCtOIOF69AXFN9oso0Xmx Qa0njzG3eNmIb8ZUVul2ze4RFARdViW9VXemnyEOwGB5hpyJYH5OfvlGNgRIvFwJ3sfB tqrNiXaKBjvLROugc4Kyx8P+BF+cr+uf7bAQjeDr3l4DKZ2IUn5aBpyu+89CT/9komL1 ZTY/U1kIpzMhfQP5KGzI0CAQRmFDmRrvpQY/Jcxwe0eiiEY3IKFJw57lT4w8XBrfEJYF wjQcH38N/oKOlkGH4Doxj3ztPxMlDp9nk0NTOgwINxafYTYC6x8DugWyyDcP4aZA0sTm WMTQ== 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=E5YsfMoQWT7R3i5aLSOt8ke0Tpewo6m/Afci019MEzw=; b=Z2sp836npd0RngW0cMJBRsCMISp9l6sZmEA0gFWGkpVS71v9WIyp5q5Rf8ceqVl6/H BZALgDj19XiDASey0aUDPW/MqCPU5wt9DzIsAMZHEO6lcOdg95y3KcZcjkDTtuQuY3ry WhfA+LV7IJBtbzd98aUzOrHkZrOcuXryHwL2spH5DtxMJq2/oU7KH5FJQfAtJkgpWQvS 4E6EKTxboatMlpuhuvTDaZRIc8BBpRRWQkc/QfN60V4AzCA97rAUgaq48q5P3J5GxzlT RPxI0+xDl5Ql4kiZIDKJqGMDMznxpwUCtZs/lWP/rxIdmM/hd+Oj/fC1irCV+TSNcfHa qzlA== 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 34si3966824edc.238.2020.04.15.15.55.25; Wed, 15 Apr 2020 15:55:48 -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 S2896192AbgDOKID (ORCPT + 99 others); Wed, 15 Apr 2020 06:08:03 -0400 Received: from smtpbgsg2.qq.com ([54.254.200.128]:52673 "EHLO smtpbgsg2.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2896152AbgDOKHf (ORCPT ); Wed, 15 Apr 2020 06:07:35 -0400 X-QQ-mid: bizesmtp17t1586945230twufz7zk Received: from localhost.localdomain (unknown [183.62.170.245]) by esmtp6.qq.com (ESMTP) with id ; Wed, 15 Apr 2020 18:06:49 +0800 (CST) X-QQ-SSF: 01400000008000Z0ZM30000A0000000 X-QQ-FEAT: ChTsRoALjQBfGj9zU5LZU0Z8J70ngs1Dqbnbxv1X3e7fotTsF3nzzaSKVq54f 1XyB4APyvSgejfGKeQjgAWxsrnZt7ckPVQ72hoAuYEL61aHZqGSQGh34giikNa3uZ3WEET1 0ROhL8McFjYDzzzrzKL/eJHEbLVJnUPh5Vt559JDIOXIdSRP8m9rmu/dP5mqrGR6IcH7dwP nb7POpp+TCWw3agJgQF1SXpaUmV8zAPrxuZL+6GKNSqwAScdSG+ejRUb3EQn5MAo/C8BN/v H6h9AaA52DQG9nLLijKSb8QEexOI94URw+dnuHhZXKKyf1PLbILM++Ex/qfWHNapYh/ME3J UeIpRa5r5bTQ4pOzoI= X-QQ-GoodBg: 2 From: wuxy@bitland.com.cn To: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: wuxy@bitland.com.cn, wuxy Subject: [PATCH] mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDs Date: Wed, 15 Apr 2020 18:06:46 +0800 Message-Id: <20200415100646.26015-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:qybgforeign6 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 ID in kukui series,this patch can support the new flash IDs. TEST=boot to shell,get the spi information from 'dmesg'. Signed-off-by: Xingyu Wu --- drivers/mtd/spi-nor/winbond.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/mtd/spi-nor/winbond.c b/drivers/mtd/spi-nor/winbond.c index 17deabad57e1..1ec518d9b78d 100644 --- a/drivers/mtd/spi-nor/winbond.c +++ b/drivers/mtd/spi-nor/winbond.c @@ -61,6 +61,18 @@ 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) }, + { "w25q32jwxxIM", INFO(0xef8016, 0, 64 * 1024, 64, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + { "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