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 C08B2C3DA4A for ; Mon, 19 Aug 2024 17:22:54 +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:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9F7pG84GkuOuWL1XRMETMVFRq8815QEe1UEtVqmoF5I=; b=Ra6BijWRlG20auDaCC7/6l4HWS Y/zRVOd4c1LLIOTQISIdZ6mfLtmHsm/hclC/0vnpF9SwTTyERxBBcpoiBZEnJ2NpPss9OVpZ/x239 8c7RIFEOpIvL8/daXM75mFBthqCIvNjGhqwBLRKijMwqMhY+qPbMLlLNVRAS03oas3rczsARs/Niu mzDk/JLlEMLOYMMeorat+2SIdKvDp/1ZoOrigne5wtt+HtnKAQiOubbQP8MC4EWlbrSiSGr/F9Dzp 4QRWQILtJohwbjYlGh5JqvM/fhwtjfuW1Uylcjng5oKDEoFyYN615SEk+7JAcbgTCE0dCmyUG4U6b 7nV6xQ/g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg65d-00000002OH9-0shm; Mon, 19 Aug 2024 17:22:45 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sg5wf-00000002LlU-3bPn for linux-arm-kernel@lists.infradead.org; Mon, 19 Aug 2024 17:13:31 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 34C86CE0B01; Mon, 19 Aug 2024 17:13:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73EE3C4AF0E; Mon, 19 Aug 2024 17:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724087607; bh=rdULt6pgnvPdbgLF9J0oo7ynjstIM78aVEn7qoTMvlU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RGHhgwcM5zdbEbDwWVOPRrGY+xiK7S9IECv7bn41EQee+3AciVq4D4+usNFP7lZU8 d+dQ9UkCqNzKGLOLquIMhQeveDC7s9ZD0j7TThhbVP7IZcB376EJBTBitm02Qfz3iB hJc+ahNk7ZDm8svys76EeRB2fHeF+bY0KjwxLHrx2XikIIOFKofmFLTrG49CIx8L6G NLsVYskRSsgArVMOWiFILC7f/69wrk7Z54VibC6Fy7CUUQXecgXBBzYmOGVYysQo6Z xqAA1oG5/jfnOxLb1V3JctQ39GWo9CaEvZ4mwxvBurm9HX8KFXS65NrtlsBlas7I4f qhvVYjg1Tyf4A== Date: Mon, 19 Aug 2024 18:13:22 +0100 From: Conor Dooley To: Krzysztof Kozlowski Cc: Jonathan Cameron , 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: <20240819-outflank-variety-3fcb7ca0338a@spud> References: <20240818172951.121983-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Y0beHK2OB/Ya0e9O" Content-Disposition: inline In-Reply-To: <20240818172951.121983-1-krzysztof.kozlowski@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240819_101330_099002_AABAF8DC X-CRM114-Status: GOOD ( 17.77 ) 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 --Y0beHK2OB/Ya0e9O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Signed-off-by: Krzysztof Kozlowski > --- Acked-by: Conor Dooley > Documentation/devicetree/bindings/iio/adc/st,stm32-adc.yaml | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > 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. > =20 > - clock-names: true > + clock-names: > + minItems: 1 > + maxItems: 2 > =20 > st,max-clk-rate-hz: > description: > --=20 > 2.43.0 >=20 --Y0beHK2OB/Ya0e9O Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZsN9MgAKCRB4tDGHoIJi 0lWSAP4r3VaV8vxUGxyk/Gd68syU0Qbdc0hMEQWz/zPKArLpjgEAkmLmOnGOUeXx T1faMHwgTOz4iMURjAUYjB9JJX301wI= =/tpI -----END PGP SIGNATURE----- --Y0beHK2OB/Ya0e9O--