Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1236019rdb; Fri, 1 Dec 2023 10:16:16 -0800 (PST) X-Google-Smtp-Source: AGHT+IHN8Oe+FZBjmeYp90A1AOJoWvcawAPs8AzqO7PfzQP0cQvT/FjUV0xMDLHxX8C7FtaXnAPj X-Received: by 2002:a05:6a20:8f01:b0:18c:a983:a5f6 with SMTP id b1-20020a056a208f0100b0018ca983a5f6mr19830367pzk.23.1701454576230; Fri, 01 Dec 2023 10:16:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701454576; cv=none; d=google.com; s=arc-20160816; b=psVQdHFnAjl/ZtxiUFRJNBcq207/DH71tppNAMxUM4Lm2+8ZQQHBJKi76CJzxLoh78 vNjUFl0WR28wfaI0P6mvGwxV1FhwJEy4wGzkCkMxkHM7H93OiKCbytMSgtEaG28jEI14 cD8LrWpE7aPGpSlt4IrkZu5CImlKTIIKIYlOnkzCcksRed8rmjoktrewhu3CWz8sSOzZ T73l/aox2uFN2VTQ2ZbZEaKlP69jMZ4IVz3pBvvbuSE0HQjsK7VyuF+TaAJw+N2vzegU LChucRzJ9VCL+d6ueSbUGlLYdCFKsVD+le7bYdMltxClqRD1bP4AjzOvbbY4UYoOnYcZ D30g== 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 :message-id:date:subject:to:from:dkim-signature:dkim-filter; bh=xTgHqE2kiymijSdQXdnRrNx4O6RfRFXRBuROVhSLTpw=; fh=rEFUDp8QiThYYHW9N+4PqOrevG9jnbogUd2/wExBcyw=; b=FQt+oLaNLSM25wiPkvXBW6Aa/Bo76AyQDGzdIl75QG9f+3BQKAg7qesA+y4GT2fxqF 9gbaUUC0mOZUlCx7V0+C90+Hgg3jAB7v2EAh0pwYIj86FY8bypgODSXzCEIrOCNmItRT 4fMFRMo57RBikgNU8AIBtSLRGZs14NyC0Kn0rh/leFrNFhePMQfb7ZNkgPqObP7tvvMH lynACIavLCL6DE+xnNWUmRK186k5n/7lepSoMWMKdtfI5FPnCFh+cYNE11qlHN4lfXc7 EheyR5jQWEYLKeYM+Kx0Y5cUKxz9sPLWnZvOtWaN2XnhPwPKN13rdXYVZSFtliuNpyQS WD6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=C4tDQY8E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id o5-20020a056a0015c500b006ce010d03d3si1366025pfu.303.2023.12.01.10.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:16:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=C4tDQY8E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 5E1C7836E468; Fri, 1 Dec 2023 10:16:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230249AbjLASQB (ORCPT + 99 others); Fri, 1 Dec 2023 13:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjLASQA (ORCPT ); Fri, 1 Dec 2023 13:16:00 -0500 Received: from relay.smtp-ext.broadcom.com (saphodev.broadcom.com [192.19.144.205]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC7A4F9 for ; Fri, 1 Dec 2023 10:16:06 -0800 (PST) Received: from bld-lvn-bcawlan-34.lvn.broadcom.net (bld-lvn-bcawlan-34.lvn.broadcom.net [10.75.138.137]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id A6970C0000D4; Fri, 1 Dec 2023 10:16:05 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com A6970C0000D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1701454565; bh=oOit/4rL2wvddJb+2fxKmDWbNk0f7jYnHz9/Hr/bK+c=; h=From:To:Subject:Date:From; b=C4tDQY8EKcPwDOkiiufmRVq8/AV+fmjWbbxXz9rWjYHsRquZSCpJtqNOXCJpwi7gO /LztMBDdDSpGUScW6K3X0vre14j350zSWmAK2+ukeBiZrMV67+1Jtmx/PwuKpUy0LZ GX+49kybcRVrRovdTPAh0ufSlwFx07Hbr/K6F+/8= Received: from bcacpedev-irv-3.lvn.broadcom.net (bcacpedev-irv-3.lvn.broadcom.net [10.75.138.105]) by bld-lvn-bcawlan-34.lvn.broadcom.net (Postfix) with ESMTPSA id 6C42F18728D; Fri, 1 Dec 2023 10:16:05 -0800 (PST) From: dregan To: dregan , Miquel Raynal , Stephen Rothwell , Boris Brezillon , Boris Brezillon , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Linux Next Mailing List Subject: [PATCH 1/1] mtd: rawnand: Add deassert_wp comment Date: Fri, 1 Dec 2023 10:15:42 -0800 Message-Id: <20231201181542.421077-1-dregan@broadcom.com> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 01 Dec 2023 10:16:13 -0800 (PST) From: Boris Brezillon Add deassert_wp description comment Signed-off-by: Boris Brezillon Signed-off-by: David Regan --- include/linux/mtd/rawnand.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h index fcad94aa0515..3049b05d8a20 100644 --- a/include/linux/mtd/rawnand.h +++ b/include/linux/mtd/rawnand.h @@ -1001,6 +1001,8 @@ struct nand_op_parser { /** * struct nand_operation - NAND operation descriptor * @cs: the CS line to select for this NAND operation + * @deassert_wp: set to true when the operation requires the WP pin to be + * de-asserted (ERASE, PROG, ...) * @instrs: array of instructions to execute * @ninstrs: length of the @instrs array * -- 2.37.3