Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1210302rdb; Fri, 2 Feb 2024 18:57:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNKZfUyyPBHRZhZw3R8Bc2CfIy7hWVQusqgTjUHSmFUeeIWIp2/WA1wVn2/vQRAxfIdqLc X-Received: by 2002:a17:903:120b:b0:1d8:b486:8501 with SMTP id l11-20020a170903120b00b001d8b4868501mr662571plh.1.1706929049993; Fri, 02 Feb 2024 18:57:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706929049; cv=pass; d=google.com; s=arc-20160816; b=lJKJ72xnrUuh+RwmaL37ovz5UHc1z5B6koPTih8Y87tOtfZY1iWeu2atpUkxVGCuFD 35f1GWr5nz1SoFCsTm44Q+ZO9ieJTZ7ROl4BH7gTrUAMdUizGZMAss9eruJrFonXFw9T jqFPjxEl3ha6KrGonmxkfxtHdV4fYe8vip5Z9hfgNSZGl627Zosp+wu/VooqGzn+VshE je9B1H95SDDdFYM7sCvwN/iViRqHkykp3u4zWi3PKbypXd/92pWvQ7MfzUrX7AA4SXAj SBI922jVSDhzFU+TgdTNojGOQFd4OgFGfjhGx+qkF8uvHH7ZqzmecfafXj5u8SYoT6dm mtUA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=1rSX3aMguKIozHEEqgaGeLhb4m5tR3HEId10VBVTd+4=; fh=ev9IAe7UozfCG06My4LFCa+EVWA9Dd3rsSFxRIvAbak=; b=ax4FMAKPL4rhvAPzH5rwCnWbn//a9gOXI0jbFd51HWYykdSWVSg49hse511VkJ40Tp pxEiCH72dKVVWM5lmD4vXY4klolMLbjUurvGTh3tZvXOY1z7/1f/aPuKAavxjca+Rajp 9U0BqoF50dfzdg3X5z0N05voc7VGqZuOq40ghcZBsQ8di9mIQE035Biy877PAVSWP6Au beJs1q04biqjjl70BqDfXThLn9zT234s6eEmiaDted8m4iQu9oFQenqegpMNrUMIU45m o3xzkEjBZM48ysNWdSHAbjtsbDoIlZIuMaWCjSSaOYI92qLGn6MeXcEAglqncBypHa21 aiUg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=vxD3GewR; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-50778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50778-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=1; AJvYcCWHxa3tfsGkL1zBDYbpXfH+sRZX0erd0wEgAcwQlHBqIVKfgd6T3OYXKGfmkSrrvdzHTNR/WlUBZ40onn7Lviqt83hwe2CvkVENq1eb8g== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j36-20020a632324000000b005dbed8a7033si2544085pgj.187.2024.02.02.18.57.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 18:57:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=vxD3GewR; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-50778-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50778-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5009628DB4D for ; Sat, 3 Feb 2024 00:30:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D869F747F; Sat, 3 Feb 2024 00:29:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="vxD3GewR" Received: from relay.smtp-ext.broadcom.com (unknown [192.19.166.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98E3EEA9; Sat, 3 Feb 2024 00:29:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.166.228 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706920162; cv=none; b=Q2HkqQUGzSIeJH4r/W5aHObVvzFQarlp+1cxCN9xA3N6p6ix/LcU+Bw56WG4IJ4zMKRdIPmW7i9tsRGE5QDILY1/RqVW2z895F09KYKXP/zciwZZUthHsSa0iQQf5Xmid7i078yKfeorpKSkC7urolLdTm1hsY90B8boEmwe+Ek= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706920162; c=relaxed/simple; bh=VYh+6T868Hjd9BlZA701iKMQ4aVmP1U0C12y+IHan7Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=N1GH0rM1gndrwHmPjjpeE3Vb1KrA7t87lCKhTAM5tMClEVBKnlv97uKZ0jl/ngSxxfZYZrAiZ077JhQ3fvzYzpTtZALWD+dL/snw1SAp7+dKhQi7Gwsyp7d64nh+/xTOTH4KHiegVimAKrTHVPO6RH9G1QefQKKeZuGrnYamJjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=vxD3GewR; arc=none smtp.client-ip=192.19.166.228 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 71E9CC0029C3; Fri, 2 Feb 2024 16:29:14 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 71E9CC0029C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1706920154; bh=VYh+6T868Hjd9BlZA701iKMQ4aVmP1U0C12y+IHan7Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vxD3GewRgxTIuh2y78J8VlNUvDDF1RMhBY6AcWPOG5UDt5DotblfCfD3IW82sQ9Zp 4OqK+KL6XYakLPsCNd5ka02MxYEHE7zt0rKpdja/fSCnDoBKvFzfCadxIKEG80A5rZ 8hbkxWPeJ6gzROp528jZavr/BOBJMxOtRsGpy5Gc= Received: from bcacpedev-irv-3.lvn.broadcom.net (bcacpedev-irv-3.lvn.broadcom.net [10.173.232.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id EAF4718041CAC4; Fri, 2 Feb 2024 16:29:12 -0800 (PST) From: William Zhang To: Linux MTD List , Linux ARM List , Broadcom Kernel List Cc: f.fainelli@gmail.com, kursad.oney@broadcom.com, joel.peshkin@broadcom.com, anand.gore@broadcom.com, dregan@mail.com, kamal.dasu@broadcom.com, tomer.yacoby@broadcom.com, dan.beygelman@broadcom.com, William Zhang , devicetree@vger.kernel.org, Brian Norris , linux-kernel@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , Vignesh Raghavendra , Miquel Raynal , Richard Weinberger , Kamal Dasu , Rob Herring Subject: [PATCH v4 02/12] dt-bindings: mtd: brcmnand: Add WP pin connection property Date: Fri, 2 Feb 2024 16:28:23 -0800 Message-Id: <20240203002834.171462-3-william.zhang@broadcom.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240203002834.171462-1-william.zhang@broadcom.com> References: <20240203002834.171462-1-william.zhang@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add brcm,wp-not-connected property to have an option for disabling this feature on broadband board design that does not connect WP pin. Signed-off-by: William Zhang --- Changes in v4: - Move the WP pin property to this separate patch and change it to boolean type. Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml index e54ca08a798a..d0168d55c73e 100644 --- a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml +++ b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml @@ -113,6 +113,14 @@ properties: earlier versions of this core that include WP type: boolean + brcm,wp-not-connected: + description: + Use this property when board design does not connect controller's + NAND_WPb pin to NAND chip's WP_L pin and disable the write + protection feature. By default, controller assumes the pin is + connected and feature is used. + $ref: /schemas/types.yaml#/definitions/flag + patternProperties: "^nand@[a-f0-9]$": type: object -- 2.37.3