Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2739589lqo; Mon, 20 May 2024 15:27:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU1i3qTPNTVjAZfIHMJmHbkRh/GR0DHIxXe+dlQ9JDfYFzYpp451AIqIKLPVdt2FkHAZpfm/KeN6PDqOtgowszpXctCXA1kOqeAaQr8AQ== X-Google-Smtp-Source: AGHT+IHvdJaIO0xVVptJD03Vrwoai9qqANDPS71T2qj6CvI4e82b7G1wkNHkjG+1h97YsPrM+EOB X-Received: by 2002:a17:902:daca:b0:1f2:f8b7:60d4 with SMTP id d9443c01a7336-1f2f8b76517mr65704735ad.52.1716244052133; Mon, 20 May 2024 15:27:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716244052; cv=pass; d=google.com; s=arc-20160816; b=JYwrgPC01qBlWCROZj7AM813884XZsIl8tUqYl/1m7O+vtSgqa3PXWRAUcZmioE1xo fceTDd+/O27MFGB8BynoqeEB866vchuUWgn+3zjqYd2nRa6+iZSwAh9F6YOzI7KfbbwE 8zhb+VKkfbKfCn/6i1s3SLoGg4FF7uSFPJTAMFAH+HjwSnrvjTOkeqB5iH4XWuigG68q q6hDzODXPLelbXp2m9JcnDK6zpuB9tcjlMtd2IcPUAssIunSMLjJ53YJBDpns4QPAdZp 2G1XLfQ84s5WfGx5fXAZueytYsrycHwiza88JcnV4MW8bGYyi94/+yCI76KFgxAFQsNr TJUw== 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=pXn23hwRx1+waLnA9keHqYIDJ+qkARc9VyWH0S7lt/8=; fh=ZJK4o//82qQQiWYqgKfqU5eGqHsZe1VRYnMZGHdRvvQ=; b=ZKqsJBeYS12FmG1AnPxDsdFf/nL7vG1rrTVdSP6PKbSWwQ++6iWpEpJMsm7EzblFNa BLvBeiW5FkoYI4j1tDpSEcrkQ6L30DwyAROC3OAjyhLzqd0yTZB22mPRE5+d6ipyekDX xP4lhoX5aR5dhAn+8ynGvtJI9kgg/d+SPWLT1i3N28g0jbEKktAQrw22omjBWOVaadJR qTpH8rRfYRW98PqjK8tIU5IURMF2JVDCJLzqJbxtFAl+/q3TeVQajN6YvGTSYpXCiUoe zjqzuvVM9lq8fMxPU4oskE6RW64OH+ED4uPRL8WDkMvHB9lSwI1S3x0Hinp2tImHg4VG m+YA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jSWUVzZs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184215-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184215-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 d9443c01a7336-1f302b03f91si21374815ad.360.2024.05.20.15.27.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 15:27:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184215-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=jSWUVzZs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-184215-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184215-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 C1CDF281837 for ; Mon, 20 May 2024 22:27:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE03F3D963; Mon, 20 May 2024 22:27:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jSWUVzZs" 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 1C2302D05D; Mon, 20 May 2024 22:27:23 +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=1716244044; cv=none; b=WpNMCChw1eSXS12/g+QMcwPKDPd3qN2jDY34Vzg3XHAizmsqVWFLgdvmDnUYofRBYwjy9HHYpu+t3Ob/5OVCTNGjI7d0U0p7GpqRsFUyhIPahOGmS2gl3XNn7yIZVeHTAAGPBLsDoOa6+gnLgY1/svTWDOOAV0z11FcSuY0WRNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716244044; c=relaxed/simple; bh=A4335sSIXxSmnvWq25uzN3eOtMetrX9olnAwnD6I3O8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=DE9mAXixIlq6kZBixKL5ZWJD5VIA74KJEh4v49oL2oZqg2HoUaPPfgclXhoSNJy3vaAANJJq/RmEpF/+hbXfBd4SScO5TMU3DFRYDrsXMuiPKpAJ3eox2QiUoHJlsGmSwQE+M744IFmEkI3UPuyhq3eQVn5iKmhbClYfUuacmSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jSWUVzZs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B863C32786; Mon, 20 May 2024 22:27:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716244043; bh=A4335sSIXxSmnvWq25uzN3eOtMetrX9olnAwnD6I3O8=; h=From:To:Cc:Subject:Date:From; b=jSWUVzZsOzzfjNNR6COy5iu43SEw9an/h08K3UwU44Y8aVHFtKBEliBun26ei13rR Fks3mR3dWTpbxbCJpAkbW2+ORuu2WsixgPMnQfErAm0C32EBNFgffeGp+naaJDq3Lk 3IZltRLT0E4TSBsXggeBVzqhI84BB6B6IqkMpukjqeAVp6pP2PunWg0j/UFy+x8uNR bDUbyXUbWQN9T0UTLNz+vJezXrmSTZ9baBQ6NU156HgcqQJVif7yTnPyUOzGhHd3ZM R3ppI4db2qLhDkviAeXGdQH2LGTMjzrUstRk0AmDM+6ciPpDCL0o7lK2ZiP6B8BWCL Ic8GCXrXq+IKQ== From: "Rob Herring (Arm)" To: Olivier Moysan , Arnaud Pouliquen , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue Cc: alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: dt-bindings: stm32: Ensure compatible pattern matches whole string Date: Mon, 20 May 2024 17:27:05 -0500 Message-ID: <20240520222705.1742367-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 The compatible pattern "st,stm32-sai-sub-[ab]" is missing starting and ending anchors, so any prefix and/or suffix would still be valid. This also fixes a warning on the example: Documentation/devicetree/bindings/sound/st,stm32-sai.example.dtb: /example-0/sai@4400b000/audio-controller@4400b004: failed to match any schema with compatible: ['st,stm32-sai-sub-a'] Signed-off-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/sound/st,stm32-sai.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/st,stm32-sai.yaml b/Documentation/devicetree/bindings/sound/st,stm32-sai.yaml index 59df8a832310..f555ccd6b00a 100644 --- a/Documentation/devicetree/bindings/sound/st,stm32-sai.yaml +++ b/Documentation/devicetree/bindings/sound/st,stm32-sai.yaml @@ -68,7 +68,7 @@ patternProperties: properties: compatible: description: Compatible for SAI sub-block A or B. - pattern: "st,stm32-sai-sub-[ab]" + pattern: "^st,stm32-sai-sub-[ab]$" "#sound-dai-cells": const: 0 -- 2.43.0