Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3101981ybb; Mon, 6 Apr 2020 02:02:37 -0700 (PDT) X-Google-Smtp-Source: APiQypIAD1kjuBNj+idwZRg3fOzHNLuf0Nj+2mNf34RC3zFiNzNzCzIj49o5pF+2yCq+YdfCiq3m X-Received: by 2002:a9d:7488:: with SMTP id t8mr16224798otk.219.1586163757090; Mon, 06 Apr 2020 02:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586163757; cv=none; d=google.com; s=arc-20160816; b=HMJTf3Vuhm8Fd6bgBG+7cJOK3byd/uIgIpOszmsXusWpxur5Y8GlUFn/QF30z3Dw0x //qeuyMvQ0o9BrsDzEUnEx2sx5kfnxRGIrtshC5valHhbAH/z49krzN6jKNR/7JPV02T YJ5Un46C0su2YPhtZCQK0NLWpA6TNzA7c+RVK6wUDcI1d035v+E+vupNyxSdDfHhNJKj 5IcgZpiHC2er2wlsb7+xDd7x8MXss1zWsJYPZYHRIcnH0aSi0S2tXSfK4eWKSGXbxXtV hdEu197oa1mkVl3agf0e9bRUeDYV6LjET5qHoUFxs8WaMY2GFHGUbFTd2dqO5oLApWEY mRkg== 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=qWK6uGimUFjdfdznR1orvOLK9hQzoVlistezcZENt6w=; b=xs/Tl2K06ZV39Odhrv/JgB/FnvJABpVpP2tWwI8iV7FmOb4JHu79SE+MD3KTODnJHQ K9Euwow/rIQVqYIs+LKWU3S+87lmmpfKqFy/5YsLBkTwrQBvTOyor96Jpdaphu/W1d4f n7X14hluYzAL52//pSyluoaiVG/1dNmApjybEe4920ANZx/cW2RqRyLX6s/JOwL1gXys hHw1W9kehm9xI4DPH17xR9M6lArqfLzNPrfM7KRNMnaK26M7UpAUUr/d7twp/b3Vn4++ yWwBTVRhBvVoA7chTtAlfwURqqHGvvWVUZ47eWzYPvTI3tRlGXrukebf4+bNW4jJv41N Ly2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k193si6963636oih.78.2020.04.06.02.02.18; Mon, 06 Apr 2020 02:02:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726689AbgDFJA3 (ORCPT + 99 others); Mon, 6 Apr 2020 05:00:29 -0400 Received: from twhmllg4.macronix.com ([211.75.127.132]:12617 "EHLO TWHMLLG4.macronix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726475AbgDFJA3 (ORCPT ); Mon, 6 Apr 2020 05:00:29 -0400 Received: from localhost.localdomain ([172.17.195.96]) by TWHMLLG4.macronix.com with ESMTP id 03690DJi098593; Mon, 6 Apr 2020 17:00:14 +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 1/2] mtd: spi-nor: macronix: Add mx25l51245g support Date: Mon, 6 Apr 2020 17:00:10 +0800 Message-Id: <1586163611-4565-2-git-send-email-masonccyang@mxic.com.tw> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1586163611-4565-1-git-send-email-masonccyang@mxic.com.tw> References: <1586163611-4565-1-git-send-email-masonccyang@mxic.com.tw> X-MAIL: TWHMLLG4.macronix.com 03690DJi098593 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mx25l51245g is a mass production for new design and replace mx66l51235l(phase out). 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 ab0f963..c864ac8 100644 --- a/drivers/mtd/spi-nor/macronix.c +++ b/drivers/mtd/spi-nor/macronix.c @@ -67,6 +67,9 @@ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "mx25l25655e", INFO(0xc22619, 0, 64 * 1024, 512, 0) }, + { "mx25l51245g", INFO(0xc2201a, 0, 64 * 1024, 1024, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_4B_OPCODES) }, { "mx66l51235l", INFO(0xc2201a, 0, 64 * 1024, 1024, SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | SPI_NOR_4B_OPCODES) }, -- 1.9.1