From patchwork Wed Mar 31 14:27:48 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: 412881 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp538518jai; Wed, 31 Mar 2021 07:28:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+thbuXAR7iV2JnBvODoONRzFNnsfv3CGtV7rdULdB4wXwwtCnzAAWO8Il9xW/OVmPU+U2 X-Received: by 2002:aa7:dc4e:: with SMTP id g14mr4149937edu.114.1617200920869; Wed, 31 Mar 2021 07:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617200920; cv=none; d=google.com; s=arc-20160816; b=VJquXN86TG3AZ3fZ11z82j6BkaRbbBfxXgrOf2WmJd4wUaENlXqVqkBQEPTnwErUOO bb6+IsRqNn+ucAl+OqdqDdxYCkVqjJAlPU7PGm+M7q+b71R2cXw3tlW5E5vKO9LTEH1s +VF3C0tp4qSF8jEoqESkBGuGDVA9GKBi6/mgKh4GvIuQOYztKkuIhQc+RAlmnHmYbqpo rwClNxQOAKwClIWzLzO0tWkS8yHOLB773MgF2tAq4PlOxtvMOVdDvtUon5biIZuQ7mN/ qedHVVgizERZy0LNt/QvwJ5HUjPIrF8ABxqzS44FIM2s9+UN41x8qof94pIM8qa41PWf aHlQ== 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=Abq50/cCkYb4f8hxrSXkKNKu3hLjMIUtkdOATsnYflXoS0SKJCgtn8wxwdrGcleBtw sdZ77XPvmIVWGXuRRpt/AHMRBiKqsF9BPsOHba6zsb5p4htTZYcq2bxVJj57xxJ9csi4 JoNOoFvyBc2zkpYXRWDLPTvbyX4N3q/AvQUJ034f3xgrd2J8EG/NejN+93JhBGnUSTjT Ag15OtB2wEzYxslGFs7MgkUyjURt7ZqWO3Fgu1amTqn06YZlpAC1nClS6uroWT+OTcrM u6vI37we/J+mv2XhgINoZVvkRT1OZJ98CaRMhxKWLvT0V4zT7iL9NSbZq2wQWkqjxMqk DIhQ== 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.40; Wed, 31 Mar 2021 07:28:40 -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 S236059AbhCaO2G (ORCPT + 6 others); Wed, 31 Mar 2021 10:28:06 -0400 Received: from mail-ot1-f52.google.com ([209.85.210.52]:40827 "EHLO mail-ot1-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235951AbhCaO2A (ORCPT ); Wed, 31 Mar 2021 10:28:00 -0400 Received: by mail-ot1-f52.google.com with SMTP id w31-20020a9d36220000b02901f2cbfc9743so19081306otb.7; Wed, 31 Mar 2021 07:28:00 -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=IZkJCgd74DfkKmCuO1NJUr4ju9yJqO72gePDRAHWDarScho1v1ad0rpqB9iMp9Q6UA B9cIMIGNwf4v2HLuEu4ApAjx7obeoCd6n21MzeksFs8JLawMwbZnPJkGT/mVb9J//2nk ydu3nbpHSw0Xafo4sx2vDM16wz+IbpQNuBBExq2nhgKDrufjhqUNx/H4ztGiYP7MujF3 Wnxd49HrosbxNpTkbIG7aZWWMcQvcTv1CJgCvgWENQ/IKHMtIBr+MRob+Hrxs90HHZQX FWM6QKDWq2DJvzjIS9mjn/htuyuAKnoJ6derEaRdpMVT6b/OMNtIGhRhUIyHhkkWj/Dz aY8w== X-Gm-Message-State: AOAM532mrnBLpRit1qfVv8KNeNv+yKKu4D15kU7D2Ke8+7k9Fw5BxXbx pTkB5jr2W1m0z9326CUJlupZCAToPg== X-Received: by 2002:a9d:68d7:: with SMTP id i23mr3005001oto.133.1617200879927; Wed, 31 Mar 2021 07:27:59 -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.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 07:27:56 -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 3/3] ASoC: dt-bindings: socionext: Use audio-graph-port schema Date: Wed, 31 Mar 2021 09:27:48 -0500 Message-Id: <20210331142748.2163272-4-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 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