Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp549431rdh; Wed, 7 Feb 2024 12:24:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwA6mIE5XBBYTUXFJaCKAzI+cfTDcZuHgLDWT8T0Tg9r+pp6SuEYHS+2wfaEp+v5OjN2QN+btBpnAB3T4Hiate5q7c3X6OmZalcYk4Vw== X-Google-Smtp-Source: AGHT+IFLY6xJ33VgkkFFf6rFZ/POZ9Ch4H3Mjl4UiExwBave+yC5bHi54XjhGQvSfp3gsUTZxqlX X-Received: by 2002:a81:eb06:0:b0:5ff:a9bc:3893 with SMTP id n6-20020a81eb06000000b005ffa9bc3893mr5852872ywm.12.1707337462157; Wed, 07 Feb 2024 12:24:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707337462; cv=pass; d=google.com; s=arc-20160816; b=wZa7o2TRoC1h/7jkYZKq6u+35kKjZOZQI9ISvOhMHqemiRdm5usTJHwYJmslYGvSEd vhqDAuKEDw5Vr+id2ZMcNm1K4+cFVuz6JLu0ebh3K5f9QatPm51+L6M+/MxiQNqHnoXd bVTAKVXGF4Pl/a6RJYmZMoDvuoUol3Ktj2/kTRy7CicAWhISHxIuLgP73tmxAgxAQasx 29jyWqBeQZytiawplElcrMDCSrSe4agGz9yhIRD4ZvVjGfnHgr06niTpNrpaBfZYzj00 xqDHvseMWrD40ZLvl5gupFqC+C2+XWdEktH2HaDbReRv8azqDQaw8pUpXRRek9wO2Ik9 px6g== 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=4cPlpetHf4jOUPiyQ82kaHmfJU2jbdMOkAcgR51B9aw=; fh=ODE+A88z39J+T+GGs70uy2PxafaK7C21sKOdKFxN6+g=; b=nfNrgBiqhHQzDiitQGIQAz+X3eG+G+h3g83MHDhHv0TO8Ic2TXddHEWJLv8Nh5HYht dP/VZcIlQzEIjkeOhuNcIaSQ8SGhXd07bOULAyGa+SQYoWaqjMpKp3BTq9eJWjswCIkZ bWxIKL3KVDqmvGlYedCDpRsBje3jqBPjdyvi/EHgY5czCZiwHjgfKFT1zT9E9rCcBvu0 lpZEXqaB1+zYTjt8YUc5m7GafYYwOQdtaFfI8KjqRy8Tw8cy4xlEE8vxBM62Vge/Zkzn FZpvA2vHMHLg15wn6zyIVOEJSrFrnPt/FOSgWS9ASeaavXsNlknRhZSyi9PFW7GPkJtE iLCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=EYzpPF1G; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-57013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57013-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com X-Forwarded-Encrypted: i=2; AJvYcCWQu1rJppL2Xn1FYk6ZMWQ28Qyps/25GBuf7iM+o5ymHDyaRTNmXB8zY3ihKYnB8TvolETWsIWuwkzzZqjFGffb6MOm0Sf4A9oU7Sj/6A== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id h25-20020a05620a21d900b00785a083f92esi1117945qka.167.2024.02.07.12.24.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 12:24:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-57013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=EYzpPF1G; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-57013-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-57013-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0B0A91C250A3 for ; Wed, 7 Feb 2024 20:24:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3282129A73; Wed, 7 Feb 2024 20:23:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="EYzpPF1G" Received: from relay.smtp-ext.broadcom.com (unknown [192.19.166.231]) (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 A96041292E7; Wed, 7 Feb 2024 20:23:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.166.231 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337416; cv=none; b=NCCe8v49fOM2C5eHJ+ajCgEu0bBQqcolgo+iCdGkQF3IQMM9BDm8WnEVQVVBMgUPrkTFsccLFJLIB9cAeXkv0btxqjR4iHroBAopKFPcG70Nsz5baDen3fT206VnFQN9OKHpvoBhp5UBB1n3ggoYEA/Ilbx14fwboEA3uygQdsI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707337416; c=relaxed/simple; bh=2MG0NMfZmd9Qh5xJzY5hxI6VpQVPWSkYrqSpDO/Rr3I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=D4iDfOZXkecUA//ZtfSBgs3mh/g6X1L0PPR8tGNqaDP8cySwHcaqIUG7ycQ97EFInA24TdArZDVZTMcGQ6TgpStOBzZrFICjA3Eya49xthQqw5kNBrTOZBhYtz6mLgcUeva7vexGfp2qUh04FiED0A4LZzM+2XkPpl1DRKJ38ro= 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=EYzpPF1G; arc=none smtp.client-ip=192.19.166.231 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 2EDA4C002E04; Wed, 7 Feb 2024 12:23:28 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 2EDA4C002E04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1707337408; bh=2MG0NMfZmd9Qh5xJzY5hxI6VpQVPWSkYrqSpDO/Rr3I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EYzpPF1GgnNk+wK9Irbe1dqf5j3sQScSLPH2Lb/2SVXjMZvC5Jv3HDhJc3iLNRfje ntpUky6sT01Bf1ahwUXVjvc1e/oD12IWxAu22jLsHC/XRZYe6m+PjQ4dNgDAvkeVFa ztY6/vkzUFHiSsxtTbY/MEdkenxVn515hsZ8TMcY= 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 A7FE018041CAC4; Wed, 7 Feb 2024 12:23:26 -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 v5 02/12] dt-bindings: mtd: brcmnand: Add WP pin connection property Date: Wed, 7 Feb 2024 12:22:47 -0800 Message-Id: <20240207202257.271784-3-william.zhang@broadcom.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240207202257.271784-1-william.zhang@broadcom.com> References: <20240207202257.271784-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 v5: - Update the description of this new property 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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml index e54ca08a798a..6a717bcedfd3 100644 --- a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml +++ b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.yaml @@ -113,6 +113,13 @@ properties: earlier versions of this core that include WP type: boolean + brcm,wp-not-connected: + description: + Use this property when WP pin is not physically wired to the NAND chip. + Write protection feature cannot be used. 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