From patchwork Fri Jul 2 14:41:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 1500163 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 (no SPF record) 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; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=ng/AM60r; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=MIiKO/wq; 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 4GGdCW3sZtz9sV8 for ; Sat, 3 Jul 2021 00:44:54 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MnNI+egZJzJGf5wHK73d7LQsJFttkWXy1p4iPC9FTd8=; b=ng/AM60rnIoLzg M/ADTm1i2pYga59jZkEpf1o495fo5PyRJm6YWV0YGMPPhoNoyBRpaJ4bEgvJh5EWXreLjjSVIGbkz MioMCi17ZlRQW4w0p/itC4cLr/OY/ARnIULKtuaomgqV/g8Y0oURTnc2Eedn0Ov0izWlUgLFlxq+d 0cXXlqY3GHg/Hr+0YMYLcMEhclQ2QA68swBqarfEnozQ7/EUOGTTPK/xFQsjSwzErdpgR8vXO96uU 3/CLUxQBEiM5tvpN6rfDirgTMcxwOtdA+Q1WMBZix3ImgaemPZoGHU8JXXgJQH3ouUbhZHHuiSnXM /ZZKFT4qQLKxSpdv1JEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lzKOw-003IRf-JY; Fri, 02 Jul 2021 14:44:18 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lzKMZ-003HcN-3K for linux-mtd@lists.infradead.org; Fri, 02 Jul 2021 14:41:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1625236911; x=1656772911; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=F2UAtD8ntgMYYRa7miQJwveO3Z4av6kKZh8pk/C1MR0=; b=MIiKO/wqmOun2+czof+NJQvKukSUYO0mm5ql70vEZZqUtUlvKp3Ljedn KOzNLxLjwTVv34p13TMCmRoGzCMZASHEcqcJc4NYFsmzY+PS7RB98mF/w bVKquEZzf/YFs7b92fI9hb1C3sa8E/+FjJmTV9VREA8fNym6FLcOudanI /kH7+fzgXZYw1Xp4Di4n6w7Tg8fuTv0malYUnowdA5f3VdSQ8co091TTF U+//H+VSKf0/dEiZz92Q6ftktRqUaQNTx1GDmOLhFPG5SntHpHbAhq+5A lZjt7KJg5j+RgwgH+1KsqFMZO/foiAkv6m4miBHkDzrCTw0Umy4xYsUP4 Q==; IronPort-SDR: nDc3FhO0P4bjyRFGSYi0mzcDRuxCRdMWfTMUvuUoo2Tkp4FyRhlKWOhnlNqgBl3kFk9kmo5yg2 5nJs1Pq+ikxzEV9QsrLt3ap4fOZppXgy86WMZ4S/R6R+D70ePmDYlpisKEnblUC4zyYBP1TOA9 o9z6wthHEm5oHaHmkUf9H1907F0f8860ZsetIWzo69HVVHDx2qL7gpnTyEGpthrABBHXWrsKDV K7Vh7NYNuDESiSUE2pxWlzdyNmdUh7kJ2eTndTz371m/OL+XLPwH5jG4VJAsTJqj0TdY8aIeWq qss= X-IronPort-AV: E=Sophos;i="5.83,317,1616482800"; d="scan'208";a="126910369" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Jul 2021 07:41:49 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 2 Jul 2021 07:41:48 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 2 Jul 2021 07:41:44 -0700 From: Tudor Ambarus To: , , , , , , , , , , , CC: , , , , , Tudor Ambarus Subject: [PATCH 7/7] mtd: spi-nor: manuf-id-collisions: Add support for xm25qh64c Date: Fri, 2 Jul 2021 17:41:10 +0300 Message-ID: <20210702144110.250481-8-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210702144110.250481-1-tudor.ambarus@microchip.com> References: <20210702144110.250481-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210702_074151_200378_16EEEB4B X-CRM114-Status: GOOD ( 11.37 ) X-Spam-Score: -2.7 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Do not apply! SFDP needs to be dumped. mw: ''' NB. XMC ignores the continuation codes and this particular device will collide with M25PE64/M45PE64. Although I couldn't find any datasheet, so I don't k [...] Content analysis details: (-2.7 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [68.232.153.233 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.153.233 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 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 Do not apply! SFDP needs to be dumped. mw: ''' NB. XMC ignores the continuation codes and this particular device will collide with M25PE64/M45PE64. Although I couldn't find any datasheet, so I don't know if these devices actually exist. ''' The data sheets can be found here: http://xmcwh.com/Uploads/2020-12-17/XM25QH64C_Ver1.1.pdf Signed-off-by: Tudor Ambarus --- drivers/mtd/spi-nor/manuf-id-collisions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/manuf-id-collisions.c b/drivers/mtd/spi-nor/manuf-id-collisions.c index c473c7d40d09..c41d6e8f2f95 100644 --- a/drivers/mtd/spi-nor/manuf-id-collisions.c +++ b/drivers/mtd/spi-nor/manuf-id-collisions.c @@ -9,6 +9,9 @@ static const struct flash_info id_collision_parts[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) }, + /* XMC (Wuhan Xinxin Semiconductor Manufacturing Corp.) */ + { "xm25qh64c", INFO(0x204017, 0, 64 * 1024, 128, SPI_NOR_PARSE_SFDP) }, + /* XTX (XTX Technology Limited) */ { "xt25f128b", INFO(0x0b4018, 0, 64 * 1024, 256, SPI_NOR_PARSE_SFDP | SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB) },