From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,URIBL_DBL_ABUSE_MALW,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EB33C35249 for ; Sun, 2 Feb 2020 21:57:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0EA922051A for ; Sun, 2 Feb 2020 21:57:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Fn9H6ZqX"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="dKZNTLxh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0EA922051A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=/oeQOCUR3H7PryJqMJXjxY/f7aBXxkeparTVfip1tbQ=; b=Fn9H6ZqXuSi9sdqSMEk7/YHyLV D6MX3f72IMZueKDh3o4bgGlxsyEy83RleSLY0AqEhEscEgjwQGohNNX8uo2DGSZei9Uj9ykmVKIt6 O9R+QEbV37AuTxgvnSZfO2xd1s477wBdiTKNCiJCR4htUJgHXsESQmMJLXuqoOe75st3wnyStCh65 U4IrA3f2dvF10L9MekbkQcgkGUvhpuo2y+oZ1aMP9e+ffT1XoXJ3MRXtDPDRC+McQN3nVKuIQ+Cmj ALyryrQX0DTS7llISHg0HsZ3xlV6hPIt3k1Ei4nPBNKXyP9+/o3/bvrGUb+wW5ABG7Q8myRhRSzKj 5VcC4xEA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iyNFR-0000TH-Ln; Sun, 02 Feb 2020 21:57:45 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iyNF8-00007E-Qy for linux-mtd@lists.infradead.org; Sun, 02 Feb 2020 21:57:28 +0000 Received: by mail-wm1-x341.google.com with SMTP id c84so14796808wme.4 for ; Sun, 02 Feb 2020 13:57:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WK+KzBfTuQqE2Bcx0psUGki6jAtzDkPOrrhY+kNzNrw=; b=dKZNTLxhPUHx6EOOf2Qkeu1Hx1OXdFhIE8zfY9iMPrqzA7GC9AF7HyMkacIAKJNyn5 pg7ZLI5GNyW6/csEq9Gz+1np77n/Kl3ps1iJRUAaG/1pC/xMoJrkP0r6Uc9Yh7W4Rh7b 9aS8GsdEZ3BR3IH8UySnnxkQzdKrLCMPL5a3kBKf7Q8DlYscKgW+zCNiHR6Obc1NeWGb yNO68/2Lhe0qmT95pLQA5MB47/ucTa8S8UkA4l5hAK1SG2XLBa0OAcpEDCqgoa8LCEZ3 2cKz6JPxsHcXTSMTPiCwGVtkVBcnOuLQtRG4uojCimaw8VwXjhtMDV5puH9a67D9zkeG BKyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=WK+KzBfTuQqE2Bcx0psUGki6jAtzDkPOrrhY+kNzNrw=; b=riZ/zMUA15bLfBJDq7bLHW3NtOTJBOZ0s4UcGlBN6ISDPsPFzpqhmwhiiroK7C1g0G HUG6yy0vti4FLwohB36niTinBkYRXbUozAI+SAjCmxX7u3/+mCggoqOxIdALTI59roQO 7vQWXb+kN+YAKde3Rh3pSRJeLcOtmsbrYlBbR37zWgb10m8KAkiahruPFanmiBumN5xE +FcA+pf7PsKgIYXJ864gXkDt5PojRb54y/JrLm7w+IMQTzb8aiB+7ZW3Jf94krFyaZWO 349DSHu5pdQRx0kDPa8Nxb66cv+F7WQVH9SAo+/ByeS/COqRNn2nUzBMIlkrUXDAV6Dx 6V9A== X-Gm-Message-State: APjAAAXb3iKkMK2afYX70Mi23AFlLugKC42pxInkU3evst96IzzmU3UX p+ezbcC2A9dwP/Cr9wESzng= X-Google-Smtp-Source: APXvYqxBmkS8IudXwxttujzOHR5bJgYd2rCSqZHjrQyWQ0VIwRxtZe2qBYweM8fZWEdCESRwkDFR+Q== X-Received: by 2002:a7b:cb97:: with SMTP id m23mr23989468wmi.37.1580680642746; Sun, 02 Feb 2020 13:57:22 -0800 (PST) Received: from opensdev.fritz.box (business-178-015-117-054.static.arcor-ip.net. [178.15.117.54]) by smtp.gmail.com with ESMTPSA id c4sm20612488wml.7.2020.02.02.13.57.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Feb 2020 13:57:22 -0800 (PST) From: shiva.linuxworks@gmail.com X-Google-Original-From: sshivamurthy@micron.com To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Frieder Schrempf , Boris Brezillon , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/5] mtd: spinand: micron: Add new Micron SPI NAND devices Date: Sun, 2 Feb 2020 22:55:05 +0100 Message-Id: <20200202215508.2928-3-sshivamurthy@micron.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200202215508.2928-1-sshivamurthy@micron.com> References: <20200202215508.2928-1-sshivamurthy@micron.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200202_135726_910901_6979AA84 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. 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: , Cc: Shivamurthy Shastri MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org From: Shivamurthy Shastri Add device table for M79A and M78A series Micron SPI NAND devices. Signed-off-by: Shivamurthy Shastri --- drivers/mtd/nand/spi/micron.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand/spi/micron.c index c028d0d7e236..5fd1f921ef12 100644 --- a/drivers/mtd/nand/spi/micron.c +++ b/drivers/mtd/nand/spi/micron.c @@ -91,6 +91,7 @@ static int micron_8_ecc_get_status(struct spinand_device *spinand, } static const struct spinand_info micron_spinand_table[] = { + /* M79A 2Gb 3.3V */ SPINAND_INFO("MT29F2G01ABAGD", 0x24, NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 2, 1, 1), NAND_ECCREQ(8, 512), @@ -100,6 +101,36 @@ static const struct spinand_info micron_spinand_table[] = { 0, SPINAND_ECCINFO(µn_8_ooblayout, micron_8_ecc_get_status)), + /* M79A 2Gb 1.8V */ + SPINAND_INFO("MT29F2G01ABBGD", 0x25, + NAND_MEMORG(1, 2048, 128, 64, 2048, 40, 2, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + 0, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), + /* M78A 1Gb 3.3V */ + SPINAND_INFO("MT29F1G01ABAFD", 0x14, + NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + 0, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), + /* M78A 1Gb 1.8V */ + SPINAND_INFO("MT29F1G01ABAFD", 0x15, + NAND_MEMORG(1, 2048, 128, 64, 1024, 20, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + 0, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), }; static int micron_spinand_detect(struct spinand_device *spinand) -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/