Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1337144rdb; Fri, 1 Dec 2023 13:25:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IH/Wyvts3+g3WRIl85Mp0PzcVZF+cqO0uiJc9lU/Vs5RpDVGE1aC73kB2adFOVoDzTysYgL X-Received: by 2002:a05:6a20:2d1e:b0:18b:960a:efc2 with SMTP id g30-20020a056a202d1e00b0018b960aefc2mr141299pzl.10.1701465903956; Fri, 01 Dec 2023 13:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701465903; cv=none; d=google.com; s=arc-20160816; b=LWypKPJyVVweRgjvBuZlrezAuyJY9/nmgLI4jKac8ayFhVAxrt5DypRXe6pCSU8oov O43m0EEPOSL1DX+L2FwlCZH9ayWA8MjTqama0ni+kUNcoIz6JG+ELO5MW9WbxY1ERBRR xpwtTGuYwTnyTbAJaA1i94qG7ByujXlBibRVHOASh3K2VZFVnQt5c4QVUnvjq7VYNxBk 5m1WR8tPaIQrMiDHmfwzi/xgB2B9C+jKetGanKLHjm9E5UY1EKm6Uv+pcF9RZxgdDtZg uDPTJ6bcXQw0psD9mfrHmwGfTbi4+SJqdoROPeHq6YTLGGPH/DthxtyahzUT5TsxeToQ ZlQA== 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=Vy2cW1Jeb7EdQcnscFCp/qi3Y2qGLkoW6GqKCMP1OZU=; fh=rEFUDp8QiThYYHW9N+4PqOrevG9jnbogUd2/wExBcyw=; b=oR3BwncuI41XptAiOwsSfItEDysA7/LkfWBAS+fEQLH8yvqYHtp4WdnXVBFSjAiwU9 aHLLpflp2lh20fDg456ew1JgE5bKZy8xtzVoU+Lxha/zDET2NSwpo+yAf8tAsNThINnl M4GUu3/kkrlO43hHlW1trAUx+50Ixyv/QG10pZzAefQim4G6p73qC7V+oS6B9fOZXdl8 IW9RvSnaYbqcAir6SE/sVbtZVlmOIUsnl3vajl0tm/HeosO5vQM4g3ZyAVRt4ZOSm+4M oWmlEt4lfGrDep4DuMpWYyXwP7f85qsV2SOu74knPG39BOfCw7/T7LxO2aKb9361hO/2 Ie6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=mfy+ovjX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id q20-20020a17090aa01400b00285b7d57ef0si6229582pjp.137.2023.12.01.13.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 13:25:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=mfy+ovjX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id A11FD8182EC3; Fri, 1 Dec 2023 13:25:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230453AbjLAVYt (ORCPT + 99 others); Fri, 1 Dec 2023 16:24:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLAVYs (ORCPT ); Fri, 1 Dec 2023 16:24:48 -0500 Received: from relay.smtp-ext.broadcom.com (lpdvacalvio01.broadcom.com [192.19.166.228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBA5310D0 for ; Fri, 1 Dec 2023 13:24:53 -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 1F4DFC0026F7; Fri, 1 Dec 2023 13:24:53 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 1F4DFC0026F7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1701465893; bh=vrVkTfIsWsT8Eahag1TdS0Wt98iSbiCsHD0P4PcYheg=; h=From:To:Subject:Date:From; b=mfy+ovjXTbcYsnjF66uv7gotQKR7IeIFXWg/HwaDebtRzMYRl1lnXxxBPBje7HyOE 5zLANU4AhEk2UeCoRsHkASAjSzGDWVtv0vKzGPu5VY1ebpHkR5uwGVujV62kLXBrGP RptI+77X8FoexGaX4hndVzSFkXMfTNSoMeohJxbk= 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 0F1F318728D; Fri, 1 Dec 2023 13:24:53 -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 v2 1/1] mtd: rawnand: Add deassert_wp comment Date: Fri, 1 Dec 2023 13:24:46 -0800 Message-Id: <20231201212446.189491-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 agentk.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 (agentk.vger.email [0.0.0.0]); Fri, 01 Dec 2023 13:25:01 -0800 (PST) From: David Regan Add deassert_wp description comment Signed-off-by: David Regan --- Changes in v2: removed Boris Brezillon as author and SOB --- 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