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 41D3DECAA25 for ; Thu, 25 Aug 2022 17:01:37 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7421C10E87C; Thu, 25 Aug 2022 17:01:05 +0000 (UTC) Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id ADF8810E898; Thu, 25 Aug 2022 17:00:54 +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 DD8982B3; Thu, 25 Aug 2022 19:00:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1661446853; bh=mYxm2/ZQSUAqNjf6TPV9Uga5MGf0a/WGQVYTp0Vbn9U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cJKiZUsiYKU0GjYFoBm2yDpc4VBdHETjmst68J/OMzHQpgqrLfG5f9xxzUak+e9an XIkFarwVctZlLrE34BRMNeYe9Dfd8pshC9NpdK35R///HcJ9IHIy5BZevz50BEqHrS HSXtJSQ1PPvUMSKZxt75hBtuuc3J/9tabAYxrQMc= Date: Thu, 25 Aug 2022 20:00:46 +0300 From: Laurent Pinchart To: Krzysztof Kozlowski Subject: Re: [PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems Message-ID: References: <20220825113334.196908-1-krzysztof.kozlowski@linaro.org> <20220825113334.196908-2-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220825113334.196908-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: , 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:31PM +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/ata/brcm,sata-brcm.yaml | 1 - > .../devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml | 2 -- > Documentation/devicetree/bindings/ata/sata_highbank.yaml | 1 - > 3 files changed, 4 deletions(-) > > diff --git a/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml b/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml > index 235a93ac86b0..3766cc80cb17 100644 > --- a/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml > +++ b/Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml > @@ -30,7 +30,6 @@ properties: > - const: brcm,bcm-nsp-ahci > > reg: > - minItems: 2 > maxItems: 2 > > reg-names: > diff --git a/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml b/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml > index 21a90975593b..529093666508 100644 > --- a/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml > +++ b/Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml > @@ -22,7 +22,6 @@ properties: > maxItems: 1 > > resets: > - minItems: 2 > maxItems: 2 > description: phandles to the reset lines for both SATA bridges > > @@ -32,7 +31,6 @@ properties: > - const: sata1 > > clocks: > - minItems: 2 > maxItems: 2 > description: phandles to the compulsory peripheral clocks > > diff --git a/Documentation/devicetree/bindings/ata/sata_highbank.yaml b/Documentation/devicetree/bindings/ata/sata_highbank.yaml > index 49679b58041c..f23f26a8f21c 100644 > --- a/Documentation/devicetree/bindings/ata/sata_highbank.yaml > +++ b/Documentation/devicetree/bindings/ata/sata_highbank.yaml > @@ -52,7 +52,6 @@ properties: > minItems: 1 > maxItems: 8 > items: > - minItems: 2 > maxItems: 2 > > calxeda,tx-atten: -- Regards, Laurent Pinchart