Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp738294rdb; Thu, 22 Feb 2024 19:49:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXX615uk57N8E5uEHWoyJ46oX8dt/qdTUIyooMoFoYBdnnBA1aOAyulaaDDNLVZHZRBZmaeDtyPmQHvriharIWEhZw4Vl3YWtnU7vKJBQ== X-Google-Smtp-Source: AGHT+IHj8423tDNm4wVEM43z1KN132b6ZCeksP0eTl9/9VwsyDNcKDf3jyZDZ4yyFQ6Q7fHTpifI X-Received: by 2002:a17:902:ccd1:b0:1db:562c:181d with SMTP id z17-20020a170902ccd100b001db562c181dmr1008841ple.56.1708660155145; Thu, 22 Feb 2024 19:49:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708660155; cv=pass; d=google.com; s=arc-20160816; b=rW3tTHpk9/9NPVjtM6rD9mL18SOR6kjX7aPCCLf9jTar5VkI7sJwh4MfvsxSJ+LbSu mJpqDypL1uY4qTsWi/ismLG46mo89CgxYcaM9zdJUdahIa5EMZJnaRIPt/eRwO+LnbfH XgyhJqYr9X1deLWQ74dWdBATcgKtVBrZc+47Z/+A6s89n+vyUDa1wQWgVxb8Xanoi3G0 JIadnipMm5YyNccIdyM78Z3vuzig3vy94sounzxip1oCUSnH6AL11VjSVq4Uye77995u D7EgopWVAacrbtT9BhOtpJFxm2WYikZP+yTMkkSZBhvW/Keq0ac2T7Hh5y4f2vd31rjT XpJA== 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=v+003Lx3L5haIvHdyqN79/Dq/jPLOO/esVcEBqHrWrM=; fh=0kpngmS32FYkZcyXeczIvsEVM1y4nLarWMyfwk+VGqA=; b=BIGgjsZjctWs6tmxLsCCsihF/zUmy4QsqHVqdPiYCSkPY32xeTqjrbvQIxVhUs6/Mr P2H7XQAFCvZY0CrCL6cQRRPhJpG7lpRtLptOdI4FxJ85w7R1iV8fgrVrlxQIVyleOmSd 1gyMO04bcQRH5xhPUM7aGrWV8MeJ0JsM7c6JjC2UHqFbHeV6/1pdKf4HDsCovbJ3MpuO jwpP4+OC0ahFi6uspsZQ+H2kXBKrqObfy3YaKt6HxY/D37xZQY/zRPEzgvjV6IoJJWMo Aaxkht4J+fuMwk8QWcTN8gklk5p7ukvrlFw1v+J/+1M/3dGvz45yV2VWOYyFV1sHd5P+ MgIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=gRg1zp2L; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-77732-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77732-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t3-20020a17090340c300b001d9600b6428si11647789pld.131.2024.02.22.19.49.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 19:49:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77732-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=gRg1zp2L; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-77732-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77732-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 8CB02286C33 for ; Fri, 23 Feb 2024 03:49:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2515E125A5; Fri, 23 Feb 2024 03:48:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="gRg1zp2L" 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 93876DDB1; Fri, 23 Feb 2024 03:48:29 +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=1708660112; cv=none; b=GoYGqYSJE9qzjVBd4xOWj+5yhCRXIuUzRIOi36v1cHUH/FfbxW5cI0nM98LGaL9uAcUUIGbeJYAw4LmZywLLPahmBM3rZAZHatqDuVVhX8xlAU46GdgwfrcXjvvpCdpD+Y5Lfq8IOzU9XulAWG8FOZaCa8BJjVKKDeZpRbgI/k8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708660112; c=relaxed/simple; bh=VL3W4Hrd8AMxNoY1VfirYQHtQnsee+7UFtazgfSJcYc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=l1tt0rDSrzhPM5woWgCFB/AiqUgZsenYo8F/UVvG8NQs1tIcNxN5Y4XZNTHgDq/pBF0N0KgqpaC0cImBf4idRhcx/7LD20Rx1CGExLPCrzGYpRKdPS7e+BYYVIK//+E/1vr6nxNmZ5+6I0zbnmwjkJiKOIQiAdTFVUe6v7vpDQk= 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=gRg1zp2L; 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 A4D28C0047FE; Thu, 22 Feb 2024 19:48:28 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com A4D28C0047FE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1708660108; bh=VL3W4Hrd8AMxNoY1VfirYQHtQnsee+7UFtazgfSJcYc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gRg1zp2LO7EHCQAQD6CuliV5gJm6QoHnJMZdC+vvfiWtGdDkRK7ezoZGnv+rjzquX AT5omQCtRdR8imYenbIrwU4D7vnIE74sooNYAQo/floXoWrDs9NHPh+pFWiFN3FiG7 RYECOPUu6/8J13dsvMGO06RVgD1BHpZCzl0Sddqw= 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 390B718041CAC4; Thu, 22 Feb 2024 19:48:27 -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 , Conor Dooley , Florian Fainelli , 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 v6 05/13] dt-bindings: mtd: brcmnand: Add WP pin connection property Date: Thu, 22 Feb 2024 19:47:50 -0800 Message-Id: <20240223034758.13753-6-william.zhang@broadcom.com> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20240223034758.13753-1-william.zhang@broadcom.com> References: <20240223034758.13753-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 Reviewed-by: Conor Dooley Reviewed-by: Florian Fainelli --- Changes in v6: - Add reviewed-by tags 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