Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp795498ybh; Wed, 11 Mar 2020 11:00:17 -0700 (PDT) X-Google-Smtp-Source: ADFU+vts+8awlPG0mYQJmnSqkojzCAf0JIUVwJcqPKR/sx31ihGHdBYll1g3nyZ0R0UMqm3SHm3n X-Received: by 2002:aca:c6d1:: with SMTP id w200mr2674330oif.43.1583949617280; Wed, 11 Mar 2020 11:00:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583949617; cv=none; d=google.com; s=arc-20160816; b=Y4PgDM4kf2Hh3SNmDLDY46/SJLVWeZtxZYfTZ7KmHyov9Dn/REeSazcOrYM1jiLUyZ YHrf9BglEABc3jsRerI6gAiOVqlx8Dh+PYASeJsy2EbLdZTYmip/JjvvEMEeN7IuRuGA S5HC3lk/1PKgC87VRzui+S8GGwZxCwNN4DuABnTHoBczltQ15F8xFemgrW0K2KpA7yyE MiEv9Al4X+qg6QilBChU8hVhl7318BFYFhGfFYMEEsy0RQkxLdjGv50Fd2UqXwCubqlH K0+HNOO+xOcmzjLy+syac++hbR2KpoOQiU6gFT1i9frTxpIEDhX5vqUTiLo0AwpKvUeW wbCg== 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:dkim-signature; bh=v2t+NVS/HW3PqacteoPv2Uzni2FFv9fx2gNtRXkNHUs=; b=0jCJCidUVOkZbGbVORsEJFzQPPehqsrUq24Cgdxv+xEUjLDYjqaYkzCrmR4j1DuR49 Q/5BdzA7Tyia12lZoGelAq1MV6TlNdB1sEhaAc4sKAtC6PTg/1gp5o7Lzut1/l3Pf4Vk 0VnUDay4hTUaaA5C1G2XXSrWT6h32C15NBnEokc4zJ7Uuf1emNXZuCuKwA3CwJxvY4ag T5ARCRnE1PhYaO22A0RP5sSjUoeD5EhVq9BhKJzA/uAxuEau8r30uQ4SKg/0aS4Er7xO jGcWnE50aRy3qWMbEoICy1hlqEBacpCNPPQIXxmJiXWCFL/T8yhg40LSqWU6UzpJfk0e ROQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BAO4BawG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k24si1763779otf.213.2020.03.11.11.00.05; Wed, 11 Mar 2020 11:00:17 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BAO4BawG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730729AbgCKR7H (ORCPT + 99 others); Wed, 11 Mar 2020 13:59:07 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35086 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730684AbgCKR65 (ORCPT ); Wed, 11 Mar 2020 13:58:57 -0400 Received: by mail-wm1-f67.google.com with SMTP id m3so3161580wmi.0 for ; Wed, 11 Mar 2020 10:58:54 -0700 (PDT) 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=v2t+NVS/HW3PqacteoPv2Uzni2FFv9fx2gNtRXkNHUs=; b=BAO4BawGO6hw5QFFqCXXUkbiYmVYtXOIkqe/830SqK2Vb2fA69VvA0KnCugBkp7FvU 5CA0eXj9DP7zARLhqjCnenxIrBdw+yCTkpNisvQxJplQodfY9q91NArnWlImilJ1fXpR 2C/cKupvLR7rdAy5xIPintmLY6Hnhq+zyGbVSL5a2OC0xlNXcvODEim2hLYyhSFpbhHv JZovjsVpd/ijwgdxCClLYQcr7X0Im9fns3NsEbkMnmwtQg3ggcaQxsJ+saosb4xD7l+2 Fgt/HcTTpIH4PRAInlg7KLEpzAvoAzpXP7ICLCb9+sM3p0jF+KkDbHBRxowWtcRfN7k3 RFAw== 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=v2t+NVS/HW3PqacteoPv2Uzni2FFv9fx2gNtRXkNHUs=; b=ImRTLHhgn+FhjwPfBDXAqpCTfL1HfBhgNEtZj442hr0QHDkI11ZZLodIH6iOvDCR7T 45P5guU+7Y5g4trj6mn257KUnuujFaI3n0jQX/Rhm0IV1HKUz/VDiqiNAgw1laTDunTS 3lI+qkw2T3rGOVRCAvP12sQJ1wltlrs9pKDDMQG1VT/JfcxwQ8yrhKtD0vt1oj709Fyd g4ErXmg7lLn6wopVb1wpCtcv3MaM3hmtLaJwOro7s0CvXO/hpIStY3aIMKlCrqqLosFI zOAAfZ6w0oEJk6DH+h9GPt5E7SdJa35wLII9Vyg9J2gDLPM2+0E38vUyrp/T89UeRIR3 2nGQ== X-Gm-Message-State: ANhLgQ0f6reNNjKmagNyrksD8O+Od4Jcq6hZKirFCZevbRcw5sTCi6y6 y9kFMonzHPSsYbhukMRqTfk= X-Received: by 2002:a1c:5fc5:: with SMTP id t188mr2163818wmb.110.1583949534123; Wed, 11 Mar 2020 10:58:54 -0700 (PDT) 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 l18sm1502107wrr.17.2020.03.11.10.58.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Mar 2020 10:58:53 -0700 (PDT) From: shiva.linuxworks@gmail.com X-Google-Original-From: sshivamurthy@micron.com To: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Boris Brezillon , Chuanhong Guo , Frieder Schrempf , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Shivamurthy Shastri Subject: [PATCH v7 5/6] mtd: spinand: micron: Add M70A series Micron SPI NAND devices Date: Wed, 11 Mar 2020 18:57:34 +0100 Message-Id: <20200311175735.2007-6-sshivamurthy@micron.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200311175735.2007-1-sshivamurthy@micron.com> References: <20200311175735.2007-1-sshivamurthy@micron.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shivamurthy Shastri Add device table for M70A series Micron SPI NAND devices. Signed-off-by: Shivamurthy Shastri Reviewed-by: Boris Brezillon --- drivers/mtd/nand/spi/micron.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/drivers/mtd/nand/spi/micron.c b/drivers/mtd/nand/spi/micron.c index 956f7710aca2..d6fd63008782 100644 --- a/drivers/mtd/nand/spi/micron.c +++ b/drivers/mtd/nand/spi/micron.c @@ -137,6 +137,28 @@ static const struct spinand_info micron_spinand_table[] = { 0, SPINAND_ECCINFO(µn_8_ooblayout, micron_8_ecc_get_status)), + /* M70A 4Gb 3.3V */ + SPINAND_INFO("MT29F4G01ABAFD", + SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x34), + NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + SPINAND_HAS_CR_FEAT_BIT, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), + /* M70A 4Gb 1.8V */ + SPINAND_INFO("MT29F4G01ABBFD", + SPINAND_ID(SPINAND_READID_METHOD_OPCODE_DUMMY, 0x35), + NAND_MEMORG(1, 4096, 256, 64, 2048, 40, 1, 1, 1), + NAND_ECCREQ(8, 512), + SPINAND_INFO_OP_VARIANTS(&read_cache_variants, + &write_cache_variants, + &update_cache_variants), + SPINAND_HAS_CR_FEAT_BIT, + SPINAND_ECCINFO(µn_8_ooblayout, + micron_8_ecc_get_status)), }; static int micron_spinand_init(struct spinand_device *spinand) -- 2.17.1