Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1073198rwb; Thu, 1 Dec 2022 12:00:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf7pg5TJRNOP3OZK53qysxv3Y03xejiZ0HWXROwQEblRRVqSJ2jL4438n/zqWggddWYDBYuV X-Received: by 2002:a05:6402:1399:b0:461:53b0:2ac0 with SMTP id b25-20020a056402139900b0046153b02ac0mr60009492edv.153.1669924849198; Thu, 01 Dec 2022 12:00:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669924849; cv=none; d=google.com; s=arc-20160816; b=FV/XrAfYSuPbqxJb2jg2u7sBNNBQT+2CUVn/3h0hJXV2tvydK/i7BCQbeL0d1oUmXA XB56rqv9Q/cvvy8vsk496KfWc01XeXes69xfP1YfOl4/Nw1ydqxqiaikjY05w93RuRiu mP9qg9FuvkYRTPbOCfkfhsICZCA+CK2WkhL3sFT/hCoXO84qvTzBb+InJZyVWOSlqb1k ikygtGXKUZfHTm1viQSi5SD+pIRGHrQm5WImoGA9bDxW8NLHz3O53a2hStnEJeW28/ee o2oABCb7dXoWFpll8pPDhTwCQbwWbVTLEXbMtmFUzL/0OQNtcBeAzrHEQPpvijQGdA6p uAmg== 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 :message-id:date:subject:cc:from:dkim-signature; bh=tsmRXs1XrARV8x2b98wPvkGWEv+wWS8i+zTUmm0QBMo=; b=MADZ4kR8MG/wmzwkTj3COx9w0Fv1pOoKmshgaYtXTg2k0kBxngOaW2VCwFRMbq35NG 8q/od5eQBURy/ArtT4vWSXLY2NmXcX2QY6YlrHE55uM4G/uIakcGrQbH4Wqmmoz6n3HH cThVLFOcGuVV38LgXAY/PYoBYg7o3N/wrJd+gUW+gS8Zl+B8YFSjhJHJ9/VTkSxT1zud hjFxmDKh6z+w1MMm1IxAAUtMefjvutdpO8ZxtRYqnj9oHrBqpIALQsXZi4CK74IO4xaV a4clFmKfqqho8uorRKLkVDUdRKYVQu0+r1ezw87Dn15yDVEohV0Gia8++zCjwm5cjogY yO8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@timesys-com.20210112.gappssmtp.com header.s=20210112 header.b=kx13LBQY; 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 g11-20020a056402320b00b0046aff5119c6si4556824eda.428.2022.12.01.12.00.27; Thu, 01 Dec 2022 12:00:49 -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=kx13LBQY; 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 S230462AbiLATaw (ORCPT + 82 others); Thu, 1 Dec 2022 14:30:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230257AbiLATab (ORCPT ); Thu, 1 Dec 2022 14:30:31 -0500 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48239C82EE for ; Thu, 1 Dec 2022 11:30:16 -0800 (PST) Received: by mail-qt1-x830.google.com with SMTP id c15so2190777qtw.8 for ; Thu, 01 Dec 2022 11:30:16 -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:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=tsmRXs1XrARV8x2b98wPvkGWEv+wWS8i+zTUmm0QBMo=; b=kx13LBQYrQj0PDhS8TjXdPpnrGsFG+moF4OhMOT/dDaZR59xpURwUxLcfLYJmejSko 9bKQZFeWjQ6PGdVwmcjZvlpwrIPOcRTrIMbKmFqxXOwTOFKb8fnIpFv5cjC0oj5ZbwQ7 3ObDICe7H50Ofjn6thvG7xuAHqulYJ1Tv6JQNNsBUzfxpJjoogrlis6kjsDoW0x6jOz1 KeRWzqqySBEV9XOeq8URBgZL2WmQItzrfklgsqs/P3IyrB+mKTYJnm6THUoUQN9r6oE1 4cm0r9kmo7zTaYHI0gDaWZIre5/LHs6Y5l4eZOEDq8GMtmIejaA7DUNv6UG72kGy9a7E L2fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tsmRXs1XrARV8x2b98wPvkGWEv+wWS8i+zTUmm0QBMo=; b=G3D3iyAN8qC5F52HIBAgPSN3auZJdT2S9tlRWDoioxf6NcXTw2E82tKgxWGSFjqSHt O4Udk66M5D5GVb7Go1qIig4qbVsO+sSTXvU1Pkn3s+lb4vL4Qu1vjYR2t5aq+4fscix8 m780tOxfznca36llOo1PhmgNt7y63qL3ezNzr8yPCKVJxBTGwlJeZDQm0nSZUFS8Kkj0 jlJMUJqs0q33VtZtbdDMNC+N5tp+qPh4W4qLOZBDStg/ZVUiKQQ29bwikiRFSgItknQd BT4nI+rzBF+po3WZo77irTpixRcUDjDKTB3SR2MIZQtv2T1jUyNmsXD2fE/B8ROD/mlV cHAg== X-Gm-Message-State: ANoB5pkRewT34Wbk73fhl5KznjQj0lIkbMQ248O8sA8TWFTGqCJukP7+ 4T1/PHkih0RTKxY/tLD/lkxgoA== X-Received: by 2002:a05:622a:90c:b0:3a5:4086:a46 with SMTP id bx12-20020a05622a090c00b003a540860a46mr61808193qtb.200.1669923016031; Thu, 01 Dec 2022 11:30:16 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 11:30:15 -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 v2 0/3] mtd: spi-nor: Extend SFDP to support additional octal modes as per latest JEDEC standard Date: Thu, 1 Dec 2022 14:30:03 -0500 Message-Id: <20221201193007.261690-1-nathan.morrison@timesys.com> X-Mailer: git-send-email 2.30.2 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: X-Mailing-List: linux-kernel@vger.kernel.org In the latest JEDEC standard (JESD216F), there are now bitfields in the 4 byte address instruction table for 1S-1S-8S and 1S-8S-8S modes This patchset adds support for checking the 4BAIT for these modes, along with additional NO_SFDP_FLAGS to support enabling these new modes v2: Move page program commands into sfdp.c instead of core.c, as this appears to conform more closely with spi-nor paradigm. Page program buswidth appears to be automatically determined, so let's follow suit and do the same. Nathan Barrett-Morrison (3): mtd: spi-nor: Extend SFDP 4byte address instruction lookup table with new octal modes as per JEDEC JESD216F mtd: spi-nor: Add additional octal-mode flags to be checked during SFDP mtd: spi-nor: Add support for IS25LX256 operating in 1S-1S-8S octal read mode drivers/mtd/spi-nor/core.c | 7 +++++++ drivers/mtd/spi-nor/core.h | 5 +++-- drivers/mtd/spi-nor/issi.c | 2 ++ drivers/mtd/spi-nor/sfdp.c | 13 +++++++++++++ 4 files changed, 25 insertions(+), 2 deletions(-) -- 2.30.2