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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 4F86FC52D6F for ; Mon, 19 Aug 2024 17:11:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CFC9C10E310; Mon, 19 Aug 2024 17:11:57 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="hoZfb1pV"; dkim-atps=neutral Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by gabe.freedesktop.org (Postfix) with ESMTPS id D2B3310E310 for ; Mon, 19 Aug 2024 17:11:56 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id AB887CE0AD0; Mon, 19 Aug 2024 17:11:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9ECA4C32782; Mon, 19 Aug 2024 17:11:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1724087513; bh=yxprBbzXIBreAd4YHR01Nx4Vzjx/xfk6ZsgZ20Vi1C8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hoZfb1pVyS8RNG47epcVVwfA4Z+MrQWiW3ZH9/Bld0xoj7PCXasdTiQrAQjXQNLJH 0ILEux1Zzhd2il3gVgONY5U+P/VVFNgytAJoaFXVcNpyKwqLUSRflOGjYS87lypn89 cwLsoC8Ox9/4oQCdakE39SCmI3a8Kflv9JP9xaVBS211aTAb9Kp8YGdVXwP1LACrRz sj9xcnfd1Zi91xmDQyj/ICkXSK4yzcx92ZZf5I28DwH7T/P/BNAnQYbpNqCLXxab5j Rv1x5v2D/Ob0fPKAkz/EHpYwkCBEDPIHbnuzZMoB2vzDPvBSyEjtQGk7SNokpphG8E RESaOJeSN2MQw== Date: Mon, 19 Aug 2024 18:11:48 +0100 From: Conor Dooley To: Krzysztof Kozlowski Cc: Laurent Pinchart , Kieran Bingham , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] dt-bindings: display: renesas,du: add top-level constraints Message-ID: <20240819-destiny-sampling-e9bdaa79e128@spud> References: <20240818173003.122025-1-krzysztof.kozlowski@linaro.org> <20240818173003.122025-2-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xUU/JYu+XtKbnnug" Content-Disposition: inline In-Reply-To: <20240818173003.122025-2-krzysztof.kozlowski@linaro.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --xUU/JYu+XtKbnnug Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 18, 2024 at 07:30:03PM +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 clocks, clock-names, interrupts, resets, reset-names, renesas,cmms > and renesas,vsps. >=20 > Signed-off-by: Krzysztof Kozlowski Acked-by: Conor Dooley > --- > .../bindings/display/renesas,du.yaml | 26 ++++++++++++++++--- > 1 file changed, 22 insertions(+), 4 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/display/renesas,du.yaml b/= Documentation/devicetree/bindings/display/renesas,du.yaml > index 147842b6465a..9a2d1c08cb1f 100644 > --- a/Documentation/devicetree/bindings/display/renesas,du.yaml > +++ b/Documentation/devicetree/bindings/display/renesas,du.yaml > @@ -46,12 +46,26 @@ properties: > maxItems: 1 > =20 > # See compatible-specific constraints below. > - clocks: true > - clock-names: true > + clocks: > + minItems: 1 > + maxItems: 8 > + > + clock-names: > + minItems: 1 > + maxItems: 8 > + > interrupts: > + minItems: 1 > + maxItems: 4 > description: Interrupt specifiers, one per DU channel > - resets: true > - reset-names: true > + > + resets: > + minItems: 1 > + maxItems: 2 > + > + reset-names: > + minItems: 1 > + maxItems: 2 > =20 > power-domains: > maxItems: 1 > @@ -77,6 +91,8 @@ properties: > =20 > renesas,cmms: > $ref: /schemas/types.yaml#/definitions/phandle-array > + minItems: 2 > + maxItems: 4 > items: > maxItems: 1 > description: > @@ -85,6 +101,8 @@ properties: > =20 > renesas,vsps: > $ref: /schemas/types.yaml#/definitions/phandle-array > + minItems: 1 > + maxItems: 4 > items: > items: > - description: phandle to VSP instance that serves the DU channel > --=20 > 2.43.0 >=20 --xUU/JYu+XtKbnnug Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZsN81AAKCRB4tDGHoIJi 0lqzAQDEzNVptamgSWR7ZQT4b0vDeHuVE/bagG1JpSirSojIkgD5AYcRIBIW8BLr eqgIzbzIMcv8p4Npru/ForYsRWGYWww= =R730 -----END PGP SIGNATURE----- --xUU/JYu+XtKbnnug--