Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp649215ybz; Wed, 15 Apr 2020 15:56:52 -0700 (PDT) X-Google-Smtp-Source: APiQypJsQvISkAU8AYFFiOv5zdqJDIDt7KbJDWufkdfkKxPfIWmQs1T9sflvICftFdcF7Ba+oNt+ X-Received: by 2002:a05:6402:3135:: with SMTP id dd21mr27282893edb.198.1586991411868; Wed, 15 Apr 2020 15:56:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586991411; cv=none; d=google.com; s=arc-20160816; b=ORdr+QnNEKNc05VvfYN6TCDOFOFETFFTbETkHSSowu9VXanXXOD4atwa6iBKdyKY3P +AhN0Rsr5K9gjRuHMrMVxNHzDYQuu/6+GzHvUx2B3sZtfg4RcdtO4/gkOda5cSWqC5dq TSG7hg0RkoyeH5WmJ4EVqNxH1y+Hy43Wold+LfZGCdNDlnKWryujL7Udf4S37eOQ6xFV mXa4ymY7387ErMtCPsQeu9j/+bc+jEZhcxt/bXn2e9pPpEfDBUui/mID85+rw4WXFwp1 6SXymyhy7MycQkWRnxZDH3gRNiSi6PMlhTSe+qDKieqrPagxW+VpR9Nfvdkv5cfak9WS uzbA== 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=jb0Ft/6+ayZlBb6wHFOqWBhd94Rki6uiVcHZl9TGIXo=; b=iyhBQ73OQW87K4aNQSQLEh6YNyT36CRAFSmBSLFDrGCJzrotkD0x3iYF1Wkl7PDPP6 QKsVZGya/zgJaG9QOxh0JZfcFL68/6d6j1VaHFf0Dkpy0MLFhgIn5fiYv40yFRXU6lJq fZoLQukrIpB91yN0xcL+gYIYQ0SdCw4cWkr/rRm5/ayaEdxQMYa/DW/Fyu5msfwAsGOX M+x8G5McHVDNbFI7A223n2OxJ1wdjLlzU9rJu6g1uTRG+39gmcHeCfVjUoCE1w59ZTFm GG1UVFIc7RyJNF49dS1x6puruozWh0Jl6ZXEmU0drPN++3MB08J5g4YKd5ZyuvpPy9qd ueXQ== 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 cx18si10819281edb.73.2020.04.15.15.56.28; Wed, 15 Apr 2020 15:56:51 -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 S2408543AbgDOKkd (ORCPT + 99 others); Wed, 15 Apr 2020 06:40:33 -0400 Received: from smtpbgau1.qq.com ([54.206.16.166]:34708 "EHLO smtpbgau1.qq.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408541AbgDOKYa (ORCPT ); Wed, 15 Apr 2020 06:24:30 -0400 X-QQ-mid: bizesmtp25t1586946253tzxvjrfv Received: from localhost.localdomain (unknown [183.62.170.245]) by esmtp10.qq.com (ESMTP) with id ; Wed, 15 Apr 2020 18:23:53 +0800 (CST) X-QQ-SSF: 01400000008000Z0ZM30000A0000000 X-QQ-FEAT: HOoxYYcCKFWQ2Z0zDevDSJZyvUV7FL1N/iMRO7LZCDpv0SB1CO9Whqnv5SRzH 52mpts2kk3xHXlKza4iIxB8JDJUFdaM03BIKwrdJp0b0pMwp3qwcX7q1Cu14Us625TFi5ns YXVppADkARbSQN4s/Mwi6SeVAbYqXOWRcUKx00bnFVnwzbwIu1a6EGesz77ZjtaNRD+9z4S WGbJdGTDuEvHa/xlAqWa9E7Ql3bwjpwxdzmvV0EnSOOH0CcKrqaMbeRREckxeziQpp0sPqX EiJ8OnpeAEre8oQgUkGvFzycGlp41KRkpqLBKQLqFUeyzx4GeJ8JjNUETfciZK4Fh0g8n7S Vp5mvtHeliP/qQ/4oVD1fc0X8dCAw== 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] [v2]mtd: spi-nor: winbond: add 1.8v SPI NOR Flash IDs Date: Wed, 15 Apr 2020 18:23:49 +0800 Message-Id: <20200415102349.26836-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:qybgforeign7 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 | 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