Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp7616802rwi; Mon, 24 Oct 2022 17:44:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ccOwQFhxIGBp2+AgtYxO+hHu0qg4Ak8UNfcaEwtMvGyUhc08vKumhWkGnOKBwp7knAPer X-Received: by 2002:aa7:d1c3:0:b0:461:c627:2a7b with SMTP id g3-20020aa7d1c3000000b00461c6272a7bmr7171152edp.231.1666658648460; Mon, 24 Oct 2022 17:44:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666658648; cv=none; d=google.com; s=arc-20160816; b=Ek3v9Lp2XKF1hkX39W+OKLgqTNT1RFn/yLLb8MEiL7D0tSE/EVHbh+PLm/oOArUnef dFmo9dFfFGeoBgeSP/vnKEBGkPEELhMzyw5Ut+H/PHTz6K8b7XrQOEAM9EBr7bX2K6jy 2FW1MIrdFz6FOW8oprSi2Tf5KiV8hq+ZvgsqueEzLQNa566wtcM8qhjukpJ5mAKwQ/6n /O8c4IWnsIdl/GHbz0uv8TiA+KPGQpJq9NJfqVhjVUbGvl89amT5ryVRhoW66Gg/r62n 2QhQ+bL2Wx9a3dVpqvLbSwk4Ny4sIG6g34LmRw/G0FYiFfNI0tITe2hnIV1EsJkMn/Pm FScw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=98Tc85EuDyxwX9CpzA9xhFHIPw1tuYPhqYBrpF4fse0=; b=MpvMtXBh0ZRF6X7ihPoQkkkchMp4g2EI/Td5t/4Q7taknxinZtWyhreY87wK9U19lA saxEWxQqFXoLtBO+z/2QposXx/Fj6CQBccVdV7EUevRNVJBJuzjcGwUKdKsB9pwLAnEl qYmCDwlFYGbQTUL2gGHIZm2mx+HHA7jYNRG+k1cw6XqeUpVvSsCZlnc8S1ARXsiou9jv nlZOaIni4gn61h45D7c01Uw6RT75PZ3rNt35ld/YIe/5E/TsjxYEG7KXnLBHDr550dZh LsEZB+ZqBjaykFPe+/pL/Qst9TTCAOZMKlhW1d10w5dCp2FsqB5nVGYGxu7q3KZisQ60 6HoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bMUwQ7iy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg42-20020a170907972a00b0078e31b05896si1164043ejc.766.2022.10.24.17.43.43; Mon, 24 Oct 2022 17:44:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bMUwQ7iy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230307AbiJYAj6 (ORCPT + 99 others); Mon, 24 Oct 2022 20:39:58 -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: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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Ă­colas F. R. A. Prado --- .../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-rt5682.yaml b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml index 478be7e3fa29..c6e614c1c30b 100644 --- a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml +++ b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml @@ -34,7 +34,7 @@ properties: properties: sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle + maxItems: 1 required: - sound-dai @@ -48,7 +48,6 @@ properties: maxItems: 2 items: maxItems: 1 - $ref: /schemas/types.yaml#/definitions/phandle-array required: - sound-dai -- 2.38.1