From patchwork Thu Dec 1 21:27:50 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: 28555 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp494823wrr; Thu, 1 Dec 2022 13:30:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf4PULCg0mH1GulB+xb8zrpJeBcSOsLrzm5TOfdXt40DAyNCdg4xz2Su+CeRl9G6XP4w+Vau X-Received: by 2002:a17:90a:7183:b0:212:ede4:3c19 with SMTP id i3-20020a17090a718300b00212ede43c19mr73731149pjk.151.1669930217720; Thu, 01 Dec 2022 13:30:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669930217; cv=none; d=google.com; s=arc-20160816; b=ZuNlV6nTMfTcKm8nz0LVZTIuQOrOzlSkfZp8IUhZip4AvnpdsirpnfbKLxwZ2Bn+bf cdJWYWt8m5n57Bb4ZfVf7RPlHyYJ6FCB8W4mKDHzaIzbjqaK7nPjCXwBrdAhBEcye8nt Uoe4ddaijwGO82uPtApAnt8O6rAzYnLt/zmbx3XlAynhEVRbKGeDCGCC/c13qW/yWnK2 do8ZXPDqATs5n64HaIeANp+H5CaI1wWO4uHL27J/5++THD1NW05mnR+Zz4/Cc1cYF2H/ zIolWAVOYeD3bVAncBDf4+y7WTTJs1N1uwnm2qXk8TACrmROaY7teEZtORuaZG3XD0bZ lCEw== 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=li+eohcDsrqZE5thNT9n12zEt/TyQONsMqyuNuEAzg4=; b=a1AYgU3Q+dnM9ej1mnWt8oWgw7YBUQYU8mkngdL2m2GBhL2aXx0GDUSBUJZ3F5iDGa 5DZ6EIihqgefO+36EJmwDphg733OnD7g6kO01bCTZg7M1uTNkryYsYX6BHNw23wMw4aQ 2BorEMyi2FR4glQ9AQUW1QTWOgglB0/eXZW+cew+FAYbAViXmgopLEUGik1Hht9UMOTf +mjtwfTk63yPVAqexpLT5W3/pXTAyIf6aaXnlPZIzj0jNR99539OdfhNwbXevVcDt+sL KXYR+8yleNpzTliHJuo0qGXAY4WfQVTtpJHivdoA1CXH1QEhi8gUZSxJR1WNyqpg+7/d SQjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@timesys-com.20210112.gappssmtp.com header.s=20210112 header.b=PjVzQkoE; 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 i1-20020a63d441000000b00476f3facb4csi5456836pgj.221.2022.12.01.13.30.02; Thu, 01 Dec 2022 13:30:17 -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=PjVzQkoE; 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 S231135AbiLAV2H (ORCPT + 99 others); Thu, 1 Dec 2022 16:28:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230506AbiLAV17 (ORCPT ); Thu, 1 Dec 2022 16:27:59 -0500 Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com [IPv6:2607:f8b0:4864:20::829]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 364261FF8E for ; Thu, 1 Dec 2022 13:27:57 -0800 (PST) Received: by mail-qt1-x829.google.com with SMTP id cg5so2649977qtb.12 for ; Thu, 01 Dec 2022 13:27:57 -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=li+eohcDsrqZE5thNT9n12zEt/TyQONsMqyuNuEAzg4=; b=PjVzQkoENto/e487Z27Cxxpm4kMorb2W7vhofH1USRr3gHeMGX7xgxidNv6FvEoRUv K3syUnaPBXdo28aVd+NnOf5D1NiOKyH8lKuIfhKRQLmcZo43RXPp5e/XR2jfPs7Q0/xi 3rYByZ/zu1DikWacoISBNi07ebXBx/H95oysyXr8MDuC9LY3uRncMC8MmVMUWc1dSfSv P4p3im5osoIRnplNXe8WHd8OK4IUSkUMNIlymWtLgPzkJ2SSF4BPiLZ3427ZTZlYAy3O KSZYMaePC29JfVkG93xmOjJ87Bb7ZnmqA8QX1i3xkEBuzwWVK1a2Ks9cpl9IPaDo3gXz ho0g== 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=li+eohcDsrqZE5thNT9n12zEt/TyQONsMqyuNuEAzg4=; b=bidcxclml41YPqlai3pjUjaorWcEGRiHkBq+DXruBupqUEPTZ3zdC+sWpYTHeWKFUm OcW+ViFiIu3GWR9i0DAIsg/3T2f5FX4IqDBkX3prMXYV6OczeNmRPXMoPp0KsphARkVC qbllf5zd7moPQgMwJCp6gBMUMdwc4WoVDUzUka1NMW5ltqI8cZNARYm/wMRshP6sNQgS 2YDP1ChIEk5vMUXsiRbI6QFNi6rymnTqNCNOuXyp0SAoSrBS29Blsy+2yIGU/9x4v7hr TVaafwiAFrcS+wwAHK52/RJSAP653Xtu2NGWV8dd0wLW9xGOVde/uMvmOCiIu+xjYRsj YTLQ== X-Gm-Message-State: ANoB5pnAQ+KzZxkQYOUxVHRGClLHXm7lh21xNKzuqFk2r/8nWMq4ChRB MIDDj0rNtJHUQymrV512wad8lw== X-Received: by 2002:ac8:714a:0:b0:3a6:8aa9:3b85 with SMTP id h10-20020ac8714a000000b003a68aa93b85mr10168073qtp.144.1669930076851; Thu, 01 Dec 2022 13:27:56 -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 l15-20020a37f90f000000b006fc447eebe5sm4071321qkj.27.2022.12.01.13.27.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 13:27:56 -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 v3 3/3] mtd: spi-nor: Add support for IS25LX256 operating in 1S-8S-8S octal read mode Date: Thu, 1 Dec 2022 16:27:50 -0500 Message-Id: <20221201212750.267721-4-nathan.morrison@timesys.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221201212750.267721-1-nathan.morrison@timesys.com> References: <20221201212750.267721-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?1751048747989575459?= X-GMAIL-MSGID: =?utf-8?q?1751048747989575459?= 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..98cc5e1d9c18 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_READ_1_8_8) }, /* PMC */ { "pm25lv512", INFO(0, 0, 32 * 1024, 2)