From patchwork Fri Dec 13 14:02:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13907142 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 6AE6FE77180 for ; Fri, 13 Dec 2024 14:03:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E66F510F02C; Fri, 13 Dec 2024 14:03:25 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="PAgpesZM"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4B59810F01A for ; Fri, 13 Dec 2024 14:03:22 +0000 (UTC) Received: from [127.0.1.1] (91-157-155-49.elisa-laajakaista.fi [91.157.155.49]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6AA11D53; Fri, 13 Dec 2024 15:02:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1734098566; bh=yMXL7ef74+Rsd5fAmiBKorgMPkSnb9HmF+N5rIwhjCM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PAgpesZMmzADJifGEJTC+exrF4k2d/zpa0Wbi/S5nUZgdh3rpKc1vtd+Yu4/35mN1 LRRaeSoxzK4ewSd1AY6IvvkF4KL6cEQQDx64SCljxg9GJV8uR6TdZ+aDk8/k2vl10P Rjd0He0P/1qZg7c5bdEuGphfw2dY8AhJViol4DbI= From: Tomi Valkeinen Date: Fri, 13 Dec 2024 16:02:59 +0200 Subject: [PATCH v4 3/7] dt-bindings: display: renesas,du: Add missing maxItems MIME-Version: 1.0 Message-Id: <20241213-rcar-gh-dsi-v4-3-f8e41425207b@ideasonboard.com> References: <20241213-rcar-gh-dsi-v4-0-f8e41425207b@ideasonboard.com> In-Reply-To: <20241213-rcar-gh-dsi-v4-0-f8e41425207b@ideasonboard.com> To: Laurent Pinchart , Kieran Bingham , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Michael Turquette , Stephen Boyd , LUU HOAI , Jagan Teki , Sam Ravnborg , Biju Das Cc: Laurent Pinchart , dri-devel@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Laurent Pinchart , linux-clk@vger.kernel.org, Tomi Valkeinen X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1884; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=v+qXxJbhngvJ+5f8hZKCC2lQ2TNaw5dkcLJWzHn5v0s=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBnXD6g3MHksETjLkCJlPbHtKr9YP1gT77uZzE1I vbgd5SHOh+JAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZ1w+oAAKCRD6PaqMvJYe 9TSHEACKdkm6C4AH9LRaRdOlO6kqv7vz5TCD9OjUJSZNZbTcz969yDysspKzrWm/Th9P6KnTxeC Bgg/v+kDJjDQjjstiUv9WtDXvZ+pICEkehI3CBgBSwCRtovmRtAZ5Q8uEMdXjUlIMBqqFYe3SdU Rh11WDSvSYLDe91Nq+Zz+gAA3v+dq0xbVzOMjQa//itxom3LNjFCPxIIbZIPX83xp6gjF18vBL+ ikpzokPFtBV/CMctcyGZ9wul5ykGn+fIfrGozQ0pE79oy63RUqN5npjgHSJZXmRLlIg6Ovpujwk lxtWVNP2fyVuzFZiqQm2sKAnR1h1dqqvWZQz8hznbkhQIDgu+46AXf4+uNNT+w2qQ3A2Y2khZx3 ftAOyHJnaH98m4nsgcH2ZUjTzOOGi+jbD90BApFkcamY33jGCPK4D38qH5fO6WvYmrvB5/Fo+ox djoVWzYuB0DxDA1b14Ayl0PmviVedIzbMouYYxkF+EQ6OCbF47l8PRQNRAV5Ot9R47tEQCz7WrB Nn/iYEbRHNMWPyEzXAoDhcudbRJqK2o0Ur11iAdFfbwB9uZgVMdtZp+pAaVPmerf/4C0YZZjXxl 679TEz6I8uWM9D/XrTvO3AhC+dTldCs6P2MK5YbdCk+pfpzkkFHAcl6StGoa4fU+3FZjGsVx4Xm FZs9CFR57k8JMfw== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 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" From: Tomi Valkeinen The binding is missing maxItems for all renesas,cmms and renesas,vsps properties. As the amount of cmms or vsps is always a fixed amount, set the maxItems to match the minItems. Signed-off-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart --- Documentation/devicetree/bindings/display/renesas,du.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/display/renesas,du.yaml b/Documentation/devicetree/bindings/display/renesas,du.yaml index c5b9e6812bce..e5fbc4ffe29c 100644 --- a/Documentation/devicetree/bindings/display/renesas,du.yaml +++ b/Documentation/devicetree/bindings/display/renesas,du.yaml @@ -489,9 +489,11 @@ allOf: renesas,cmms: minItems: 4 + maxItems: 4 renesas,vsps: minItems: 4 + maxItems: 4 required: - clock-names @@ -558,9 +560,11 @@ allOf: renesas,cmms: minItems: 3 + maxItems: 3 renesas,vsps: minItems: 3 + maxItems: 3 required: - clock-names @@ -627,9 +631,11 @@ allOf: renesas,cmms: minItems: 3 + maxItems: 3 renesas,vsps: minItems: 3 + maxItems: 3 required: - clock-names @@ -684,6 +690,7 @@ allOf: renesas,vsps: minItems: 1 + maxItems: 1 required: - clock-names @@ -746,9 +753,11 @@ allOf: renesas,cmms: minItems: 2 + maxItems: 2 renesas,vsps: minItems: 2 + maxItems: 2 required: - clock-names @@ -799,6 +808,7 @@ allOf: renesas,vsps: minItems: 2 + maxItems: 2 required: - clock-names