[0/3] mtd: spi-nor: Extend SFDP to support additional octal modes as per latest JEDEC standard
Message ID | 20221201181532.255449-1-nathan.morrison@timesys.com |
---|---|
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 q4csp413976wrr; Thu, 1 Dec 2022 10:16:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf42sTKMweCKi3rjIBt3n8W0OY5mwAvYRmJwVyxUWSb3GLbH5owP7gvVdcWl0BvHQe+/iy62 X-Received: by 2002:a17:902:ec84:b0:189:9973:fb64 with SMTP id x4-20020a170902ec8400b001899973fb64mr15395042plg.63.1669918616847; Thu, 01 Dec 2022 10:16:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669918616; cv=none; d=google.com; s=arc-20160816; b=dJyfs1pfmeDp0cEAB+UxQwGrvdquHOiDq2xuuwttBvaoMXx+eJgthzm7fyihANXo/M jJmXorgM00SFfgAyZOXPFfs3bvi06Aba4nyvjA9grClM8mhieysqDjZM9U4Fa5Lrv+VL gL6nvBtoky4GrAjUD4yPIRoRGuzbtCBpF9Rgw9ZU1CXc8a8dP0mJv1zBK1mXOfZ+kokD 7FADrd0AkOMnqst7APoc7xSSH3cgVBb5mXkcK0O7uYCQs2+Ix4n6EfvKCi7nn49m4fHD Fw3r0L3/n1Fg/LVserQqlgvxReIKFote+WNVPv2bG1lE5IgNo3P+cHnfrQqsgrggbPZ9 fo8g== 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=rPoSscocgW7JDIUXs9rfd3TYBr11h3l8OCCMgzWgJRY=; b=yyue2D24jTJbbUh9vQLA4U2QLHfjYPVbNGn2K98Dw2Q6iHxRajXweCO6zbEAw7Dh3m uMk+K4qItkpeR3J85hXt2x5y7i8NLu1I6Zty6HQyuv3weTgfMydBV04oY6tspuFw3Xc+ 1/QuaVcGdnFyORjutjqfJa/r0zGF8y6ZOecmutpZ1LOGjElCDaN5NdaS02Wv15WqJdrD PEz/FbvrZS0sVfTZP6+l24GtHO+SRQZ2MOyDh4RGIMY37kz/IaSt+Ly1LlP3xW5xRS8k dkahwBZXrCDHbmFojIkhM6MDsuiuaK3tKIv28f29uLt8I66NcwtvKwHsYFIKBYCneFLE aspg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@timesys-com.20210112.gappssmtp.com header.s=20210112 header.b=TZDj2d8t; 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 ot3-20020a17090b3b4300b0021929c5bd92si8595554pjb.127.2022.12.01.10.16.42; Thu, 01 Dec 2022 10:16:56 -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=TZDj2d8t; 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 S231181AbiLASQJ (ORCPT <rfc822;heyuhang3455@gmail.com> + 99 others); Thu, 1 Dec 2022 13:16:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231128AbiLASPs (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 1 Dec 2022 13:15:48 -0500 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66BC9C06 for <linux-kernel@vger.kernel.org>; Thu, 1 Dec 2022 10:15:44 -0800 (PST) Received: by mail-qv1-xf2b.google.com with SMTP id h10so1880523qvq.7 for <linux-kernel@vger.kernel.org>; Thu, 01 Dec 2022 10:15:44 -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=rPoSscocgW7JDIUXs9rfd3TYBr11h3l8OCCMgzWgJRY=; b=TZDj2d8tvXXmDQK/6vnsdgY24qoKuUwAVkOzLCVy2qs/nTid9C8wcnXc6X3qxqsilT aikVp+L05JEUnK/W0P7kOsWcpVj+FlcsKko3ovSj5o5G8tsma/PPXAKPVqjdUcYhbfw8 wSNnm3CudEXCiEf7rt0ktJHRGKq3BToB4tAxjpJ8QKWMf/f0FiQIlbRJK/1NzbcAUUjm 11EAd//5LdRoMI5IstMm0pNPL+ecGLnZ19kXq0aiwjKXlhVhVyW20VM5YY8iHk4v++O5 mgEkhHTzGLHf9oSIa7sGvwC5WU9PETQvxA6MIHcj1T4GE5GTpaqIqQFxFBCn/lELTIUS 1EKA== 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=rPoSscocgW7JDIUXs9rfd3TYBr11h3l8OCCMgzWgJRY=; b=Aoo1CxXoX6iihV90O/zK/ZCDtuZ7CWzyrahOd99hyC9LU8pR8sL+PuexI+2yauIAFR 4KnxERxCLW1hQFQNfr/VFonmH3G5lck5eMhwtc/jFvf9pD+GQHbJyk1sK5hB7Vqgffv4 WgrbnAZ00O9bBiTTBPb0Gmepxx8DyE2OyNsFe1+Hoi7rLX3q0/50hdM4JuwFiUcxRU8n HB6q9+b35jdkneWQrrTWEw1/g/2rlTW45lSJCv5wMNcBV7tpaQA3kcLcJOGAxtMiKiEg JEtquPVdHju6Fsh26F8VzmIQ2h3eDGRUrhnBje7L55KDWEzDVv9UfNgcwmGDxTnDw8Su MTqA== X-Gm-Message-State: ANoB5pkJQMFV0FjcPGoZXkyGjy4GYQyOIVGxG0OcJfjNamANPQOdFL/n RI48xdjzIWZ+iWpQgvSgDIuo6g== X-Received: by 2002:ad4:5768:0:b0:4bb:728e:b232 with SMTP id r8-20020ad45768000000b004bb728eb232mr24843734qvx.27.1669918543443; Thu, 01 Dec 2022 10:15:43 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Dec 2022 10:15:43 -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 0/3] mtd: spi-nor: Extend SFDP to support additional octal modes as per latest JEDEC standard Date: Thu, 1 Dec 2022 13:15:29 -0500 Message-Id: <20221201181532.255449-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: <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?1751036583397390264?= X-GMAIL-MSGID: =?utf-8?q?1751036583397390264?= |
Series |
mtd: spi-nor: Extend SFDP to support additional octal modes as per latest JEDEC standard
|
|
Message
Nathan Barrett-Morrison
Dec. 1, 2022, 6:15 p.m. UTC
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 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 mode drivers/mtd/spi-nor/core.c | 21 ++++++++++++++++++++- drivers/mtd/spi-nor/core.h | 9 ++++++--- drivers/mtd/spi-nor/issi.c | 3 +++ drivers/mtd/spi-nor/sfdp.c | 5 +++++ 4 files changed, 34 insertions(+), 4 deletions(-)