From patchwork Wed Mar 31 14:27:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 412879 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp538498jai; Wed, 31 Mar 2021 07:28:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDIv4aeNILyYjwAo3eLRKpVac6Jf7fqTPcGwc+qowE9euYyiHAIIgnhdXZhzWDaAUKY9jm X-Received: by 2002:a50:ee19:: with SMTP id g25mr4099236eds.351.1617200919045; Wed, 31 Mar 2021 07:28:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617200919; cv=none; d=google.com; s=arc-20160816; b=xry9svBWNC8mDP8jRgjXyXjh6kI7zvRH3vawkg2zgaW0CUKRipVDAZaDVXdMuLy4AO nPH+9SZZ8lxWx0y24cMel0luJEyA6XxttZ/3Ols7pn175g4pRWLVbnE1QvgDf6Ba94MD b6KcVmPnFp81mkH+PMN/h+hzGZaYsRjr86DWf0nWydgj2h2A4m72hRQ/YNb2NMsbi6pr osxCpbnxiH74hcmH3ICrc+pPnDOGv/HGwZQ7jZGCzkAVILKLUjbT0SOh5xBsDcxD5c6Q UIdzVhF3v5Cmo/+f/s6MplCrGz+1r1v/nsELOUY/2NKWV/mmJn3a/6kRcwu+9pdmxmMC LQ6w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VXRg8g46EQQdfaQQE5j+9aJCuQ11jH3qTJJtKuhoDX4=; b=s2CxKu7xah+LA5GRCvFfDFUCBXTHIspk+3+Cyh7Hk9zqO6hocQb1CvzJqjN4+51O3h nbcfZDxNlgfqNWIGcoNqWeBY62yadqUzf/Bk0CZY3Tf5I0LhnCgVTWxZXkD/1wFv55VF 6X5VcYIYzEY5sJZNTuxWtdzoQoPXPXF7yBwoSv4Ma7DIpefrcLOmAW3+KxtVm8qttM+V U0Vl/JDLZdY8TTkxhKelsa+n01NtJvzfcHXg+YCdWMcMd4vvMRdKP/3Os2kBFNlrCDWi NR44DoQny2reva8Xt3SdnmIIsbKUBdSsrLo3prC/gvKP8Ccku7wgAG+NsqhE8BXfGBjS CjWA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si1724059ejf.359.2021.03.31.07.28.38; Wed, 31 Mar 2021 07:28:39 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236026AbhCaO2F (ORCPT + 6 others); Wed, 31 Mar 2021 10:28:05 -0400 Received: from mail-oi1-f171.google.com ([209.85.167.171]:38739 "EHLO mail-oi1-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235948AbhCaO15 (ORCPT ); Wed, 31 Mar 2021 10:27:57 -0400 Received: by mail-oi1-f171.google.com with SMTP id v25so3560257oic.5; Wed, 31 Mar 2021 07:27:57 -0700 (PDT) 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=VXRg8g46EQQdfaQQE5j+9aJCuQ11jH3qTJJtKuhoDX4=; b=GT0N9sswpDDrCfRK/AG/XBdkm0AFlEM71K0MVOGS3wTXpXRkPB4e9tI09nvf5zVU7k uMvbgq5dwkMms7xPj+5YYtztCN8iEXp6Jstpl4nq4QpX+R2D17Sis4jKatuFfR3G8d1a zkUNh6K5WAmykHnNeGW13upFymVnJNlw0POp6D/8/HLwICYgFx9v5B7+CkyUV5ZxWrfr OjEsby3ZV2il/gltoMdzMEHQhU0tMRpRqK0NfgA7u2oBFt2FuYbPUeRYGkLrlP8Eh1Vs 9h7NlyB7RZh1VX7jpmRkEf/9SSNFMgT9cYE1diZkAW5rJ9z6UDlPPJDNyu49t2M4ZtS5 gMcQ== X-Gm-Message-State: AOAM530HJnmVKRcu6N+83aZN79686792kOVywp+dfUWhdU+5PBHnHmfv 8zYeg8OQQclNKIoA3coD0A== X-Received: by 2002:a05:6808:13d0:: with SMTP id d16mr2542244oiw.169.1617200875988; Wed, 31 Mar 2021 07:27:55 -0700 (PDT) Received: from xps15.herring.priv (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.googlemail.com with ESMTPSA id v136sm451146oie.15.2021.03.31.07.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 07:27:54 -0700 (PDT) From: Rob Herring To: Mark Brown Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-tegra@vger.kernel.org, Jonathan Hunter , Kuninori Morimoto , Liam Girdwood , Lubomir Rintel , Masahiro Yamada , Sameer Pujar , Thierry Reding Subject: [PATCH v2 2/3] ASoC: dt-bindings: Use OF graph schema Date: Wed, 31 Mar 2021 09:27:47 -0500 Message-Id: <20210331142748.2163272-3-robh@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210331142748.2163272-1-robh@kernel.org> References: <20210331142748.2163272-1-robh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Now that we have an OF graph schema, let's use it for the audio-graph-port schema. Cc: Liam Girdwood Cc: Mark Brown Cc: Kuninori Morimoto Cc: alsa-devel@alsa-project.org Signed-off-by: Rob Herring --- .../devicetree/bindings/sound/audio-graph-port.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) -- 2.27.0 diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml index 9f68142c9ae3..43e7f86e3b23 100644 --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml @@ -11,9 +11,10 @@ maintainers: select: false +allOf: + - $ref: /schemas/graph.yaml#/$defs/port-base + properties: - reg: - maxItems: 1 prefix: description: "device name prefix" $ref: /schemas/types.yaml#/definitions/string @@ -25,10 +26,8 @@ properties: $ref: /schemas/types.yaml#/definitions/uint32 patternProperties: "^endpoint(@[0-9a-f]+)?": - type: object + $ref: /schemas/graph.yaml#/$defs/endpoint-base properties: - remote-endpoint: - maxItems: 1 mclk-fs: description: | Multiplication factor between stream rate and codec mclk.