From patchwork Tue Mar 23 16:36:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 406911 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp4609084jai; Tue, 23 Mar 2021 09:37:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN2Fagg0877zMGdS+N/XRiOElKajW1WRu8iK0tieAK4SkZd52rCinTn+lUscyOnztFMj4r X-Received: by 2002:a17:906:4955:: with SMTP id f21mr5993766ejt.74.1616517455361; Tue, 23 Mar 2021 09:37:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616517455; cv=none; d=google.com; s=arc-20160816; b=frrLLtGdCg9jO5bx8p+orWdDuSU/1C7VNjczQBZ0f9q6tOjgbB5b0QTo02DJGRp15P 1NfTB6CDo71rTsStQKvUN2vC5LrvATaf4dBYIZxhGr0IsNPFIjGqiXcCMm5DWME6mC20 OIIuzhWOJGrjE0kmwsEkhDUKXwbRvFiTwA4LWknDlM9J0CoBkJ8NRnVt0PQrdsjHlDCJ 2d4hV1awjPOp5XtJln7QcqGAgWaKfLhEagO4jH7llAdYK8ACYUYXrngxTHjQJ3pJXORM CcXbiU4Gp//9Vk8e0SHuwfVbfMIfQ/QrmTaBu2i6ZabiD7nTNZSaZjbT1q1SxaoeXulY CDAQ== 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=a5L9Gfl5bF9CWxUCr8sVjvHZWCe8RrXgbQdGFig1nYs=; b=OgWm7F5xf82yWPvBncxmKEcmSFIyOpXiO5cXr/rZNhGYt8gfuP3QcC9v91VTkIbk9X u/bhwGm6jmQbF+8WxJEJ+gq1ABgI0BSeIprwZuIL9GbW8DoDalbTHU0K6Auvf0Mhqwud UEH//tqWxUQ+IBGpPjrNOsANiWDgV6a3xaBLsuEdRIub6223VonKr8pKfT1w72Tjcb/W oQbyVr+9q9kz18pYltv71ldFA/bW5vckhViQvqt+j4J6oRrBVQnz4a5leg3z9QugD1YF hq02pg5506nCU4rAYGDeEb0pQl5+468ca7CkyKMX8VwswWQNbc2r4hNW0vD27Bc1ru6w 8qQA== 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 ga37si14306756ejc.4.2021.03.23.09.37.35; Tue, 23 Mar 2021 09:37:35 -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 S233364AbhCWQhQ (ORCPT + 6 others); Tue, 23 Mar 2021 12:37:16 -0400 Received: from mail-il1-f177.google.com ([209.85.166.177]:44896 "EHLO mail-il1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233376AbhCWQgr (ORCPT ); Tue, 23 Mar 2021 12:36:47 -0400 Received: by mail-il1-f177.google.com with SMTP id t6so18727760ilp.11; Tue, 23 Mar 2021 09:36:47 -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=a5L9Gfl5bF9CWxUCr8sVjvHZWCe8RrXgbQdGFig1nYs=; b=qzz82X7MbYKXB1iaTh7ZrLqm6aQze9Jxbnb1rUKRTxNe1VZPKjSok9Hb3nN0j+pPAS HqxZKgU6Bbdm3rvFWdMJB0JYGZAv9/0zaYSPMfy4hovzY9Rnd1gnbmKN0ZSJtZcxUh5e NKS9LKbHhztYhrnocsgSJxXfb69skFSa61xeW97hBTZJpRxGhz5oMUb8O46elTsWOaxr 9DWU1WEZQALFBM4sKl8A3fm5PMH0fcCnBsMjr7Gt6yBzXxv1SOjuGZhB2FDtDwNIAHW5 lnBnF8OGjeaBTxl05L6rDjBDoMtU1mRKDPGA1fqlFFtuys692jQsd7grIJ8sSwYiH9rB OOIA== X-Gm-Message-State: AOAM532ROP9U85viZ0shD2c2tzmLxp0/PCbCMNN/iz9d48cgNDdbC9zv O0Pqvwau5KhT8R15QjVZHA== X-Received: by 2002:a92:194a:: with SMTP id e10mr5753956ilm.213.1616517406984; Tue, 23 Mar 2021 09:36:46 -0700 (PDT) Received: from xps15.herring.priv ([64.188.179.253]) by smtp.googlemail.com with ESMTPSA id r18sm9771268ilj.86.2021.03.23.09.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Mar 2021 09:36:46 -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 3/3] ASoC: dt-bindings: socionext: Use audio-graph-port schema Date: Tue, 23 Mar 2021 10:36:34 -0600 Message-Id: <20210323163634.877511-4-robh@kernel.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210323163634.877511-1-robh@kernel.org> References: <20210323163634.877511-1-robh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Convert the Socionext audio schemas to use audio-graph-port.yaml schema for 'port' nodes. The number and numbering of port nodes should be documented, but is not. Leave a FIXME here so others don't copy. Cc: Masahiro Yamada Cc: Liam Girdwood Cc: Mark Brown Signed-off-by: Rob Herring --- .../devicetree/bindings/sound/socionext,uniphier-aio.yaml | 8 +++----- .../bindings/sound/socionext,uniphier-evea.yaml | 8 +++----- 2 files changed, 6 insertions(+), 10 deletions(-) -- 2.27.0 diff --git a/Documentation/devicetree/bindings/sound/socionext,uniphier-aio.yaml b/Documentation/devicetree/bindings/sound/socionext,uniphier-aio.yaml index 4987eb91f2ab..55ae198220f4 100644 --- a/Documentation/devicetree/bindings/sound/socionext,uniphier-aio.yaml +++ b/Documentation/devicetree/bindings/sound/socionext,uniphier-aio.yaml @@ -46,11 +46,9 @@ properties: patternProperties: "^port@[0-9]$": - type: object - properties: - endpoint: true - required: - - endpoint + description: FIXME, Need to define what each port is. + $ref: audio-graph-port.yaml# + unevaluatedProperties: false additionalProperties: false diff --git a/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml b/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml index 228168f685cf..48ddfcbbcbae 100644 --- a/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml +++ b/Documentation/devicetree/bindings/sound/socionext,uniphier-evea.yaml @@ -40,11 +40,9 @@ properties: patternProperties: "^port@[0-9]$": - type: object - properties: - endpoint: true - required: - - endpoint + description: FIXME, Need to define what each port is. + $ref: audio-graph-port.yaml# + unevaluatedProperties: false additionalProperties: false