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 96FFBC52D6F for ; Wed, 21 Aug 2024 20:07:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To: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=62B5bGj0FOMI2S64y93x7du3CO/ITse8ja6SHmOuA1I=; b=crjdOGeKZoImbU0xxr7H7dypOE WA6osnEYSYkEsBuonIYprRVzGIRiUik4HZ2Hn9zI3KGT7znhRyRd455cqK5yhklqURZiQ5vX8/x87 9rdw/tyEl94r56aKJ4hPbF6lgUl+i3jRbIBcrFpkMT+dnkEOKmkBP43NJcsjEJLltNG70oQTREHfH Hgr0apBJxnm6OXal0T/rfO35zlOILg08FdpkLeVPaakq4wxVzCIkFjMQ85++u5FrWfWRBBcTVaPwF 36gKsXHhsNNOm8O1WA2NBfw5zW9NEV4CSVNy+DG/Oe7YFCs8YOu5aAJ35ODlUAe6sM3lyRDgbg3la eqzTdw9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgrc7-0000000AFaa-2ly9; Wed, 21 Aug 2024 20:07:27 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgrbO-0000000AFVb-3Kvt for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 20:06:44 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id CF5F2A41D64; Wed, 21 Aug 2024 20:06:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DEC7C32781; Wed, 21 Aug 2024 20:06:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724270801; bh=vq4i41ddTv1QbpXx1GaVqVWySCl8p9LHMx5IMZcoRA0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NfZvrrYluhBrsNSyj1NmLmqNgSKWZZojn8EyfObCElZtGO/IYitPjFE3VlwZxNjoa KwmEnU/ibMt7cA84u3Kg3NGsz+flkPv9PHU1dF2tuJ2diL+Ln2KAVrAUr5HEPSm5Sp 27qURFqAMTgpvXrIs47qBl5ee0CRAoNfZh1zgcvC6mNDVmwGKHyL7SYsJiKWJl4Au5 bHvumvdpW6eM0u7RIeu8w7R6jrmxoF8UWY9uBgajCKlx/01oXUSOMP88GaHu3HZ+FE foxUYl+1wTLMXXQz6dPIhejZ46sNGyj0ERg69wSvPmd/hN2A0cseqhg9HAnRZmEdJy iI+2HkX5zkxOQ== Date: Wed, 21 Aug 2024 21:06:33 +0100 From: Jonathan Cameron To: Conor Dooley Cc: Krzysztof Kozlowski , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Fabrice Gasnier , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: iio: st,stm32-adc: add top-level constraints Message-ID: <20240821210633.3741bf8f@jic23-huawei> In-Reply-To: <20240819-outflank-variety-3fcb7ca0338a@spud> References: <20240818172951.121983-1-krzysztof.kozlowski@linaro.org> <20240819-outflank-variety-3fcb7ca0338a@spud> X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240821_130642_933513_157CE1DC X-CRM114-Status: GOOD ( 19.44 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 19 Aug 2024 18:13:22 +0100 Conor Dooley wrote: > On Sun, Aug 18, 2024 at 07:29:51PM +0200, Krzysztof Kozlowski wrote: > > Properties with variable number of items per each device are expected to > > have widest constraints in top-level "properties:" block and further > > customized (narrowed) in "if:then:". Add missing top-level constraints > > for clock-names. > > > > Signed-off-by: Krzysztof Kozlowski > > --- > > Acked-by: Conor Dooley Applied, Thanks, Jonathan > > > Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > > index ec34c48d4878..ef9dcc365eab 100644 > > --- a/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > > +++ b/Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml > > @@ -54,7 +54,9 @@ properties: > > It's not present on stm32f4. > > It's required on stm32h7 and stm32mp1. > > > > - clock-names: true > > + clock-names: > > + minItems: 1 > > + maxItems: 2 > > > > st,max-clk-rate-hz: > > description: > > -- > > 2.43.0 > >