From patchwork Wed Jan 24 19:07:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 191732 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1198645dyi; Wed, 24 Jan 2024 11:09:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGU5cLJMfID4VpJeuOLuXVX3EZhDslj4IdX40ItE2BKLjQwwnw74YP3XtYvkAquMMKZAus1 X-Received: by 2002:a05:6870:d18b:b0:210:8750:5ab0 with SMTP id a11-20020a056870d18b00b0021087505ab0mr3574462oac.42.1706123376784; Wed, 24 Jan 2024 11:09:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706123376; cv=pass; d=google.com; s=arc-20160816; b=TXlwJ3x40TwvNNI2u10dCiPI82HjihADp/UgCxUzSSjhcsAwcSsnSUHBj4t9ZWch6K M/PC23yY8VSTdyFV3ctFN3AAuDMETtMS6XvUqW5QxbvdHkngm5dk+wVAdfZuZ4ijxi3M 0blgReYm5j8qkq7c38cTMiutsCO7TeskoJtaWsXE3yfJpUX1PbFaWCLkdLDnobcDfd5X DSA97vCVZgB44/NGM6+5TLuux2Bo9p4qClftBwW4VoiUKLMQcKb9kkA1n04UeKL/QJw6 4db7pcD2Qd9fq834S+LGmc9I1uU86ytOY+zzzidp4MxPVtDbBiTIF0OC/9w84Q+UU9+v gnPw== 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=UFDqCjFvLf753qWvk0wbgserMvIDwe9WFSOmJouJXVc=; fh=2khJNsHpDy/K6g4tJ/aAKd/0g1eUgTqhI9ZvCXdiKhc=; b=EQByxcNCgWp5qp/UwqEk8t4pQ+tBrD5B98vAhZqzy33sG4fD8VAVaWvvZeWr7abHQG FJir+B6N798BqO1dmLKc20ab5e/Nvl4j2z9DhOzG/Xa1HPMJSqpTt9Q21HYuU9LVGVdd lft4mHVgTsf0gn/+FcK+DLN/G50Or1IKCsZYYqvXlQ5kgqd/xI0rjJ1vAT+UrUg5YoCR eeHA/r92IvuZiEwxUBQ5xsQtTrZB0QKipCq4zixHSmDZaMP20UkdwzSbjr51ahRjmp+e oE5rEWumiulsWDvKo8wzehtU4y7Q5ybc5itlf0lqMFXEhmwzme7yQlt+TR7jTiEcXqcr NiNQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P3b1S1bK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37580-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37580-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t13-20020a0cb38d000000b0068192b3d468si10861399qve.195.2024.01.24.11.09.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:09:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37580-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=P3b1S1bK; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-37580-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37580-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 8E9781C222E0 for ; Wed, 24 Jan 2024 19:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DB331339A4; Wed, 24 Jan 2024 19:08:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="P3b1S1bK" 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 B3CCF132C0B; Wed, 24 Jan 2024 19:08:04 +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=1706123284; cv=none; b=UepKHYOnzh3riKLCX4UW7etisU054ncfo4yGZk6/8Vfgg1JQzAbFdPnV7fLbnRR5S+r19i46uIkFX+qRdODovh/O3TviyuETbf8/ATB6XWfSaIKOJu6jXsm+6N3i6eaD7RNl1tGCYiEPb77LIHt/XXpJjZnwhTGrZOVZDo/inQY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706123284; c=relaxed/simple; bh=SwchdVgBg6neJuhnWaXo7T47sqrW4qt3snXZHu9PtNs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KMRqgD6KxIoPD5Wn3nlYjFN+0FCjm6I7U1Uz/m43OeuiMjoI4sxNDvPslTpgtgCxq5DV1ezWQNwHSTh0o6bUKVqx7zHazJziBT7AiNhkpbI32LjuuoRkDQj4LHZ70bWRQo2WS7aTg7iugxbSj3GBn6mw8JR93KQUV6DuL+SjvnA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=P3b1S1bK; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 604BCC433F1; Wed, 24 Jan 2024 19:08:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706123284; bh=SwchdVgBg6neJuhnWaXo7T47sqrW4qt3snXZHu9PtNs=; h=From:To:Cc:Subject:Date:From; b=P3b1S1bKil47eshjiDtblLxITFGqJFOMDH93eef6oCv3d+NFUujUCkL0m2FYyS7VQ MNtPpYSC592H6rgLxd0In4yIr6Ehok+RZ1BL2CiuvNZ0ymEvL7QJZIWO0AqjDOzuG8 QhMtu79DN0UC12HUxGR+Ke2a1lTuJIE+cjEz1FgG8olWAxhU148efsxnNsKUU0eNky 4RRayonZbsCsgVP53MAeIKazX5s9xk1JRGqRELC7LjvnSUb9imGt9iYuilkcuY+VHA I3nY9aQBxKNhOvdCaCYE/0oOJSA0C9aowvu/e8QfFBO2aqzxuyhlInM/FDMc7a65cg A2h7xagDTitGw== From: Rob Herring To: Sylwester Nawrocki , Liam Girdwood , Mark Brown , Krzysztof Kozlowski , Conor Dooley Cc: Krzysztof Kozlowski , alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: dt-bindings: samsung,tm2: Correct "audio-codec" constraints Date: Wed, 24 Jan 2024 13:07:53 -0600 Message-ID: <20240124190754.1554899-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789000025927927917 X-GMAIL-MSGID: 1789000025927927917 The "audio-codec" constraints define how many entries(2), but not the size of each entry. Each entry is a single phandle. Define the size with an inner 'items' list. Signed-off-by: Rob Herring Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/sound/samsung,tm2.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/samsung,tm2.yaml b/Documentation/devicetree/bindings/sound/samsung,tm2.yaml index 760592599143..cbc7ba37362a 100644 --- a/Documentation/devicetree/bindings/sound/samsung,tm2.yaml +++ b/Documentation/devicetree/bindings/sound/samsung,tm2.yaml @@ -25,8 +25,11 @@ properties: description: Phandles to the codecs. $ref: /schemas/types.yaml#/definitions/phandle-array items: - - description: Phandle to the WM5110 audio codec. - - description: Phandle to the HDMI transmitter node. + - items: + - description: Phandle to the WM5110 audio codec. + - items: + - description: Phandle to the HDMI transmitter node. + samsung,audio-routing: description: |