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 2B929ECAA24 for ; Thu, 25 Aug 2022 17:01:45 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D5CAE10E144; Thu, 25 Aug 2022 17:01:43 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 114C010E8B9; Thu, 25 Aug 2022 17:01:15 +0000 (UTC) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 645D7484; Thu, 25 Aug 2022 19:01:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1661446873; bh=FCUk4UJs1rAXkD8yKTUi2xkLbxR8BSJnGHMDu6Tlv+U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vVP5b4Ckd32ZmkRmIQfXChFT5SUW6KhbWgJ0Se0q3FUd+rZN8UrRZ2+P4aSo1gIUT TIqEDNB6jZGLySOL9TllsKec8hnvyTPHEw2LLRQjUezztg1py516hwnmr+5WlHG+86 p0WCAxjma9wDigMZDbXgA+6PpdwztKRuLxVBwkxU= Date: Thu, 25 Aug 2022 20:01:07 +0300 From: Laurent Pinchart To: Krzysztof Kozlowski Subject: Re: [PATCH 3/5] dt-bindings: clock: drop minItems equal to maxItems Message-ID: References: <20220825113334.196908-1-krzysztof.kozlowski@linaro.org> <20220825113334.196908-3-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220825113334.196908-3-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: , Cc: Andrzej Hajda , Geert Uytterhoeven , David Airlie , Michael Turquette , Tomasz Figa , dri-devel@lists.freedesktop.org, Masahiro Yamada , Thierry Reding , Krishna Manikandan , Alim Akhtar , Sylwester Nawrocki , linux-clk@vger.kernel.org, Marek Vasut , Kuninori Morimoto , Florian Fainelli , Kunihiko Hayashi , Krzysztof Kozlowski , Damien Le Moal , Kyungmin Park , Jernej Skrabec , Jonathan Hunter , Chanwoo Choi , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Jonas Karlman , Andre Przywara , Abhinav Kumar , Vladimir Zapolskiy , Rob Herring , linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, Sean Paul , linux-arm-kernel@lists.infradead.org, Herbert Xu , Neil Armstrong , linux-ide@vger.kernel.org, Stephen Boyd , Yoshihiro Shimoda , Seung-Woo Kim , linux-kernel@vger.kernel.org, Robert Foss , linux-renesas-soc@vger.kernel.org, Masami Hiramatsu , Dmitry Baryshkov , freedreno@lists.freedesktop.org, "David S. Miller" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Krzysztof, Thank you for the patch. On Thu, Aug 25, 2022 at 02:33:32PM +0300, Krzysztof Kozlowski wrote: > minItems, if missing, are implicitly equal to maxItems, so drop > redundant piece to reduce size of code. > > Signed-off-by: Krzysztof Kozlowski Reviewed-by: Laurent Pinchart > --- > Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml | 1 - > .../devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml | 2 -- > Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml | 1 - > 3 files changed, 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml b/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml > index 0abd6ba82dfd..82836086cac1 100644 > --- a/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml > +++ b/Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml > @@ -23,7 +23,6 @@ properties: > clocks: > description: > Common clock binding for CLK_IN, XTI/REF_CLK > - minItems: 2 > maxItems: 2 > > clock-names: > diff --git a/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml b/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml > index 6eaabb4d82ec..81f09df7147e 100644 > --- a/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml > +++ b/Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml > @@ -47,7 +47,6 @@ properties: > maxItems: 1 > > clocks: > - minItems: 4 > maxItems: 4 > > clock-names: > @@ -64,7 +63,6 @@ properties: > maxItems: 1 > > resets: > - minItems: 2 > maxItems: 2 > > reset-names: > diff --git a/Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml b/Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml > index 9248bfc16d48..d5296e6053a1 100644 > --- a/Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml > +++ b/Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml > @@ -34,7 +34,6 @@ properties: > const: 1 > > clock-output-names: > - minItems: 3 > maxItems: 3 > description: Names for AP, CP and BT clocks. > -- Regards, Laurent Pinchart