Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp69523lqa; Fri, 26 Apr 2024 14:52:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtgAjMLuvzzW8qt7cPAGXuERWzwUYNmGlivJJHtaC8HB/gZ2Fn/t4guSZv8lY6HYP+vGTLn9RRtylQbQAZVlu20L67Ve9WfG6SEqzK7Q== X-Google-Smtp-Source: AGHT+IFZcoslJL9v8LiMxSqLypXn/W2DUZ5a9Ru7a3Fqw+3JB40MPyjZllohTq1wHIlhr5IqT/nr X-Received: by 2002:a17:902:6548:b0:1e9:519:d464 with SMTP id d8-20020a170902654800b001e90519d464mr3707557pln.65.1714168336458; Fri, 26 Apr 2024 14:52:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714168336; cv=pass; d=google.com; s=arc-20160816; b=Ev+XyzTa8+MtjJn67gMzzHaYhOhLr3Hvfz0pgoWx8tovYr96GnwVMvoCKipzEaDyLV IgMtnsU6YEpAHe/LyQLw2FOk1GiU4RL7pHx6tEKmvFX6EWabZNDYCjT+YkgMBRXyKjhI 5JOSm78cVDZPDvb1vjxUf5S1z1vun5wAsPOQCS+otl4Scl1W+o2pBZ4zbloC6XbjG5+h K14HR/tgifeUMaBLv9AUmiy5x1rUwSEuj2noUwvPfTih0vZA463PLSn8DZW0q7QHIZUn 3c9ribC8qpENGDqSoKagtmJ22vebzeY9GcscT7InkShMZzNAk74HE6ShIMly3YIivr6t eJ3A== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=Cw1fI2HTXlVSblPlXrgOrNApsP7mNtv75udba4GB1KI=; fh=U/C+5BUFiD2PZCcR6mGdwNQQRaH3Ka6FVlVJizarWSQ=; b=ZT3ORmMMG+/TTfx40DsjG4Z+vN1o+9RhMdF+stzX3RRWroTz3pkt/6uqWnKPBHENhs 8MDlH/mmZwjne0BQbvzbtyDBWh6++gOARG1kDYmQFsReeQf8zOEDKYHPaxs6b7Pe6hnW Rr92OU7msZjWoLbyIx0oy+Pm24XlXU9unSdOhQH63Ssmj0wwZJsYoV441iz+3VPuaSlV nSIqwZ0xxqXmiogVIJHuCv67FiaVEzLREAhlilpOCIw6VLnzcaF4dD1jHgb+5G5EM1/R 5v40gRyfzrnpRIXTWaV8HFwpECifuMqMj+mTkrORntHbGcAQJEciKMlRyE2l5fxWZB2q 9vKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=o41Woglf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160716-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c2-20020a170902d48200b001e23723701fsi477644plg.515.2024.04.26.14.52.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 14:52:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160716-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=@kernel.org header.s=k20201202 header.b=o41Woglf; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-160716-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160716-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 1AB40283453 for ; Fri, 26 Apr 2024 21:52:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D4E4F376E9; Fri, 26 Apr 2024 21:51:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="o41Woglf" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F19712C68A; Fri, 26 Apr 2024 21:51:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714168315; cv=none; b=E4UO65tDtrwgEZJL+lVmxcUB8+5SdZDVlP7YOlbCP+xU7eJgff6V2fzr9GP1ldTUcSeZUYlDsBIA971FLtkFf5WU4jmlXHO7E/KHGtlF25Rj8TJUU0FHSBeN87+yZeV6J2uB3+07SDX3/TtcQCRVFPFpGoj0P/Gg3JUXBrSgERI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714168315; c=relaxed/simple; bh=LnQUtM/J37UGWUE9G3tzqEynRSFSqZxD5vF2HRp0+DE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R8e5lZKDrUlOORxuDqLsjATx71o+ihCLqSNPp5o2cMH6hvXV7EPkapb6IlQQmQCgTIf5ytXZFsH1yNMpqMp+9bPfjf5q66bpe/vrmBrnCvmBzBII11OdOE1SYImeyELe5ncyxc3LKh5mAA8PBKvnpcCXYWppyl946oxLh/fhfEA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=o41Woglf; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F1E4C113CD; Fri, 26 Apr 2024 21:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714168314; bh=LnQUtM/J37UGWUE9G3tzqEynRSFSqZxD5vF2HRp0+DE=; h=From:To:Cc:Subject:Date:From; b=o41Woglf8gg8y4NYEnXcC7I2MMcczhaJNoclfmI5vx4Wqv+bsDluC9Bb/PnmQSHSY UxxtcXE+8O8CAOBrFvkpg+tVni74yApzh0keESOVBwhWNZSgl0QlDevoElSU/PLPJA 56DjgzSnW5tYFxJ0uMcO9Vo1YqAQZmzC31d1tshwXLp/5kQ2WsqgsFpc4ndCuHKCf/ GtNw+pn+W3lWVRbK2DqoVMQaOQKCAJhhXF8JaGdDLtdLOgKXFLfWDbXtX5K4S735RS TRlNx3+brRmXwK+ji6RIi7gI/UEPTeRpZ0MwAjgObmbFv8urAFNyLr23wbsueLQQux PsCFyMjDv38qg== From: "Rob Herring (Arm)" To: Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH] regulator: dt-bindings: fixed-regulator: Add a preferred node name Date: Fri, 26 Apr 2024 16:51:46 -0500 Message-ID: <20240426215147.3138211-1-robh@kernel.org> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Define "regulator-[0-9]v[0-9]" as the preferred node name for fixed regulators. Other suffixes with names are also accepted. Combined, these make up about half of the existing names in use. For now this only serves as documentation as the schema still allows anything to avoid lots of additional warnings for something low priority to fix. Once a "no deprecated" mode is added to the tools, warnings can be enabled selectively. Signed-off-by: Rob Herring (Arm) --- .../devicetree/bindings/regulator/fixed-regulator.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml index 9ff9abf2691a..51e2f6fb7a5a 100644 --- a/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml @@ -41,6 +41,13 @@ allOf: - gpios properties: + $nodename: + anyOf: + - description: Preferred name is 'regulator-[0-9]v[0-9]' + pattern: '^regulator(-[0-9]+v[0-9]+|-[0-9a-z-]+)?$' + - description: Any name allowed + deprecated: true + compatible: enum: - regulator-fixed -- 2.43.0