Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3265844pxj; Mon, 24 May 2021 02:38:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL+YbeOxjOgHx5GFYqr0Bep1yZ+8COvlAGad8tpbwCvoW59StB6HJ9bOYw1TkckrUBlEsq X-Received: by 2002:a17:906:3a45:: with SMTP id a5mr23042792ejf.288.1621849135951; Mon, 24 May 2021 02:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621849135; cv=none; d=google.com; s=arc-20160816; b=J5ej6VoL/6teD1xB1XtleIG0/bHWMhXeWgaN+RfdVibo2byrtLWKKtM0iXqLENiF+m 0ZQ/VTFs8+Frpyf6nOxEkMXbgCosBP3qnuivRNo+7dAbA7vns4xotPGKCetalCPYxUHF CQIkgvg0xz3Y9E/uREjDfnaw58zuKl2bcWOvSyOv88oQp3WuhhUr27+s2lZj4DEThVwc rMFDRRROjSfWt0eVoBWVi+iBNX/hhWPnQVR1fMQhPLJkYDjRgomtFVeadrmV2QhSn1c1 thO0IUugpRGWMLKMfEEibhq0tjFLJFe7GE/DYT14RqJepgqILR/0w24fkrry9lylqvRx w30Q== 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=62PaeGm/tBJ//uGzYHNPfzzgrMdbT7h0TiIpVr9Cdhw=; b=vjyM0Ol8aOFn0TnZwZOYREm9CFmmAXeVdmcjDhFagNHJwDAjUEPw3kIj6KtO8/egp7 QS/3p8cuqPgOu7+m14zZ+N80fGdUppofJGJq7/WfdBFTFPy1ZnnoOWkZP0ImwBYM/2dP 0GcXJl7wWgKaqYVPtvNQ8F7Uf3fdiF7D1FQmfHbuyk+mbC/Dm6k8iUeQ0RbLOuLUCj3g g4U4Vwn2xojZ9uEId8ptiJTCz0Z1P5HwTZUCuhZZW/jNb8J3UogyKsoNO4ocAFjohOV4 jpmk6f6Dffv0DHqoQdLZRRCM2GOm8E9zPsTVITMAwdZW9TWMlmebYszmE4lekIUO//Gp E+Aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=oQTQ2EZX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fi12si13275194ejb.474.2021.05.24.02.38.31; Mon, 24 May 2021 02:38:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=oQTQ2EZX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232396AbhEXJgd (ORCPT + 99 others); Mon, 24 May 2021 05:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbhEXJgc (ORCPT ); Mon, 24 May 2021 05:36:32 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB6D1C061756 for ; Mon, 24 May 2021 02:35:04 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id f6-20020a1c1f060000b0290175ca89f698so11042130wmf.5 for ; Mon, 24 May 2021 02:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=62PaeGm/tBJ//uGzYHNPfzzgrMdbT7h0TiIpVr9Cdhw=; b=oQTQ2EZXiqyQF23C+25JhSVHZpnMy1UlC/iAjYjDU735seJre1JC5UDfqK3Fphitf2 LPpLz98GFdYTpeyVUHrCPkQHSQORehwA8nzL57nF56H/13kWRsF8F2Qij7/3LMbZ+XSV TPLUkOr73fIjwcGwCmmtcQf4XlAjAUjkWppdeJsdqG7QzqcuDvgl4KLAeYRKZTST5BLs uUzvxmewHR3agPx27h0hVMcAenRJeFAn2UqT38E7VPTwCTzI9j+ifDlU6g0IqrJDgLBr a6rPKGXu9TueSWkFkZMs/kI7TucgAe786TbD+uYsJoe3KHwH6KwWPe4BfpFpfCovJCQw 6Kew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=62PaeGm/tBJ//uGzYHNPfzzgrMdbT7h0TiIpVr9Cdhw=; b=SlgKh1ant3F0C4Hje6Fhom2FFHbXHBuGJKpOqrxsBXAr7UCyVRrWp80arsIVztDxjS WcGK2wqOaJDSZ/0lWrpRelSZpLByoH7uIrkmmVGDJaWho+UImLbPQaO3YSYGFK32rN0l Fj96fsn16nT12PIHckSFZ05m4TCKPRfRWXjuhnkjz/uJbKgf5xPeHKzxMIXQjX4oHxXb avHN0tlwnd4VB3f51uW2bRAkcbunMJSWS/5pBQ6+DeopSAdPfVnvP8LS1/xwMC+FcayP 6TuPM1stlnTw+I1MOuz86iqdly0XaGDpPCTSvacPEIxVqH821f/7tOQPjb5ObTUZO8ai 7DQw== X-Gm-Message-State: AOAM531F4ycfbo5zu2i/GZfAqX7UsCiSFCBClVc2ql/lmhddBDjxWkzH SHrDCZl6786AE7YqrKwvnLEHfXXECWV/YQ== X-Received: by 2002:a05:600c:35cc:: with SMTP id r12mr18373680wmq.157.1621848903248; Mon, 24 May 2021 02:35:03 -0700 (PDT) Received: from jackdaw.baylibre.com (82-65-169-74.subs.proxad.net. [82.65.169.74]) by smtp.googlemail.com with ESMTPSA id p6sm7317267wma.4.2021.05.24.02.35.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 May 2021 02:35:02 -0700 (PDT) From: Jerome Brunet To: Mark Brown Cc: Jerome Brunet , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH] ASoC: meson: gx-card: fix sound-dai dt schema Date: Mon, 24 May 2021 11:34:48 +0200 Message-Id: <20210524093448.357140-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.32.0.rc0 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a fair amount of warnings when running 'make dtbs_check' with amlogic,gx-sound-card.yaml. Ex: arch/arm64/boot/dts/amlogic/meson-gxm-q200.dt.yaml: sound: dai-link-0:sound-dai:0:1: missing phandle tag in 0 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dt.yaml: sound: dai-link-0:sound-dai:0:2: missing phandle tag in 0 arch/arm64/boot/dts/amlogic/meson-gxm-q200.dt.yaml: sound: dai-link-0:sound-dai:0: [66, 0, 0] is too long The reason is that the sound-dai phandle provided has cells, and in such case the schema should use 'phandle-array' instead of 'phandle'. Fixes: fd00366b8e41 ("ASoC: meson: gx: add sound card dt-binding documentation") Signed-off-by: Jerome Brunet --- .../devicetree/bindings/sound/amlogic,gx-sound-card.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml b/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml index db61f0731a20..2e35aeaa8781 100644 --- a/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml +++ b/Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml @@ -57,7 +57,7 @@ patternProperties: rate sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle-array description: phandle of the CPU DAI patternProperties: @@ -71,7 +71,7 @@ patternProperties: properties: sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle + $ref: /schemas/types.yaml#/definitions/phandle-array description: phandle of the codec DAI required: -- 2.32.0.rc0