From nobody Sat Sep 21 11:52:26 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B600EC38A2D for ; Tue, 25 Oct 2022 00:40:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbiJYAkB (ORCPT ); Mon, 24 Oct 2022 20:40:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiJYAjm (ORCPT ); Mon, 24 Oct 2022 20:39:42 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7190B1FCC9; Mon, 24 Oct 2022 16:07:06 -0700 (PDT) Received: from notapiano.myfiosgateway.com (unknown [194.36.25.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7D27D6602319; Tue, 25 Oct 2022 00:07:02 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666652824; bh=syu6x+tQMYyXRnROEzYyOqlWI3pV6D/rMZw1lLuGM5g=; h=From:To:Cc:Subject:Date:From; b=bMUwQ7iyuh1NncKE+xbrlV4imgXvN327I0B1FFYOlO9RvlB4/vL5xDB5HkHfSrltg jqoPN/y0eDEWf0R0TqfMACGkLH/iC88vUEJEyjIy2hzRo2TL51zDjk84uo8rEZ2O2u fJ3Q9lCEFsbQAMMS+eT8uN+bdrbkWyQXLKaw+AN7nnZBTdJ1GopP7mGKT72fbCCtJA QkLmUSxiIDx2kftHEj3WQeYtpXNQpLRoBXZK4KrZRyce8QGIaCa5Kw/+2RRTT/6RPo wSsVI2XKgM9bJnwXyzcxPRU/XPrCf+rLUiVsmj0VlLDEDvu5t7q4vIC9N4KP15I8HQ S+iDU7uVQPNDA== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Mark Brown Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Jiaxin Yu , Krzysztof Kozlowski , Liam Girdwood , Matthias Brugger , Rob Herring , Shane Chien , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH] ASoC: dt-bindings: mt8192-mt6359: Set maxItems, not type, for sound-dai Date: Mon, 24 Oct 2022 19:06:57 -0400 Message-Id: <20221024230658.1772907-1-nfraprado@collabora.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org sound-dai is a standard property whose type is already set to phandle-array by sound-dai.yaml, so there's no need to set it (and wrongly so for headset-codec) in this binding. What should be set however is the maximum number of items, which for headset-codec should be 1. Signed-off-by: N=C3=ADcolas F. R. A. Prado Acked-by: Rob Herring --- .../devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-r= t5682.yaml b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-r= t5682.yaml index 478be7e3fa29..c6e614c1c30b 100644 --- a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.y= aml +++ b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.y= aml @@ -34,7 +34,7 @@ properties: =20 properties: sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle + maxItems: 1 required: - sound-dai =20 @@ -48,7 +48,6 @@ properties: maxItems: 2 items: maxItems: 1 - $ref: /schemas/types.yaml#/definitions/phandle-array required: - sound-dai =20 --=20 2.38.1