Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4567595imw; Tue, 12 Jul 2022 10:08:19 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tGt8pPdjgqmE6gN2Ums0jDRoBg3JfpWKdXZPxR04eeNE6U1qgPwK+dvDjXrgKH9/RqStXq X-Received: by 2002:a17:902:e84e:b0:16b:f773:4692 with SMTP id t14-20020a170902e84e00b0016bf7734692mr24295524plg.19.1657645698981; Tue, 12 Jul 2022 10:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657645698; cv=none; d=google.com; s=arc-20160816; b=QPWdRWpyUAbUsyq6dGnU6hnGHB4V2hIfD/V5LKq628eLoYCzkaZom7HwozcIDNTkUT qZXhpVU/ew8oXO0a6RrrkS9TQ6dp6CGjjlu+RjzNuW+e4w00uhT+I2roKJCQMDaFatej OYpZlQqjfuQauBbnY+CuLo77lGr4/mee1xPelxAIPvok194wtF7V84F/mpkTXhBTlsbF 23V7bWvpCo+OkoCJ8JvMlCCKYv2HpGeiuBB6KcfgJbT+aGRq2HN4TewY3CHYPhuoVG2C ewg02Bpmc0qvbq4S5PbQf6q8TPKmsTeb7a/oSDTu5K930j6aJ6eJa3BOcTQuZHJeCHkJ 9EXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=JKhfBSF99cGeRL5/E+3ybugh2cH4mwS43tAxuhC31f0=; b=f2bVnf79D6+nNhzmuuOUYcNK/SAeNRvIdjTpdYM/mxx24ChhrAOsM2kdGkcv8Qz4K1 NvFejDYcTFU3exlL6kU/ae91rCzyRq7rtvzJrf/OasF7QeyKdiKpAAXBc8nem4OWnryk ZWIPVRlmPj5FgfWVZCc4uFc+zhVE7xDW5o1FdmFKYH6RQ7azMG3CsgtEHBqu/LfuSfGk AH1Djt9BQbf68ukzrV7vXpCBxAZo/Hy7WhYbMyn+89O+cjIqwsK+wj+NEqk9xWxToHJo uqoNR6EdFbQjwxIttDnzzI7pM0B66Blr/jupQI95LnfwHXF+o10s8yBg2YDPD7EooBVj ElwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=WalzjrJa; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf11-20020a17090b1d8b00b001ece377fe19si22091607pjb.128.2022.07.12.10.08.04; Tue, 12 Jul 2022 10:08:18 -0700 (PDT) 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=pass header.i=@sifive.com header.s=google header.b=WalzjrJa; 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 S232849AbiGLQit (ORCPT + 99 others); Tue, 12 Jul 2022 12:38:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbiGLQig (ORCPT ); Tue, 12 Jul 2022 12:38:36 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B0F92AD2 for ; Tue, 12 Jul 2022 09:38:34 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id z12so11956448wrq.7 for ; Tue, 12 Jul 2022 09:38:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JKhfBSF99cGeRL5/E+3ybugh2cH4mwS43tAxuhC31f0=; b=WalzjrJan0GdgXNc+jcedb6CZZSxb19MlR0FEDV27T/Eh8Ph077HshjmYEqrScbLL3 qPM+GPV5cwfOzw3e+PjdwKlOrveJCRAx64fSOLw2K30sPDOmGTWWH0mOyeULI6D1vlXc nmplU2PWoRNhO7oTEeUdGBw/M/k63v0IvscKOeDCEb/bDl5chzlY/4VdN01eyJbeDC2g ABrpGv+eAQ4kbtdQAB8XJ8kyKz/SM5ztbP0R9UqLkWRPSEmzNw2gc2KOa+Mu2/F33PxG 5RguZuynrkpFFDgEsTRWYJXhJ6EMEXBsZWHzrosOoUi9aPxq+1jW1x9xnhGT7rJpivgx NTxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JKhfBSF99cGeRL5/E+3ybugh2cH4mwS43tAxuhC31f0=; b=6zqs0oP83THMPHdNYq6Q4oZ0VP1TtzBWnD2xsYays4z7nEEm3CA/UAnm5mWKV64QuT SImWJp+0ZQGtoRrvn0Gj3kaZTf1aWerq87mY/YOZk2X5VOAFhu7OfJVGjhtkRGtArT9Q dU5lE17OhrxaEBcaMlPEV3y7yUmFhPvlneVBpWU5hRQHC87IQh41EoaalgYbvpqAa/Cr Y2w23hg+DBNpyJVpEnnIr7Mc93/0crQFCdhGyy/rf1SjRt6Y10SR1nVrJ4ikywY3DB1I dmX8MCQFjdA5xql/zGb7JuxcXCuaUXSeobDNGyh+a0XmeASWdLTPFRQ1ipZVcy8ApHu5 g0Cw== X-Gm-Message-State: AJIora8Rt45fLAYOdSkUG17vAlAPM7vMsrBmlqDTfDYgO07Rb3B2sfXG Gnbn2TVWh9dCYyTwZTtb3QtpcA== X-Received: by 2002:adf:d1cf:0:b0:21d:a2cd:522d with SMTP id b15-20020adfd1cf000000b0021da2cd522dmr13120142wrd.383.1657643912986; Tue, 12 Jul 2022 09:38:32 -0700 (PDT) Received: from localhost.localdomain (host-78-150-47-22.as13285.net. [78.150.47.22]) by smtp.gmail.com with ESMTPSA id s14-20020a5d424e000000b0021d4d6355efsm8623751wrr.109.2022.07.12.09.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 09:38:32 -0700 (PDT) From: Sudip Mukherjee To: Tudor Ambarus , Pratyush Yadav , Michael Walle , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra Cc: greentime.hu@sifive.com, jude.onyenegecha@sifive.com, william.salmon@sifive.com, adnan.chowdhury@sifive.com, ben.dooks@sifive.com, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH 3/3] mtd: spi-nor: issi: is25wp256: Enable Quad Input Page Program Date: Tue, 12 Jul 2022 17:38:23 +0100 Message-Id: <20220712163823.428126-4-sudip.mukherjee@sifive.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220712163823.428126-1-sudip.mukherjee@sifive.com> References: <20220712163823.428126-1-sudip.mukherjee@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The flash chip is25wp256 supports Quad Input Page Program. Enable it in its no_sfdp_flags flags. Signed-off-by: Sudip Mukherjee --- drivers/mtd/spi-nor/issi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/issi.c b/drivers/mtd/spi-nor/issi.c index 3c7d51d2b0509..9a04b03bebe0b 100644 --- a/drivers/mtd/spi-nor/issi.c +++ b/drivers/mtd/spi-nor/issi.c @@ -71,7 +71,8 @@ static const struct flash_info issi_nor_parts[] = { { "is25wp128", INFO(0x9d7018, 0, 64 * 1024, 256) NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "is25wp256", INFO(0x9d7019, 0, 64 * 1024, 512) - NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) + NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ | + SPI_NOR_QUAD_PP) FIXUP_FLAGS(SPI_NOR_4B_OPCODES) .fixups = &is25lp256_fixups }, -- 2.30.2