Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp844671rwe; Thu, 25 Aug 2022 10:05:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR69Q+jy0CP9iFiT0xPZ8ulFxUeU89DUx1K3f07fC2c0Mvi0QSd8fpPPF2eBcwilApJ+sqs2 X-Received: by 2002:a17:902:ce01:b0:172:59a6:fb3d with SMTP id k1-20020a170902ce0100b0017259a6fb3dmr37757plg.119.1661447105154; Thu, 25 Aug 2022 10:05:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661447105; cv=none; d=google.com; s=arc-20160816; b=fbHkY1RMmZJPg+q3bOWnoz+lWgO+86fsOVU4hQ96P+WGGJWDK6ouEyzWZ1GoaG2Ti3 U4GVacBB2xR6Y8X3FxQkdE1cKdDZUto+OUq4IStBjwMBlPz0UlccSSuhhhxQeqEOmyVT RWZMDycg9aw20nCHNAcvVN+TH6+QVpxHvhErlCtY80dta/VujcCcL49R2xvcbB+xfPtA FiYVDue2KIU1oqv9nW0gI4xIzxTDpqbL2yFzVLxuM0qThcFwC+7sUrTc3T5fJlluA3PR 6uVsOVtFh+zrzq0Z3VEnmGORK9VvBdPxc08mOMjK8j9EIXXgDXuLpD+fSggKEdCfFA9m nNPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k7+Xi2MxTTqcy2LIoJ7YdekY8+SZ64uocbIqYMKyD3U=; b=mXFQZ+RdZadufjn4A7pbA47pffIw2bAH/ngCPJgBrWT6N9ZARHwQoerdpdpY03s9p/ iymc17xrB+gQKd0t1cARaq/LCE3kO4CJIATeGUkq8MkIYsHbMHC6upzwsEpMh+YrxLQS JxaAz4IbCRtKdfKqJbHvVf9Wnhq8rohZhwav/pawHYaiGKLoOZMpevThSgcjkVs/phSX TWOct2h0hur7RM267IjFL/AdlCdiW6EvVYTra1uNP7Rvv8biCtPjdvdlWTGrG8V7emJR qYUoBJmSJLi/UIutjxtaHyERPqbZobgyDxIvEZBbHQT/YINDFnuL86OI//8EfFpYnSiQ VQtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jxBy97F1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a17090311c800b0016ee25d5004si23771764plh.347.2022.08.25.10.04.45; Thu, 25 Aug 2022 10:05:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jxBy97F1; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243069AbiHYRCb (ORCPT + 99 others); Thu, 25 Aug 2022 13:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243316AbiHYRCJ (ORCPT ); Thu, 25 Aug 2022 13:02:09 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6846DB72B9; Thu, 25 Aug 2022 10:02:06 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 82821CF6; Thu, 25 Aug 2022 19:02:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1661446924; bh=8oeuHbl2FrVXGoNzjN0JRcOQlh9nASs8oJGVUxHhuKw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jxBy97F1QAMpAKAkGrBJvTv1tOteCFGyoHs79u45zXuU130HaEIKiKnHvTEEYTCQh zkDd96NPUPE4Sc70FY/+59soLy91Jwfjf2bOt4ISwx2e9MLxq4ZxL8kr+aCvfUYbim L1HYWc5n2ispGZDDYoJarC6MDYTVa4fqdBG7fF5M= Date: Thu, 25 Aug 2022 20:01:58 +0300 From: Laurent Pinchart To: Krzysztof Kozlowski Cc: Rob Herring , Krzysztof Kozlowski , Kunihiko Hayashi , Masami Hiramatsu , Damien Le Moal , Michael Turquette , Stephen Boyd , Geert Uytterhoeven , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Alim Akhtar , Vladimir Zapolskiy , Herbert Xu , "David S. Miller" , Andrzej Hajda , Neil Armstrong , Robert Foss , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , Inki Dae , Seung-Woo Kim , Kyungmin Park , Thierry Reding , Jonathan Hunter , Masahiro Yamada , Florian Fainelli , Linus Walleij , Andre Przywara , Kuninori Morimoto , Yoshihiro Shimoda , Marek Vasut , Krishna Manikandan , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-clk@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-crypto@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH 5/5] dt-bindings: display: drop minItems equal to maxItems Message-ID: References: <20220825113334.196908-1-krzysztof.kozlowski@linaro.org> <20220825113334.196908-5-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220825113334.196908-5-krzysztof.kozlowski@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Krzysztof, Thank you for the patch. On Thu, Aug 25, 2022 at 02:33:34PM +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/display/bridge/fsl,ldb.yaml | 1 - > .../devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 -- > Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml | 2 -- > .../bindings/display/samsung/samsung,exynos5433-decon.yaml | 2 -- > .../bindings/display/samsung/samsung,exynos5433-mic.yaml | 1 - > .../bindings/display/samsung/samsung,exynos7-decon.yaml | 1 - > .../devicetree/bindings/display/samsung/samsung,fimd.yaml | 1 - > .../devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml | 1 - > .../devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml | 2 -- > 9 files changed, 13 deletions(-) > > diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > index 2ebaa43eb62e..b19be0804abe 100644 > --- a/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > +++ b/Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml > @@ -25,7 +25,6 @@ properties: > const: ldb > > reg: > - minItems: 2 > maxItems: 2 > > reg-names: > diff --git a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > index 880bfe930830..3b609c19e0bc 100644 > --- a/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml > @@ -66,13 +66,11 @@ properties: > 2 DSI links. > > assigned-clocks: > - minItems: 2 > maxItems: 2 > description: | > Parents of "byte" and "pixel" for the given platform. > > assigned-clock-parents: > - minItems: 2 > maxItems: 2 > description: | > The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block. > diff --git a/Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml b/Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml > index 716f921e3532..d9ad8b659f58 100644 > --- a/Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml > +++ b/Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml > @@ -37,7 +37,6 @@ properties: > > qcom,phy-rescode-offset-top: > $ref: /schemas/types.yaml#/definitions/int8-array > - minItems: 5 > maxItems: 5 > description: > Integer array of offset for pull-up legs rescode for all five lanes. > @@ -49,7 +48,6 @@ properties: > > qcom,phy-rescode-offset-bot: > $ref: /schemas/types.yaml#/definitions/int8-array > - minItems: 5 > maxItems: 5 > description: > Integer array of offset for pull-down legs rescode for all five lanes. > diff --git a/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-decon.yaml b/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-decon.yaml > index 921bfe925cd6..6380eeebb073 100644 > --- a/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-decon.yaml > +++ b/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-decon.yaml > @@ -24,7 +24,6 @@ properties: > - samsung,exynos5433-decon-tv > > clocks: > - minItems: 11 > maxItems: 11 > > clock-names: > @@ -59,7 +58,6 @@ properties: > - const: te > > iommus: > - minItems: 2 > maxItems: 2 > > iommu-names: > diff --git a/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-mic.yaml b/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-mic.yaml > index 7d405f2febcd..26e5017737a3 100644 > --- a/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-mic.yaml > +++ b/Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-mic.yaml > @@ -24,7 +24,6 @@ properties: > const: samsung,exynos5433-mic > > clocks: > - minItems: 2 > maxItems: 2 > > clock-names: > diff --git a/Documentation/devicetree/bindings/display/samsung/samsung,exynos7-decon.yaml b/Documentation/devicetree/bindings/display/samsung/samsung,exynos7-decon.yaml > index 969bd8c563a5..c06f306e8d14 100644 > --- a/Documentation/devicetree/bindings/display/samsung/samsung,exynos7-decon.yaml > +++ b/Documentation/devicetree/bindings/display/samsung/samsung,exynos7-decon.yaml > @@ -22,7 +22,6 @@ properties: > const: samsung,exynos7-decon > > clocks: > - minItems: 4 > maxItems: 4 > > clock-names: > diff --git a/Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml b/Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml > index 5d5cc220f78a..210d856b3b57 100644 > --- a/Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml > +++ b/Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml > @@ -27,7 +27,6 @@ properties: > const: 1 > > clocks: > - minItems: 2 > maxItems: 2 > > clock-names: > diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml > index dbdf0229d9f6..4755a73473c7 100644 > --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml > +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml > @@ -59,7 +59,6 @@ properties: > maxItems: 2 > > power-domain-names: > - minItems: 2 > maxItems: 2 > > allOf: > diff --git a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml > index 4154ae01ad13..5f4f0fb4b692 100644 > --- a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml > +++ b/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml > @@ -42,11 +42,9 @@ properties: > maxItems: 1 > > interconnects: > - minItems: 6 > maxItems: 6 > > interconnect-names: > - minItems: 6 > maxItems: 6 > > operating-points-v2: -- Regards, Laurent Pinchart