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 C19B7CDE025 for ; Thu, 26 Sep 2024 16:38:27 +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=w1FJdKOm32c+Ge8FTW9mqPZjuB6KQQTcj8OAX5YmD4o=; b=sj6GmvEvfCFw3RkkYgLwUeLxRN pf7Y87zsXpjyJL1W7k6jwyw+LXrAQ26odvEtOURA04n60K8exLpzOLGgKcAXe5PEHLmKB04Kj+/kX 5F/o6CBjjxgIbsKyH3zLzEPtZs+EjR3owiEsS5sw66jiHEfcrxnS5SN7bTNKv+CYHbuXvRJXcwsgo 00JYbdcGwL0TBoJXChzOGlPR3nfDpUG1xZva8ttP9KERbY3AB28d1TBJRq7/f5eZzisv62atodp3G eQdRaO37KcICOF0PUorZl2MME2URk99CarZJELvGoYflvPQzjaodwZcnsYv1k0/zYsaNERwVlfScq +++vxz0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1strVO-00000008uRd-10Sq; Thu, 26 Sep 2024 16:38:14 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1strUC-00000008uEz-2fvg; Thu, 26 Sep 2024 16:37:01 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D086E5C5EE8; Thu, 26 Sep 2024 16:36:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC584C4CEC5; Thu, 26 Sep 2024 16:36:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1727368619; bh=w1FJdKOm32c+Ge8FTW9mqPZjuB6KQQTcj8OAX5YmD4o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TJWIDfQiU3geDX/2aC7h48yAL5lr4yBVoaHkFfIiMG2WxAK9jVbdT8d0DDKwwCfrU VgGEIMqGfYackuRbizXofkLgd3uwft1kELY7e8nW7oXy8tmugyRHDWlMXuLKrDiVRB 4M+3Y0chGvD5CO/8hcYvhpmKffIvMleF1oZ76l0SCGdRoQ2LTzThDA4hci6c67GzCc UK29Sg2RR10ZjRqupgOeZK0+tCRHrpLtvLrO7e0xfItdeyN6G1jquRpAoM4/xDTgfX WmDpEC2Nqz4UvKwHtHtbm94EG0WKQxNunbFiwUfrfN1n8FUtRUNpXc6nebKIN3c6fP dd6gOhBKhV6UQ== Date: Thu, 26 Sep 2024 17:36:51 +0100 From: Conor Dooley To: "Rob Herring (Arm)" Cc: Krzysztof Kozlowski , Vinod Koul , Marc Zyngier , Thomas Gleixner , Laurent Pinchart , Paul Elder , Mauro Carvalho Chehab , Alim Akhtar , Jim Quinlan , Nicolas Saenz Julienne , Florian Fainelli , Broadcom internal kernel review list , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio , Andy Gross , Krzysztof Kozlowski , Jim Quinlan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] dt-bindings: Fix array property constraints Message-ID: <20240926-bullion-semester-024fab878903@spud> References: <20240925232409.2208515-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="uWcwIitsRojZdEUY" Content-Disposition: inline In-Reply-To: <20240925232409.2208515-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240926_093700_740350_3DD2F3D7 X-CRM114-Status: GOOD ( 11.56 ) 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 --uWcwIitsRojZdEUY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 25, 2024 at 06:24:06PM -0500, Rob Herring (Arm) wrote: > Schemas for array properties should only have 1 level of array > constraints (e.g. items, maxItems, minItems). Sometimes the old > encoding of all properties into a matrix leaked into the schema, and > didn't matter for validation. Now the inner constraints are just > silently ignored as json-schema array keywords are ignored on scalar > values. >=20 > Generally, keep the inner constraints and drop the outer "items". With > gicv3 "mbi-alias" property, it is more appropriately a uint32 or uint64 > as it is an address and size depends on "#address-cells". >=20 > Signed-off-by: Rob Herring (Arm) Acked-by: Conor Dooley --uWcwIitsRojZdEUY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZvWNowAKCRB4tDGHoIJi 0uo/AQCSoUq76yV2zPjc/Dv0ex3UOkszyyKeTqzAyCiuqne2QAD/WOq25LSaE13W /Ok8UcwWwBnHRPHDLu6I17O3OvhLEAk= =PPnK -----END PGP SIGNATURE----- --uWcwIitsRojZdEUY--