[Freedreno] [PATCH 3/5] dt-bindings: clock: drop minItems equal to maxItems

Alim Akhtar alim.akhtar at samsung.com
Thu Aug 25 16:58:38 UTC 2022



>-----Original Message-----
>From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski at linaro.org]
>Sent: Thursday, August 25, 2022 5:04 PM
>To: Rob Herring <robh+dt at kernel.org>; Krzysztof Kozlowski
><krzysztof.kozlowski+dt at linaro.org>; Kunihiko Hayashi
><hayashi.kunihiko at socionext.com>; Masami Hiramatsu
><mhiramat at kernel.org>; Damien Le Moal
><damien.lemoal at opensource.wdc.com>; Michael Turquette
><mturquette at baylibre.com>; Stephen Boyd <sboyd at kernel.org>; Geert
>Uytterhoeven <geert+renesas at glider.be>; Sylwester Nawrocki
><s.nawrocki at samsung.com>; Tomasz Figa <tomasz.figa at gmail.com>;
>Chanwoo Choi <cw00.choi at samsung.com>; Alim Akhtar
><alim.akhtar at samsung.com>; Vladimir Zapolskiy <vz at mleia.com>; Herbert
>Xu <herbert at gondor.apana.org.au>; David S. Miller
><davem at davemloft.net>; Andrzej Hajda <andrzej.hajda at intel.com>; Neil
>Armstrong <neil.armstrong at linaro.org>; Robert Foss
><robert.foss at linaro.org>; Laurent Pinchart
><Laurent.pinchart at ideasonboard.com>; Jonas Karlman <jonas at kwiboo.se>;
>Jernej Skrabec <jernej.skrabec at gmail.com>; David Airlie <airlied at linux.ie>;
>Daniel Vetter <daniel at ffwll.ch>; Rob Clark <robdclark at gmail.com>; Abhinav
>Kumar <quic_abhinavk at quicinc.com>; Dmitry Baryshkov
><dmitry.baryshkov at linaro.org>; Sean Paul <sean at poorly.run>; Inki Dae
><inki.dae at samsung.com>; Seung-Woo Kim <sw0312.kim at samsung.com>;
>Kyungmin Park <kyungmin.park at samsung.com>; Thierry Reding
><thierry.reding at gmail.com>; Jonathan Hunter <jonathanh at nvidia.com>;
>Masahiro Yamada <yamada.masahiro at socionext.com>; Florian Fainelli
><f.fainelli at gmail.com>; Linus Walleij <linus.walleij at linaro.org>; Andre
>Przywara <andre.przywara at arm.com>; Kuninori Morimoto
><kuninori.morimoto.gx at renesas.com>; Yoshihiro Shimoda
><yoshihiro.shimoda.uh at renesas.com>; Marek Vasut <marex at denx.de>;
>Krishna Manikandan <quic_mkrishn at quicinc.com>;
>devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux-
>kernel at vger.kernel.org; linux-ide at vger.kernel.org; linux-
>clk at vger.kernel.org; linux-renesas-soc at vger.kernel.org; linux-samsung-
>soc at vger.kernel.org; linux-crypto at vger.kernel.org; dri-
>devel at lists.freedesktop.org; linux-arm-msm at vger.kernel.org;
>freedreno at lists.freedesktop.org; linux-tegra at vger.kernel.org
>Cc: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>Subject: [PATCH 3/5] dt-bindings: clock: drop minItems equal to maxItems
>
>minItems, if missing, are implicitly equal to maxItems, so drop redundant
>piece to reduce size of code.
>
>Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
>---

Reviewed-by: Alim Akhtar <alim.akhtar at samsung.com>

> 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-se
>+++ l.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.
>
>--
>2.34.1




More information about the Freedreno mailing list