From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E6F27C4332F for ; Fri, 16 Dec 2022 16:34:36 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 498B116B3; Fri, 16 Dec 2022 17:33:44 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 498B116B3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1671208474; bh=3U9MijwPMjs7Tfj5Ham7kzzyRfehVPhXuYVYSqNirvA=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=n7FxyaYxNh3xbPRBsVVV/116JxUtvvD9weIi+YhrI8YxCaxLiHQAnqkGNXgFC5xDL MfdsjHsp21TH90U5SPS+LUZiHiudVrXcMo1lmWub16Ola1gdgOHkzVtAOYPTNBJK1m U5Qgoa+jgs5jpLm1lNRqxliV/jUUqfFs/ljO19kw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 04A14F804E0; Fri, 16 Dec 2022 17:33:44 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 58294F804E2; Fri, 16 Dec 2022 17:33:43 +0100 (CET) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3ADEDF804D0 for ; Fri, 16 Dec 2022 17:33:37 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3ADEDF804D0 Received: by mail-oi1-f179.google.com with SMTP id r130so2395329oih.2 for ; Fri, 16 Dec 2022 08:33:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WdpQJXPwUnb7fStkLNmeiXBz/MV3q7NoGJn3vpIa2Uk=; b=nPzoiliNrZsWEGUzotK5TweBVMMxSDj791c7O0XTjjeD3cx7YJgJj28UQTLJQaH8gg qwjK4ljjJDQ7A2ol5S0zpGG/TY4twn4J4gOFWgB3gSwX7yKduUOaNcn3tF3d+kbG/UXG EL/J65pVc4l5FCbhGRs6/4uIYxnGspgoXkWAlE6PgO4oCcdyeQxuQDvO/BCnHsGqCXRl EyUas51ltLC1YKCxAe9Xs6fVitXQfbEWBFWltfQ9jlL5XVfC6S8ORlQElptv+KAQzGAB Cn6BULSa77klvPv927Y/ePFL/fSrmsvplHz7W0qg/2/RJTvAoklgI+mbc1oFfVDQW1x/ p2dQ== X-Gm-Message-State: ANoB5pmwnB2CPryIYi9SyPVJuJaq4cAszSG6md7FH0p50q7r0Uy2I4gs HhOqgrOKWTT0uxateJUxCg== X-Google-Smtp-Source: AA0mqf4tDeiIyYogKgvG5t14pw04hopCs2LWM+XFiXAzuvkeZRnDzAD8mzS7NAAAMyY6h/jtcy/Eaw== X-Received: by 2002:a54:4e99:0:b0:35a:1e78:dbe5 with SMTP id c25-20020a544e99000000b0035a1e78dbe5mr14379242oiy.55.1671208415753; Fri, 16 Dec 2022 08:33:35 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id n206-20020aca59d7000000b00354932bae03sm895871oib.10.2022.12.16.08.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 08:33:35 -0800 (PST) Received: (nullmailer pid 2862892 invoked by uid 1000); Fri, 16 Dec 2022 16:33:34 -0000 Date: Fri, 16 Dec 2022 10:33:34 -0600 From: Rob Herring To: Kuninori Morimoto Subject: Re: [PATCH 02/11] ASoC: dt-bindings: audio-graph-port: add definitions/ports Message-ID: <20221216163334.GB2839409-robh@kernel.org> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> <87sfhipynv.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sfhipynv.wl-kuninori.morimoto.gx@renesas.com> X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Linux-ALSA , Geert Uytterhoeven , Sameer Pujar , Jonathan Hunter , Mark Brown , Thierry Reding , Krzysztof Kozlowski , Mohan Kumar Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Wed, Dec 14, 2022 at 01:22:13AM +0000, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Audio Graph user needs "ports" not only "port". > This patch adds new "ports" on audio-graph-port to use it easily. > > Signed-off-by: Kuninori Morimoto > --- > .../devicetree/bindings/sound/audio-graph-port.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml > index 56d47dcab490..273da5a76b8a 100644 > --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml > +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml > @@ -97,6 +97,18 @@ definitions: > minimum: 1 > maximum: 64 > > + ports: > + $ref: "#/definitions/port-base" > + unevaluatedProperties: false > + patternProperties: > + "^port(@[0-9a-f]+)?$": > + $ref: "#/definitions/port-base" > + unevaluatedProperties: false > + patternProperties: > + "^endpoint(@[0-9a-f]+)?": > + $ref: "#/definitions/endpoint-base" > + unevaluatedProperties: false > + This won't work because any user that uses 'ports' here cannot add any properties to port or endpoint nodes which I thought was the point of this series. Rob From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CE93C4167B for ; Fri, 16 Dec 2022 16:34:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231552AbiLPQeB (ORCPT ); Fri, 16 Dec 2022 11:34:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231496AbiLPQdk (ORCPT ); Fri, 16 Dec 2022 11:33:40 -0500 Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 980E4E89 for ; Fri, 16 Dec 2022 08:33:36 -0800 (PST) Received: by mail-oi1-f172.google.com with SMTP id e205so2352309oif.11 for ; Fri, 16 Dec 2022 08:33:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WdpQJXPwUnb7fStkLNmeiXBz/MV3q7NoGJn3vpIa2Uk=; b=v+x5e7AHdFEiVl4yhk9ATCMCNmO4agJVAHzTmclgkRaoDkGPNhMyyARxXH/gj6iPzo 6wwvCdXJoHuklsanq2JGzbZaJcSPi83poiW9qOQ0lFlJMoqugtlEMg2CEkjKj3Z3fE+p eFBOO+dYYEirPzoOOnxeKkNM9ZFZXup0zP/WlorDJEEC8Dqw9YXR5lkWVX4hYiIqcFuq UDbLZTlUS12zSXoCwY1acttIdSjN53WpNnFK1ialoJJ/yJO4xrLAystFhEcQ67gP/6eE HLKcvDyywsyhagzMMKYL36UY/jFriEgY0DnyW1WIoJh/ZhZJsJKcXuUHwX99Tqs2e6CK Tgcg== X-Gm-Message-State: ANoB5pn6HUify/R6qVns9rM24Zs2pvcxotJrIdye9KsKH4FmOw5H7Vq7 w8upCGw4jBYlCjT5cMUYYg== X-Google-Smtp-Source: AA0mqf4tDeiIyYogKgvG5t14pw04hopCs2LWM+XFiXAzuvkeZRnDzAD8mzS7NAAAMyY6h/jtcy/Eaw== X-Received: by 2002:a54:4e99:0:b0:35a:1e78:dbe5 with SMTP id c25-20020a544e99000000b0035a1e78dbe5mr14379242oiy.55.1671208415753; Fri, 16 Dec 2022 08:33:35 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id n206-20020aca59d7000000b00354932bae03sm895871oib.10.2022.12.16.08.33.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Dec 2022 08:33:35 -0800 (PST) Received: (nullmailer pid 2862892 invoked by uid 1000); Fri, 16 Dec 2022 16:33:34 -0000 Date: Fri, 16 Dec 2022 10:33:34 -0600 From: Rob Herring To: Kuninori Morimoto Cc: Mark Brown , Krzysztof Kozlowski , Linux-ALSA , devicetree@vger.kernel.org, Geert Uytterhoeven , Thierry Reding , Jonathan Hunter , Sameer Pujar , Mohan Kumar Subject: Re: [PATCH 02/11] ASoC: dt-bindings: audio-graph-port: add definitions/ports Message-ID: <20221216163334.GB2839409-robh@kernel.org> References: <87v8mepyoy.wl-kuninori.morimoto.gx@renesas.com> <87sfhipynv.wl-kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sfhipynv.wl-kuninori.morimoto.gx@renesas.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Wed, Dec 14, 2022 at 01:22:13AM +0000, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > Audio Graph user needs "ports" not only "port". > This patch adds new "ports" on audio-graph-port to use it easily. > > Signed-off-by: Kuninori Morimoto > --- > .../devicetree/bindings/sound/audio-graph-port.yaml | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml > index 56d47dcab490..273da5a76b8a 100644 > --- a/Documentation/devicetree/bindings/sound/audio-graph-port.yaml > +++ b/Documentation/devicetree/bindings/sound/audio-graph-port.yaml > @@ -97,6 +97,18 @@ definitions: > minimum: 1 > maximum: 64 > > + ports: > + $ref: "#/definitions/port-base" > + unevaluatedProperties: false > + patternProperties: > + "^port(@[0-9a-f]+)?$": > + $ref: "#/definitions/port-base" > + unevaluatedProperties: false > + patternProperties: > + "^endpoint(@[0-9a-f]+)?": > + $ref: "#/definitions/endpoint-base" > + unevaluatedProperties: false > + This won't work because any user that uses 'ports' here cannot add any properties to port or endpoint nodes which I thought was the point of this series. Rob