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 BDFD4C433EF for ; Wed, 1 Dec 2021 22:32:48 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0D4992659; Wed, 1 Dec 2021 23:31:56 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0D4992659 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1638397966; bh=VCggAWdn5CwvXF3xxO8qfVdxeyozx3ZirbZTIz8iW+c=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=UJj6uljjwl32hNjOPoxOfomEuljQycJytvrANKpffSi+4fm/PaRfAtCjiGVCfWwSd 2FBeki7yjkHGzZpTuOvqUtFaSYf5Q3DB4wFxM9pppjmisn6L8Trw2bo4qwM+05GO2B jm7fJVk8tr0KgLASq9Cm5lRPHjGJ+br0NaLlfBgs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 783F0F80240; Wed, 1 Dec 2021 23:31:55 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id EE505F80246; Wed, 1 Dec 2021 23:31:53 +0100 (CET) Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1A894F800EE for ; Wed, 1 Dec 2021 23:31:43 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1A894F800EE Received: by mail-ot1-f45.google.com with SMTP id n17-20020a9d64d1000000b00579cf677301so37353885otl.8 for ; Wed, 01 Dec 2021 14:31:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=T5dDFTbqoVtVfAAIqapjKcFefz1Su1Y3Jb3TmXDSfLM=; b=qvVWExDeKySYyJtpCmTGpJ8wCn3SZtXfDp2jU07Mazeg5rQzcFaOxfv9WejSVUE30c JN1EoE/QPWaDgXmfEth74rOWMH7bw42ksJidX/IOkdL4CwyI8fTMwPd9JbSSyif0iSKM SihJIeADEAqDZ2n1ScQAyk/o/y3BA0co7oS+AL9gnROGsZKRVlXfTmnozf+JjU0VLxPI qpZIVnN+yfxwGyq+JhP1EGwbEYH3r6alfXRi2d0iKm9DRCBBg4dkjufroEd2nun165R5 4OxnBX1SFKvNIZuoFrLkEvhLJ0QmURBzbKThbPPmgWUU4UHbzAEV2HrDtDK4ySGd0nEX EEqQ== X-Gm-Message-State: AOAM533r/VrAVkrosmuyYZnkTh+/a3/ZOtqEixLxWxiPq3ghEi+yL01E Fb+fnBqZ3Qfzmi0yKe6cDA== X-Google-Smtp-Source: ABdhPJy8bnGR48W/xJpn01QnF07dEzkJUHFVw79LlhkqiRr6++P/Ysr9/PjH2SDv8XKQNdKBo6V6lg== X-Received: by 2002:a05:6830:2aa7:: with SMTP id s39mr8424157otu.151.1638397901599; Wed, 01 Dec 2021 14:31:41 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bi20sm592910oib.29.2021.12.01.14.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 14:31:40 -0800 (PST) Received: (nullmailer pid 2899335 invoked by uid 1000); Wed, 01 Dec 2021 22:31:39 -0000 Date: Wed, 1 Dec 2021 16:31:39 -0600 From: Rob Herring To: Olivier Moysan Subject: Re: [PATCH v2 2/4] ASoC: dt-bindings: stm32: i2s: allow additional properties. Message-ID: References: <20211125144053.774-1-olivier.moysan@foss.st.com> <20211125144053.774-3-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211125144053.774-3-olivier.moysan@foss.st.com> Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, Olivier Moysan , linux-kernel@vger.kernel.org, Alexandre Torgue , Liam Girdwood , amelie.delaunay@foss.st.com, Mark Brown , fabrice.gasnier@foss.st.com, Maxime Coquelin , alain.volmat@foss.st.com, arnaud.pouliquen@foss.st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, Nov 25, 2021 at 03:40:51PM +0100, Olivier Moysan wrote: > The STM32 SPI peripheral supports both SPI and I2S protocols. > In the SoC device tree the node describes the peripheral as an > SPI peripheral by default. This default configuration can be > overwritten in board device tree to use the IP as an I2S peripheral. > In this case the address-cells and size-cells properties from > SoC DT SPI node should not be checked against STM32 I2S bindings. > Set additionalProperties to "true" to allow these extra properties. > > Signed-off-by: Olivier Moysan > --- > Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > index 64b70ac539f8..33ba15363c0f 100644 > --- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > +++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > @@ -73,7 +73,7 @@ required: > - dmas > - dma-names > > -additionalProperties: false > +additionalProperties: true This is only allowed for schemas that are incomplete collections of properties such as common bindings. 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 47F39C433EF for ; Wed, 1 Dec 2021 22:33:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nqScyibIeBqXw4oSLsFMxkWg19VpuG0nJUc1jWOdH8g=; b=47IW7ibS6oUpm2 0ToX6cWtvwRNGeALx280sNlFeeS6jBNy7ez0yWbckagLCQNDV9OKCPegcLESQd5+NbiDYnAILiurY R9KTWdcFDF/gYByVO811TL0UIEgL1FeJSSpvaPD3Uq6rtrsamLqcc70oco2ijZvHn27A58m0zuzfU JCOZ4HuYg8ULlFpBYslm14FTlPdEu4w7uA969fegnabXDd75vNI15Rl/NIKSdh6NEMW62I+KAqwO1 m81g5k+YNh2e7Iz8D3dKrgzdycKVQm062Z4t5VV+U+A/hsQcPZBrTd6RhB7ImMrydLkRfTwUqZKB4 KGZe4IRke9vpU3yKcGIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msY8f-00AHN2-CW; Wed, 01 Dec 2021 22:31:45 +0000 Received: from mail-ot1-f49.google.com ([209.85.210.49]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msY8c-00AHMb-8x for linux-arm-kernel@lists.infradead.org; Wed, 01 Dec 2021 22:31:43 +0000 Received: by mail-ot1-f49.google.com with SMTP id x19-20020a9d7053000000b0055c8b39420bso37372495otj.1 for ; Wed, 01 Dec 2021 14:31:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=T5dDFTbqoVtVfAAIqapjKcFefz1Su1Y3Jb3TmXDSfLM=; b=44VIZA4rDxK4qE3+pTFyXlyubLOgPMiUBxh+tHy7OWckU2UtdLoNhVVhbtWBt09u+i 3FjIVWsIDerhvVOwfMfMFpXS5541mTFn2TAzdnDYFbir6T2T8h1xxFNN2w8aOn4LIITh ivlEayy5Du8dPLiD8pI7HIFvFlffFFQIXyDv7GCtWCjczPM0Rm5qHECdKCEVvDoYojOS 3EnW1Af1p+6Dg5VKqtkGXRnXl0TS/kwb8bPaMrxk8kedqhJ3XPjScwDID/49CfhRs0yj Mdwv20ZKk+6F0mnsicLHU3XaXkKunrbUgXxVTAJqgkBpLxqOT4Eo2bNX4DdJS5A3qoRa 6/KA== X-Gm-Message-State: AOAM533AYzpRKBcdPp6eWJznGE9esIRLWOuttYQUw0cXNK3ML3APZVkc ur6tblPbjPcKapbrALAFvA== X-Google-Smtp-Source: ABdhPJy8bnGR48W/xJpn01QnF07dEzkJUHFVw79LlhkqiRr6++P/Ysr9/PjH2SDv8XKQNdKBo6V6lg== X-Received: by 2002:a05:6830:2aa7:: with SMTP id s39mr8424157otu.151.1638397901599; Wed, 01 Dec 2021 14:31:41 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bi20sm592910oib.29.2021.12.01.14.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 14:31:40 -0800 (PST) Received: (nullmailer pid 2899335 invoked by uid 1000); Wed, 01 Dec 2021 22:31:39 -0000 Date: Wed, 1 Dec 2021 16:31:39 -0600 From: Rob Herring To: Olivier Moysan Cc: Alexandre Torgue , Liam Girdwood , Mark Brown , Maxime Coquelin , Olivier Moysan , arnaud.pouliquen@foss.st.com, amelie.delaunay@foss.st.com, alain.volmat@foss.st.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, fabrice.gasnier@foss.st.com Subject: Re: [PATCH v2 2/4] ASoC: dt-bindings: stm32: i2s: allow additional properties. Message-ID: References: <20211125144053.774-1-olivier.moysan@foss.st.com> <20211125144053.774-3-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211125144053.774-3-olivier.moysan@foss.st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_143142_365906_A2957584 X-CRM114-Status: GOOD ( 19.47 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Nov 25, 2021 at 03:40:51PM +0100, Olivier Moysan wrote: > The STM32 SPI peripheral supports both SPI and I2S protocols. > In the SoC device tree the node describes the peripheral as an > SPI peripheral by default. This default configuration can be > overwritten in board device tree to use the IP as an I2S peripheral. > In this case the address-cells and size-cells properties from > SoC DT SPI node should not be checked against STM32 I2S bindings. > Set additionalProperties to "true" to allow these extra properties. > > Signed-off-by: Olivier Moysan > --- > Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > index 64b70ac539f8..33ba15363c0f 100644 > --- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > +++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > @@ -73,7 +73,7 @@ required: > - dmas > - dma-names > > -additionalProperties: false > +additionalProperties: true This is only allowed for schemas that are incomplete collections of properties such as common bindings. Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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 69CACC433EF for ; Wed, 1 Dec 2021 22:31:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353630AbhLAWfN (ORCPT ); Wed, 1 Dec 2021 17:35:13 -0500 Received: from mail-ot1-f42.google.com ([209.85.210.42]:42977 "EHLO mail-ot1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353601AbhLAWfE (ORCPT ); Wed, 1 Dec 2021 17:35:04 -0500 Received: by mail-ot1-f42.google.com with SMTP id 47-20020a9d0332000000b005798ac20d72so37311371otv.9; Wed, 01 Dec 2021 14:31:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=T5dDFTbqoVtVfAAIqapjKcFefz1Su1Y3Jb3TmXDSfLM=; b=e6VKxm8ii0bpywP7FhVKOpVA+d/4HNzpb/ZRgmo54rxf9mwvuEYPz+7EcKN8bqgIzn Mz2wqIGuQoui8iTLfpLvpIn16VA2YxfycdLxc8gymU+W/gtcYYr8Pi8XOi9xoz3d7wU7 Ejj1kn3bTjP1vu4cBdzg0Anf4fwq64rXzjuqNDKopaUCn4c3Q8vlElqEGPgIZQ2TR78T VV0GPVLI4nFBRUPNsLVGIAIA2lw5CQIl/RrtjDnBNz6D2hfRdWbJ1kBSHSS/eBkDPNMT 3wjv5D9puJxdIJUPD8R/dBS+uCyQpzt+CzzTpD6FLky52/oha8Jjc2yAJuGuv4UJx7gV 8/0A== X-Gm-Message-State: AOAM530uJlHltI+1e7nk97kUhUo6HwsPfgwUhjVgZyzc3VVUPEvjaBdV tJ+zWam0/l+Z3uPbFPzkc9E2ccVNeA== X-Google-Smtp-Source: ABdhPJy8bnGR48W/xJpn01QnF07dEzkJUHFVw79LlhkqiRr6++P/Ysr9/PjH2SDv8XKQNdKBo6V6lg== X-Received: by 2002:a05:6830:2aa7:: with SMTP id s39mr8424157otu.151.1638397901599; Wed, 01 Dec 2021 14:31:41 -0800 (PST) Received: from robh.at.kernel.org (66-90-148-213.dyn.grandenetworks.net. [66.90.148.213]) by smtp.gmail.com with ESMTPSA id bi20sm592910oib.29.2021.12.01.14.31.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Dec 2021 14:31:40 -0800 (PST) Received: (nullmailer pid 2899335 invoked by uid 1000); Wed, 01 Dec 2021 22:31:39 -0000 Date: Wed, 1 Dec 2021 16:31:39 -0600 From: Rob Herring To: Olivier Moysan Cc: Alexandre Torgue , Liam Girdwood , Mark Brown , Maxime Coquelin , Olivier Moysan , arnaud.pouliquen@foss.st.com, amelie.delaunay@foss.st.com, alain.volmat@foss.st.com, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, fabrice.gasnier@foss.st.com Subject: Re: [PATCH v2 2/4] ASoC: dt-bindings: stm32: i2s: allow additional properties. Message-ID: References: <20211125144053.774-1-olivier.moysan@foss.st.com> <20211125144053.774-3-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211125144053.774-3-olivier.moysan@foss.st.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, Nov 25, 2021 at 03:40:51PM +0100, Olivier Moysan wrote: > The STM32 SPI peripheral supports both SPI and I2S protocols. > In the SoC device tree the node describes the peripheral as an > SPI peripheral by default. This default configuration can be > overwritten in board device tree to use the IP as an I2S peripheral. > In this case the address-cells and size-cells properties from > SoC DT SPI node should not be checked against STM32 I2S bindings. > Set additionalProperties to "true" to allow these extra properties. > > Signed-off-by: Olivier Moysan > --- > Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > index 64b70ac539f8..33ba15363c0f 100644 > --- a/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > +++ b/Documentation/devicetree/bindings/sound/st,stm32-i2s.yaml > @@ -73,7 +73,7 @@ required: > - dmas > - dma-names > > -additionalProperties: false > +additionalProperties: true This is only allowed for schemas that are incomplete collections of properties such as common bindings. Rob