[v2,3/3] mtd: spi-nor: Add support for IS25LX256 operating in 1S-1S-8S octal read mode
Message ID | 20221201193007.261690-4-nathan.morrison@timesys.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp447296wrr; Thu, 1 Dec 2022 11:32:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf6p0QjIBb8L/A8/hKKOyHpAZpo9DY0TPXsX49dsC/4zaBhgmpHN5xDrjtPRF1T8Gy+lDg4/ X-Received: by 2002:a17:906:4cc1:b0:7ae:50c6:fd0a with SMTP id q1-20020a1709064cc100b007ae50c6fd0amr23401442ejt.184.1669923166773; Thu, 01 Dec 2022 11:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669923166; cv=none; d=google.com; s=arc-20160816; b=C/wx6JrsiGjDZAllzEn+iaYRazxPjiDq2LlF6AG0Hlqn4LyTRUZoosNmEk1eEs2mEt 1UuaTOiTLxVdTwM70+ZaIcG3RUzW6T/q7GggcKb0X81u6WpJx8uQ3xKXARsGpKw3EORJ t2wtlVITr9zJu1asFHu60nEAitdR76AQJNHYHCObBVXypeyOqED1/Ht1ySIfTKVuzrvF qdKQodDTWTjJvAt1DUvUsO+ZTcsAv4m3NoO0aavjGbCV8MrmJQgzMDmWimEjG8u4fS8r /vzUBZbaIx3ig1nB5QrHVCSTlL5sbmgKCx+cQxOh/dZDi5uRbYH6YTMnoP59CF/rLnwn sXqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=8qZZ/bmZwEI9aDSPcyDyAicp7ItEQHVjMS3j20zf9fQ=; b=MoNXPzsOMor+ARpwfjEyk+504UQL5Kpm0xo+2vcjbRdm5p8Fv21O+1BR2bfOoLvrSH fMMck/1OnzgL7zWMNpED99OP/wo44UCGigNdAE0JYbHMQqbtgtDARxI9Fcl4bhb4PaON kZc0GFJIOsuzOWZBFhORM+WxuwJDTZGVvMgql9qKFHIEzKKDU6iojo+craBzMOrUjTnj RpTH/dCs/plxUSrjL4fZ2jxOysrm9kOLC26Rcv47t18DVoJhX2M4uk8MUqiMyqS3U38N 0gfSoDzlZ33dwKGqIUmpKIUZAPIdm2bgOb1Y/Bv3fT5RfSAggXkHkxtHaQoKgszkSPcR ZcCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@timesys-com.20210112.gappssmtp.com header.s=20210112 header.b=aLynhYNy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z14-20020a05640240ce00b0044615ee1b6fsi5106772edb.218.2022.12.01.11.32.23; Thu, 01 Dec 2022 11:32:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@timesys-com.20210112.gappssmtp.com header.s=20210112 header.b=aLynhYNy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231220AbiLATbB (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Thu, 1 Dec 2022 14:31:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230445AbiLATae (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Dec 2022 14:30:34 -0500 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02D86C8D2D for <linux-kernel@vger.kernel.org>; Thu, 1 Dec 2022 11:30:21 -0800 (PST) Received: by mail-qt1-x82d.google.com with SMTP id h16so2208028qtu.2 for <linux-kernel@vger.kernel.org>; Thu, 01 Dec 2022 11:30:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timesys-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8qZZ/bmZwEI9aDSPcyDyAicp7ItEQHVjMS3j20zf9fQ=; b=aLynhYNyioy+NfHU2wZDQeTHz+lUZ8ovDqQOsYmMrvKUArjXnpnIGeVFpkjV+GMIrF z7kQV8oVgUb5/y4/fYUBu9KgERLHJyOPBDzfFVX3GSLCIyT0B9++txvs8jEtstB9R5nI 714uIkH7csYI/PaSVEqz2yFf2CSRfTG4dhZvA2hlZEmvEe7MHGpvMR1LZ/oZs02tJ4Sw zztIViIYrrMentHreQwZgasrF28zBZ/Mx3+yKT1UdX7d6WMvhf2cH7v2R7iuAfJHq8Mp U7xTPPsII92xfyyyBw9EyuEjjpiow2qQzq4Pr1LPGb4xB9Fb0I1u4ZC1zKQXi13RTug8 hdcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8qZZ/bmZwEI9aDSPcyDyAicp7ItEQHVjMS3j20zf9fQ=; b=KhpjNdJ+V2qjx3ycILTsAcY2UxxGcLSKB3weEWMUyzKW1so7mNkpALWKPmcG2hhJ0Y GcGn6UyFd4r/qqlJ+vfX91c2Yp2Hk/bLY2ejmR2AO1/qaEhNWo+RS9VnSTaM4z5HkwZG oAhRWnHzR4HwJUNX64axZe90XdoQUB5mx3O/KaDXLWQ9UXnbWV+lkN8n+rRhYYfOzcJd AD9cexLKrUbUYACgDkgiszgZrFg5RCtFPuVaJE/Kr827KKsMOaH7vL9XzwZoZ9XzNXv4 bcMezol4wLKa/6ORHpaCYV9GAcYUCNJSGif4U2Rgn51+6cN94PNXhhc0foohgH8XQIAi m9hg== X-Gm-Message-State: ANoB5pn9PihPH9GAS0eJuza+41fzQyYRkPYRjMn5Qq3u0HsGHvX5Ev04 G+bIBciKPuJzjTtya6305Zog1Q== X-Received: by 2002:a05:622a:40cb:b0:3a5:7e65:ddeb with SMTP id ch11-20020a05622a40cb00b003a57e65ddebmr44639337qtb.424.1669923020093; Thu, 01 Dec 2022 11:30:20 -0800 (PST) Received: from nathan-ideapad.. (d-75-76-18-234.oh.cpe.breezeline.net. [75.76.18.234]) by smtp.gmail.com with ESMTPSA id h19-20020ac85153000000b003a6328ee7acsm2977748qtn.87.2022.12.01.11.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 11:30:19 -0800 (PST) From: Nathan Barrett-Morrison <nathan.morrison@timesys.com> Cc: nathan.morrison@timesys.com, greg.malysa@timesys.com, Tudor Ambarus <tudor.ambarus@microchip.com>, Pratyush Yadav <pratyush@kernel.org>, Michael Walle <michael@walle.cc>, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, linux-mtd@lists.infradead.org (open list:SPI NOR SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2 3/3] mtd: spi-nor: Add support for IS25LX256 operating in 1S-1S-8S octal read mode Date: Thu, 1 Dec 2022 14:30:06 -0500 Message-Id: <20221201193007.261690-4-nathan.morrison@timesys.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221201193007.261690-1-nathan.morrison@timesys.com> References: <20221201193007.261690-1-nathan.morrison@timesys.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751041354674297322?= X-GMAIL-MSGID: =?utf-8?q?1751041354674297322?= |
Series |
mtd: spi-nor: Extend SFDP to support additional octal modes as per latest JEDEC standard
|
|
Commit Message
Nathan Barrett-Morrison
Dec. 1, 2022, 7:30 p.m. UTC
This adds the IS25LX256 chip into the ISSI flash_info parts table
Signed-off-by: Nathan Barrett-Morrison <nathan.morrison@timesys.com>
---
drivers/mtd/spi-nor/issi.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi-nor/issi.c b/drivers/mtd/spi-nor/issi.c index 89a66a19d754..f00f1e621d84 100644 --- a/drivers/mtd/spi-nor/issi.c +++ b/drivers/mtd/spi-nor/issi.c @@ -74,6 +74,8 @@ static const struct flash_info issi_nor_parts[] = { NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) FIXUP_FLAGS(SPI_NOR_4B_OPCODES) .fixups = &is25lp256_fixups }, + { "is25lx256", INFO(0x9d5a19, 0, 128 * 1024, 256) + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_4B_OPCODES | SPI_NOR_OCTAL_READ) }, /* PMC */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2)