From patchwork Mon Jun 14 10:27:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "gregkh@linuxfoundation.org" X-Patchwork-Id: 459817 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp3179459jae; Mon, 14 Jun 2021 04:09:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxILMgQQ1BwqIFWdbsfmG4+3wipPWcJfqoolq2rO56S9R0zjs8wh+r12oE5mSbTCIGfCBg2 X-Received: by 2002:a17:906:d97:: with SMTP id m23mr14908855eji.392.1623668957531; Mon, 14 Jun 2021 04:09:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623668957; cv=none; d=google.com; s=arc-20160816; b=tTVCqnt7uWeCdoNWEX6Zb3q7cmzFccHesGlespqA+MFHkcw+HEy71UkXYHkiMmax35 YNVS14am579ATLEq8HRb2AwVa9KDtMe+gchQe50gjbqx1lv0Pq/jKt1HsmfWWDsoC8Xn Bsozhw5c79xB2s/y2U2i+wvPWJ/OVG0/svYQo3JGbh77/exq/Zz7O9qgWKqwGA7NMRYi qEup356iI4Er2gUr8gYda7ouN/iV2DbmXWSVdSIlb4aA1E0M6LJdZOqrK9nfcikHhJ/a rbhZJmqyRhvcGBGog1xpRzO2BYKKaYBTlZW8IxqW58CVgSiszhAf9UL++eitUho4wehD WZxw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=8SLYfRWw6hHyfrNP2MASfDt6LdvxobiUdCqan5rnZL8=; b=k1Jr4DenJnPHT/L/skRkJ7hvksuoF6SlG8Q27VwmBYGjqkQfOJ/FkWyMnVCzBvUSBk m2sb3Rbp9YdCINLhtEzyLUYR3oRmMJiNm2bows+CaIP67f+H1efLJ0ensUxQgXMY0eAe 73Wg/s394iyBxVqfrouCkEb8meyVBF1eEMOtbadRYUrhmyBkCumASmXNlwhpfPnaJ1VW 2EPCPsh101MjS3Y9UENLVJdb+Wr0lzD7/ykjftbFg66r/kTmQFHGALHbLC2kctHlMiWw UyMVXY7hXu4wNgNzK5BAmB3+vrVMA0tvuCa0oG9aR4cibiicppu62rG++pyesqDDMn3k 3ccQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r3Slia9H; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si574263edc.212.2021.06.14.04.09.17; Mon, 14 Jun 2021 04:09:17 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=r3Slia9H; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233372AbhFNLIz (ORCPT + 12 others); Mon, 14 Jun 2021 07:08:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:39060 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234791AbhFNLGw (ORCPT ); Mon, 14 Jun 2021 07:06:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 622D16144B; Mon, 14 Jun 2021 10:45:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623667543; bh=7ys6ZJKH+Wz9SGxsaI3CUEtNvjkyrEdX0c3Ise/YfRI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r3Slia9HW1T4IArLAEeYn5RO4uBURpawY+79OEa04+0nhn+JOyFsMBLbfb4sFEhRl ig71JywjbDIV/8KgrPjVLMSwwCD7iIuYnkRNSTh5gVVhVndX5EJXSEtyI9v4ikIPC6 PJo7Lkj4+FOrZk3gB60iOna6ZPsFpb+xeHK3d8L0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jerome Brunet , Mark Brown Subject: [PATCH 5.10 110/131] ASoC: meson: gx-card: fix sound-dai dt schema Date: Mon, 14 Jun 2021 12:27:51 +0200 Message-Id: <20210614102656.741326333@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210614102652.964395392@linuxfoundation.org> References: <20210614102652.964395392@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jerome Brunet commit d031d99b02eaf7363c33f5b27b38086cc8104082 upstream. 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 Link: https://lore.kernel.org/r/20210524093448.357140-1-jbrunet@baylibre.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- 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: