Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1591698ybz; Thu, 23 Apr 2020 01:41:29 -0700 (PDT) X-Google-Smtp-Source: APiQypJxq4pAzqVr5zMcXvIwQ+f/1sh/yAxOIHoTcLRclxIWTtJos2HmW6h0Kft0LfFbcIJ49nWC X-Received: by 2002:a17:906:e01:: with SMTP id l1mr1710353eji.76.1587631289229; Thu, 23 Apr 2020 01:41:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587631289; cv=none; d=google.com; s=arc-20160816; b=WdpO8rCJcxAe2PtENU9dLgWtgzc4rBO1npwWV2jxbtl1dn6B9DbOahqLOs3cvHjwDV cnLDLcI1L0AZI3zqbCKMnBRzfaZjTS2mWXMtGvAcXKqvDiSFRtvQFO2VwCpcIIG/Fj/B D/cWysYehBH8gomfzV9o4c2EdEyuHrcy0+dhrrUFShynDbXdZyhWD3ftrV9jQpNFo8Ui i8Qeyf+R51asdvYSQA5mWmLS5lpQGU8M3jx34YS24vDlcrK0j0QDyBXgYQHDFb/xrjHC Ys7HwT1ldSXUnx9NHuqH7lW/qAlgug/D4CfS7vBkqK61zCn8YLMH4nzbRPfQ57mcvrlb wOkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=cxnvJ6VFZu0g6as1ohct9G5wsUqcV41PIEEb5zgkNis=; b=j4D0ICqlO13h/ivhsXCRWDIkz9m//MOvGR2j8/VOJKKwL8KeUQkSglu+kKEDE/kx45 UJ8AqIZk5OZof3KPy/E2Z4ijF4KwouJaKdu7p5LbyAizn6J1Fca+0yGf2IP2Nwc306qe XOtCOxZlAWB7ERmhBSHEWyUMatmyb8/2OLozpuqrEcQgx5fOdplKqaBjkfvdh29N8t7N QXuFl9dMDSqkwRYRtoUqIRPuKI+1gHkfpwYzCzVnRyHC2+YKTOpKKGPLwiu2zVTInlWj oy4SUm9i3AxIrQ0UnU9ERVP04rubp92s3gc9Noll9dWXer122dV6twU7j66PfOc01GAv KsXA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i8si845978edy.253.2020.04.23.01.41.06; Thu, 23 Apr 2020 01:41:29 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726695AbgDWIjD (ORCPT + 99 others); Thu, 23 Apr 2020 04:39:03 -0400 Received: from twhmllg3.macronix.com ([122.147.135.201]:54839 "EHLO TWHMLLG3.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725854AbgDWIjC (ORCPT ); Thu, 23 Apr 2020 04:39:02 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG3.macronix.com with ESMTP id 03N8ck1p034673; Thu, 23 Apr 2020 16:38:48 +0800 (GMT-8) (envelope-from masonccyang@mxic.com.tw) From: Mason Yang To: tudor.ambarus@microchip.com, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com Cc: juliensu@mxic.com.tw, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Mason Yang Subject: [PATCH v2 2/2] mtd: spi-nor: macronix: Add support for mx25u51245g Date: Thu, 23 Apr 2020 16:38:43 +0800 Message-Id: <1587631123-25474-3-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1587631123-25474-1-git-send-email-masonccyang@mxic.com.tw> References: <1587631123-25474-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG3.macronix.com 03N8ck1p034673 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mx25u51245g is a mass production for new design and replace mx66u51235f(phase out). Validated by read, erase, read back, write and read back on Xilinx Zynq PicoZed FPGA board which included Macronix SPI Host (driver/spi/spi-mxic.c). Signed-off-by: Mason Yang --- drivers/mtd/spi-nor/macronix.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/macronix.c b/drivers/mtd/spi-nor/macronix.c index c864ac8..e685aec 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -73,6 +73,9 @@ { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, + { "mx25u51245g", INFO(0xc2253a, 0, 64 * 1024, 1024, + SECT_4K | SPI_NOR_DUAL_READ | + SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, { "mx66u51235f", INFO(0xc2253a, 0, 64 * 1024, 1024, SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, -- 1.9.1