From patchwork Thu Dec 1 18:15:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Barrett-Morrison X-Patchwork-Id: 28501 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp414412wrr; Thu, 1 Dec 2022 10:17:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf6Ib8VMM9H7x9X2loo+Kxb1QzzS6Pnb0LhRQpXz/5FP7pIH1UqsOynxvxz9w7mw0UMgzCAf X-Received: by 2002:a17:902:c702:b0:189:4bde:53c1 with SMTP id p2-20020a170902c70200b001894bde53c1mr41595611plp.1.1669918674375; Thu, 01 Dec 2022 10:17:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669918674; cv=none; d=google.com; s=arc-20160816; b=gxTZagxnfYPIkpjOorbR1fHIYKxM7iX25UNN2aDJGT9Ifv+Dv00P9tOaLb9NjFFY7N 34R3kNw4/lhlpeBpGz9KXDGrc1NOLrDtX6nZc8+gZOdK4cbIjpqm3eShsnuwVOZBJB2u xHO58pSR0V/mHNSHIRm1PdpoRTDmOKH9lQrwo8pBsQAkmaky1Fgcsimz8tQwlHeBC3gz PaxGNEzBryHI/JrZtDoJF/WVUrUJpcmU65Q052Dy0Sjc385TE8DndASaWkk7KSdDn9l+ faEuIpQ1zlTbaXJVSOI+1yfXS8rVWg4zLSzc4OFY9yRGAt6JJ7cQXbIOjnnZaqC9Dgsn /cDg== 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=pANXxsT6s2u79mRoyA7VZ+6E4AhguQU1FVPz7KDrpYU=; b=SdLvVFHZSlIfa6enDKK6Uw2lMaIWQT6rXNZEzJBjyeT/wI5zVterQpTj3V2HVH9YaL /tOi35wQECnQc7of8vwwfIeZMyRvZhS0+NS4hU5l9c9CK7vINAp1eviP4PlJw6pWd0VB P9DiBK4o8j3QVlI95CCM+p0IODIyo2lnFaJK99HcZL9Vnyef6u1gayfj0fac4loTJUye shFnRcBF1do4KuNSVokWs0aRLpY+d5G9KoGJOcUPDyzF+/ntwnR/JJGmSmA0zVNpzuGz CgUL8FEGmDUnAffoL3ZGszYM9WWSjYdDiedwC/DgTD5olBCcvAIaXqnpvNo6u8G7t4wg 6ung== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@timesys-com.20210112.gappssmtp.com header.s=20210112 header.b=olNGjVti; 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 u2-20020a17090282c200b00189b279b8d3si2477986plz.45.2022.12.01.10.17.38; Thu, 01 Dec 2022 10:17:54 -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=olNGjVti; 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 S231295AbiLASQV (ORCPT + 99 others); Thu, 1 Dec 2022 13:16:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230479AbiLASPx (ORCPT ); Thu, 1 Dec 2022 13:15:53 -0500 Received: from mail-qv1-xf32.google.com (mail-qv1-xf32.google.com [IPv6:2607:f8b0:4864:20::f32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D093EBC3 for ; Thu, 1 Dec 2022 10:15:48 -0800 (PST) Received: by mail-qv1-xf32.google.com with SMTP id h10so1880670qvq.7 for ; Thu, 01 Dec 2022 10:15:48 -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=pANXxsT6s2u79mRoyA7VZ+6E4AhguQU1FVPz7KDrpYU=; b=olNGjVtiPLiNntuyZnuyzwmHYLt0s6oLYFu/0V27voBfVPFapu9jXckEHeCKR8FL3B T2tfD4Ozdrh9kaT2P6X7hneUOM4QlKxfnz3VBQsSqtm04pjqyRWRgnHTpZjROk58R6d5 BHPB9C6rM3xRNba5hfBIZvA1IfroUnyUyVe7iJzzr4sRC3hz3F3JHUX9gLS++kt3yrH6 KeU8Ba7vuSJWe8YWokOB9+aLE6s4wRJAzo3CeAej4s4SJH9HLTTSccuYczyriCmH66gj F5pP+VgbuVupiWARmQLGS2z3iKJh+LucWtVNr7bPUKGq+Sz+fxiQ+suLaF2MyDSwmmOg T/ww== 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=pANXxsT6s2u79mRoyA7VZ+6E4AhguQU1FVPz7KDrpYU=; b=Mk5K6vTFMMms0zlZknsirwqXIgTAmhluuSgQReETsKGKgxf/JWRU9vD4Pau63rMbBl GxMy16uke+cbZRfjferLG69olK1l0bdvO6y+v9CfHHQ7tEmbDaU8a7zYcJjiu/o9x71Z iV+BfoWxqCpL/0CnCNW/+3AVajr+YU+j2BgYHMzxRRMZ0Dv9cJGVlfNahL7jAiANn+3/ KAP365edrda6xVjSlpCit35lCZyiYc6A1GQNCb9zgapr3WHuuITQeG5GAMfAOqoYkphG 4MH1tJxlNDMQoot3lytFR85sH2coosacENHfzSZJART2KrL0KVGxcnc/QTf6ZOLzNZMh JlNQ== X-Gm-Message-State: ANoB5plCBDjGQ1gm5a3Z34F9dujyj2Tf5Kr7GqLuTtXMDcUiqO+UkPnv MHQ/a5a8ISF5ePkomzDb4fBjYOlcksmSU+Cd X-Received: by 2002:a05:6214:5ec1:b0:4b8:2b54:b798 with SMTP id mn1-20020a0562145ec100b004b82b54b798mr43784980qvb.37.1669918547940; Thu, 01 Dec 2022 10:15:47 -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 f12-20020ac8464c000000b003a55fe9f352sm2908912qto.64.2022.12.01.10.15.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 10:15:47 -0800 (PST) From: Nathan Barrett-Morrison Cc: nathan.morrison@timesys.com, greg.malysa@timesys.com, Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org (open list:SPI NOR SUBSYSTEM), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 3/3] mtd: spi-nor: Add support for IS25LX256 operating in 1S-1S-8S mode Date: Thu, 1 Dec 2022 13:15:32 -0500 Message-Id: <20221201181532.255449-4-nathan.morrison@timesys.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221201181532.255449-1-nathan.morrison@timesys.com> References: <20221201181532.255449-1-nathan.morrison@timesys.com> MIME-Version: 1.0 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751036643746756075?= X-GMAIL-MSGID: =?utf-8?q?1751036643746756075?= This adds the IS25LX256 chip into the ISSI flash_info parts table Signed-off-by: Nathan Barrett-Morrison --- drivers/mtd/spi-nor/issi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/spi-nor/issi.c b/drivers/mtd/spi-nor/issi.c index 89a66a19d754..b4412a9afc4e 100644 --- a/drivers/mtd/spi-nor/issi.c +++ b/drivers/mtd/spi-nor/issi.c @@ -74,6 +74,9 @@ 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_PP | SPI_NOR_OCTAL_READ) }, /* PMC */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2)