From patchwork Fri Apr 2 08:20:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 1461594 X-Patchwork-Delegate: vigneshr@ti.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=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.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=desiato.20200630 header.b=pfp3Zorj; 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=JGW8c8K5; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (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 4FBY1y4nQTz9sWF for ; Fri, 2 Apr 2021 19:22:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; 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=4vijupynJkcGFwZIp8immdUdsOO3uU94k1pRUAx/Pzg=; b=pfp3ZorjUJ+E5rH5XlCj7hTgh nsUpWnMVloFSDBk4GhHS+VxvLeae23AQgHvmF0ZTnNzsYLdIsbl39XvHSJ8Uo0ZwRiEwo3yVSKFzW 6R1iZN2ZETskku4//+lFVuA5krgCgINmN/hHve80at+i2lhfxbB8w5PIrLVZyDTOOI8YI6tA5ibdc yUXmOjLIXNLS7HksNKZN8YsAl92niStJpHuKFtm1t9ZuXbvl3QoOSEcdff3CxKeIE7N7kB1xTpdKn Pg6AOfST62S1WdtKZSUo2RmcXNtKjMdH6TWJhOQsqGstBjMpPcpFED+Aw/63oMqVwGd/2MeE4Oj51 MVkWa+iiw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lSF3G-00CHF9-85; Fri, 02 Apr 2021 08:21:10 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lSF2q-00CHCw-Uv for linux-mtd@lists.infradead.org; Fri, 02 Apr 2021 08:20:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1617351644; x=1648887644; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=QncFSB+LWljPbRHwRx8Zt/TjYzwpLPREbu0zOm5DH+Y=; b=JGW8c8K5ZVWmLHdEQ1oaZbn2Hk1kYe+jMM4w+t+mMNVbBfR8AIvlmiiM CkWUUhxV1EfPNJCg9QbFdhHlg8KvqtXImX2a3SPAUQf+A2u9iII3bj0pE xaVjZDyinLjB2VhLmdUZzIwJ9cPjwFFinVONvkiztoQTmTpMYjEMN2zCy 19Q8oG6Oflc3WxXtlxHeN/8FG0cV4+aOB3XlW2WEnVW++58x7u0qURSvV rXEQ7nDbmxivJval4a3LLAyisIZvfRhaSCywHZCRLl74vZQFJj8gfbHFr ZhGiMfSnO8Fg+raQYnYCvrxD5S4JzQhBUfTCyoSk+0fHkvWgqZ1rVqH7k w==; IronPort-SDR: qy2rfzYP0ay2K8J+9h7F5E0SFJp+QvYjR3vVX0b78B7Cj5ZBD0LskxRl+eqCZnR1IGFtgcdViR reoJsIKqye/tJxRKuUmreKOdrmP2uGwHBaxOKU0q0KmHtoxrAqtAz9JS9SWJQK+QeGoIxTdyAt 78hUi6qXiHSU9+KJWPudlglK5Jj+eN8XE1pSVnbpE2V98VTPRnJp2o84mZSSo33raqGH3Ic7xC 2o2y/0vUUSBn1dRXJCA/aOHuCmjke03L21GpeQYWNw3es+fTqj4zbIY2Y5TWHRTP06rFsfF6Yk knQ= X-IronPort-AV: E=Sophos;i="5.81,299,1610434800"; d="scan'208";a="121543242" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 02 Apr 2021 01:20:44 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Fri, 2 Apr 2021 01:20:43 -0700 Received: from atudor-ThinkPad-T470p.amer.actel.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Fri, 2 Apr 2021 01:20:40 -0700 From: Tudor Ambarus To: , , , , , , CC: , , , , "Tudor Ambarus" Subject: [PATCH 2/2] mtd: spi-nor: macronix: Fix name for mx66l51235f Date: Fri, 2 Apr 2021 11:20:31 +0300 Message-ID: <20210402082031.19055-3-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210402082031.19055-1-tudor.ambarus@microchip.com> References: <20210402082031.19055-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-20210402_092045_472445_C98D94B8 X-CRM114-Status: GOOD ( 12.03 ) X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "desiato.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: According to macronix website, there is no mx66l51235l part number. The chip detected as such is actually mx66l51235f. Rename the flash. Do not update the mx66l51235l name from the spi_nor_dev_ids[], [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -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 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [68.232.153.233 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender 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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -0.0 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 According to macronix website, there is no mx66l51235l part number. The chip detected as such is actually mx66l51235f. Rename the flash. Do not update the mx66l51235l name from the spi_nor_dev_ids[], since there are dt that are using this compatible. Signed-off-by: Tudor Ambarus Reviewed-by: Vignesh Raghavendra --- drivers/mtd/spi-nor/macronix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index 42c2cf31702e..c8167de55e55 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -72,7 +72,7 @@ static const struct flash_info macronix_parts[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, - { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, + { "mx66l51235f", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024,