From patchwork Wed Aug 21 09:36:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steam Lin X-Patchwork-Id: 1150756 X-Patchwork-Delegate: tudor.ambarus@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=winbond.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CzJs6W5L"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46D2cg00ZCz9sML for ; Wed, 21 Aug 2019 19:37:06 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=XMsNrxjaqiZZhXoFw8IUvSvp8x2UzerakQZqeKMr91c=; b=CzJs6W5LC0h0aT mNrmnnxvh/Ph8HDVWb7aus7jVt+wEgXcAhRWW+BSBmZWnrCl+1SaPVJEOykhCJuyP6jjJno8gXbK0 3Qc3hRPN0hxTym9fZBL/0Um5xjaugGxcmnZaJsf7fHXKnLLt8m9eQz9ES4FutoJWhY/41GMCEv2yI l3mRgo39b2MBJyip9RZE41MDsNQsmbVmDRGc8Hh7Y/lHY3x2wWmYN/owKhZfpAyum/K9+VjlGty0f /1PXAIHwxrJm/zBqV2iC7BlMZfOUZTe+7yHIxisicvqQAWhM36fRgigjE4trJEOh9jLaRwQnsOCXz XRw3V6wNfJBB2ep6aZEQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0N32-0004AS-5D; Wed, 21 Aug 2019 09:36:57 +0000 Received: from wehq.winbond.com.tw ([202.39.229.15] helo=wehq.winbond.com) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0N2g-00041O-LL for linux-mtd@lists.infradead.org; Wed, 21 Aug 2019 09:36:39 +0000 Received: from mail.winbond.com (wectims01.winbond.com [10.6.10.125]) by wehq.winbond.com (Postfix) with ESMTP id 43799342437 for ; Wed, 21 Aug 2019 17:36:11 +0800 (CST) From: Shih-Ting Lin To: linux-mtd Subject: [PATCH] mtd: add New Winbond 1.8V SPI NOR Flash ID information Thread-Topic: [PATCH] mtd: add New Winbond 1.8V SPI NOR Flash ID information Thread-Index: AdVYA3tR3SyC8gYxREuJWVzqsX6LyQ== Date: Wed, 21 Aug 2019 09:36:10 +0000 Message-ID: <67270bd6ccfa48d9aa484a11cae9b91c@wectmlbox04.winbond.com.tw> Accept-Language: zh-TW, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.8.59.146] MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190821_023635_318549_26884E96 X-CRM114-Status: UNSURE ( 3.83 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [202.39.229.15 listed in list.dnswl.org] 0.0 T_SPF_PERMERROR SPF: test of record failed (permerror) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Winbond SPI NOR Flash have new product for 1.8V production line. Following is the patch add new device ID and part number information in spi-nor.c file. Signed-off-by: ST Lin --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -2153,6 +2153,22 @@ { "w25q256", INFO(0xef4019, 0, 64 * 1024, 512, 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) +}, /* Catalyst / On Semiconductor -- non-JEDEC */ { "cat25c11", CAT25_INFO( 16, 8, 16, 1, SPI_NOR_NO_ERASE | SPI_NOR_NO_FR) },