[PATCH 1/5] dt-bindings: socionext,uniphier-system-cache: drop minItems equal to maxItems

Subsystems: open firmware and flattened device tree bindings, the rest

STALE1500d LANDED

Landed in mainline as 414e7684d635 on 2022-08-29.

20 messages, 6 authors, 2022-08-29 · open the first message on its own page

[PATCH 1/5] dt-bindings: socionext,uniphier-system-cache: drop minItems equal to maxItems

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-25 11:33:55

minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 .../bindings/arm/socionext/socionext,uniphier-system-cache.yaml  | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml b/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml
index 7ca5375f278f..6096c082d56d 100644
--- a/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml
+++ b/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml
@@ -22,7 +22,6 @@ properties:
     description: |
       should contain 3 regions: control register, revision register,
       operation register, in this order.
-    minItems: 3
     maxItems: 3
 
   interrupts:
-- 
2.34.1

[PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-25 11:33:59

minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 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:
-- 
2.34.1

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

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-25 11:34:25

minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 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.
 
-- 
2.34.1

[PATCH 4/5] dt-bindings: crypto: drop minItems equal to maxItems

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-25 11:34:28

minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml b/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
index 676950bb7b37..5b31891c97fe 100644
--- a/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
+++ b/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
@@ -24,7 +24,6 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
-- 
2.34.1

[PATCH 5/5] dt-bindings: display: drop minItems equal to maxItems

From: Krzysztof Kozlowski <hidden>
Date: 2022-08-25 11:34:33

minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <redacted>
---
 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:
-- 
2.34.1

Re: [PATCH 1/5] dt-bindings: socionext,uniphier-system-cache: drop minItems equal to maxItems

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2022-08-25 16:27:25

Hi Krzysztof,

Thank you for the patch.

On Thu, Aug 25, 2022 at 02:33:30PM +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 <redacted>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
quoted hunk
---
 .../bindings/arm/socionext/socionext,uniphier-system-cache.yaml  | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml b/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml
index 7ca5375f278f..6096c082d56d 100644
--- a/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml
+++ b/Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml
@@ -22,7 +22,6 @@ properties:
     description: |
       should contain 3 regions: control register, revision register,
       operation register, in this order.
-    minItems: 3
     maxItems: 3
 
   interrupts:
-- 
Regards,

Laurent Pinchart

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

From: "Alim Akhtar" <alim.akhtar@samsung.com>
Date: 2022-08-25 16:59:09

-----Original Message-----
From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org]
Sent: Thursday, August 25, 2022 5:04 PM
To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
[off-list ref]; Kunihiko Hayashi
[off-list ref]; Masami Hiramatsu
[off-list ref]; Damien Le Moal
[off-list ref]; Michael Turquette
[off-list ref]; Stephen Boyd [off-list ref]; Geert
Uytterhoeven [off-list ref]; Sylwester Nawrocki
[off-list ref]; Tomasz Figa [off-list ref];
Chanwoo Choi [off-list ref]; Alim Akhtar
[off-list ref]; Vladimir Zapolskiy [off-list ref]; Herbert
Xu [off-list ref]; David S. Miller
[off-list ref]; Andrzej Hajda [off-list ref]; Neil
Armstrong [off-list ref]; Robert Foss
[off-list ref]; Laurent Pinchart
[off-list ref]; Jonas Karlman [off-list ref];
Jernej Skrabec [off-list ref]; David Airlie [off-list ref];
Daniel Vetter [off-list ref]; Rob Clark [off-list ref]; Abhinav
Kumar [off-list ref]; Dmitry Baryshkov
[off-list ref]; Sean Paul [off-list ref]; Inki Dae
[off-list ref]; Seung-Woo Kim [off-list ref];
Kyungmin Park [off-list ref]; Thierry Reding
[off-list ref]; Jonathan Hunter [off-list ref];
Masahiro Yamada [off-list ref]; Florian Fainelli
[off-list ref]; Linus Walleij [off-list ref]; Andre
Przywara [off-list ref]; Kuninori Morimoto
[off-list ref]; Yoshihiro Shimoda
[off-list ref]; Marek Vasut [off-list ref];
Krishna Manikandan [off-list ref];
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
Cc: Krzysztof Kozlowski <redacted>
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 <redacted>
---
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
quoted hunk
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

Re: [PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2022-08-25 17:01:12

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 <redacted>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
quoted hunk
---
 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

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

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2022-08-25 17:01:55

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 <redacted>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
quoted hunk
---
 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

Re: [PATCH 4/5] dt-bindings: crypto: drop minItems equal to maxItems

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2022-08-25 17:02:14

Hi Krzysztof,

Thank you for the patch.

On Thu, Aug 25, 2022 at 02:33:33PM +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 <redacted>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
quoted hunk
---
 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml b/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
index 676950bb7b37..5b31891c97fe 100644
--- a/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
+++ b/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
@@ -24,7 +24,6 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
-- 
Regards,

Laurent Pinchart

Re: [PATCH 5/5] dt-bindings: display: drop minItems equal to maxItems

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: 2022-08-25 17:02:38

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 <redacted>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
quoted hunk
---
 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

RE: [PATCH 4/5] dt-bindings: crypto: drop minItems equal to maxItems

From: "Alim Akhtar" <alim.akhtar@samsung.com>
Date: 2022-08-25 17:03:04

Hi Krzysztof


-----Original Message-----
From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org]
Sent: Thursday, August 25, 2022 5:04 PM
To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
[off-list ref]; Kunihiko Hayashi
[off-list ref]; Masami Hiramatsu
[off-list ref]; Damien Le Moal
[off-list ref]; Michael Turquette
[off-list ref]; Stephen Boyd [off-list ref]; Geert
Uytterhoeven [off-list ref]; Sylwester Nawrocki
[off-list ref]; Tomasz Figa [off-list ref];
Chanwoo Choi [off-list ref]; Alim Akhtar
[off-list ref]; Vladimir Zapolskiy [off-list ref]; Herbert
Xu [off-list ref]; David S. Miller
[off-list ref]; Andrzej Hajda [off-list ref]; Neil
Armstrong [off-list ref]; Robert Foss
[off-list ref]; Laurent Pinchart
[off-list ref]; Jonas Karlman [off-list ref];
Jernej Skrabec [off-list ref]; David Airlie [off-list ref];
Daniel Vetter [off-list ref]; Rob Clark [off-list ref]; Abhinav
Kumar [off-list ref]; Dmitry Baryshkov
[off-list ref]; Sean Paul [off-list ref]; Inki Dae
[off-list ref]; Seung-Woo Kim [off-list ref];
Kyungmin Park [off-list ref]; Thierry Reding
[off-list ref]; Jonathan Hunter [off-list ref];
Masahiro Yamada [off-list ref]; Florian Fainelli
[off-list ref]; Linus Walleij [off-list ref]; Andre
Przywara [off-list ref]; Kuninori Morimoto
[off-list ref]; Yoshihiro Shimoda
[off-list ref]; Marek Vasut [off-list ref];
Krishna Manikandan [off-list ref];
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
Cc: Krzysztof Kozlowski <redacted>
Subject: [PATCH 4/5] dt-bindings: crypto: 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 <redacted>
---
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

quoted hunk
Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
1 file changed, 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
b/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
index 676950bb7b37..5b31891c97fe 100644
--- a/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
+++ b/Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml
@@ -24,7 +24,6 @@ properties:
    maxItems: 1

  clocks:
-    minItems: 2
    maxItems: 2

  clock-names:
--
2.34.1

RE: [PATCH 5/5] dt-bindings: display: drop minItems equal to maxItems

From: "Alim Akhtar" <alim.akhtar@samsung.com>
Date: 2022-08-25 17:09:56

Hi Krzysztof

I got below messages when replied to all
"
Your mail to 'linux-arm-kernel' with the subject

    RE: [PATCH 4/5] dt-bindings: crypto: drop minItems equal to
maxItems and for [PATCH 3/5] as well

Is being held until the list moderator can review it for approval.

The reason it is being held:

    Too many recipients to the message
"

Are these many "To" addresses are really needed?

-----Original Message-----
From: Krzysztof Kozlowski [mailto:krzysztof.kozlowski@linaro.org]
Sent: Thursday, August 25, 2022 5:04 PM
To: Rob Herring <robh+dt@kernel.org>; Krzysztof Kozlowski
[off-list ref]; Kunihiko Hayashi
[off-list ref]; Masami Hiramatsu
[off-list ref]; Damien Le Moal
[off-list ref]; Michael Turquette
[off-list ref]; Stephen Boyd [off-list ref]; Geert
Uytterhoeven [off-list ref]; Sylwester Nawrocki
[off-list ref]; Tomasz Figa [off-list ref];
Chanwoo Choi [off-list ref]; Alim Akhtar
[off-list ref]; Vladimir Zapolskiy [off-list ref]; Herbert
Xu [off-list ref]; David S. Miller
[off-list ref]; Andrzej Hajda [off-list ref]; Neil
Armstrong [off-list ref]; Robert Foss
[off-list ref]; Laurent Pinchart
[off-list ref]; Jonas Karlman [off-list ref];
Jernej Skrabec [off-list ref]; David Airlie [off-list ref];
Daniel Vetter [off-list ref]; Rob Clark [off-list ref]; Abhinav
Kumar [off-list ref]; Dmitry Baryshkov
[off-list ref]; Sean Paul [off-list ref]; Inki Dae
[off-list ref]; Seung-Woo Kim [off-list ref];
Kyungmin Park [off-list ref]; Thierry Reding
[off-list ref]; Jonathan Hunter [off-list ref];
Masahiro Yamada [off-list ref]; Florian Fainelli
[off-list ref]; Linus Walleij [off-list ref]; Andre
Przywara [off-list ref]; Kuninori Morimoto
[off-list ref]; Yoshihiro Shimoda
[off-list ref]; Marek Vasut [off-list ref];
Krishna Manikandan [off-list ref];
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
Cc: Krzysztof Kozlowski <redacted>
Subject: [PATCH 5/5] dt-bindings: display: 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 <redacted>
---

Feel free to add
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>

quoted hunk
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.
quoted hunk
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.
quoted hunk
diff --git
a/Documentation/devicetree/bindings/display/samsung/samsung,exynos543
3-decon.yaml
b/Documentation/devicetree/bindings/display/samsung/samsung,exynos543
3-decon.yaml
index 921bfe925cd6..6380eeebb073 100644
---
a/Documentation/devicetree/bindings/display/samsung/samsung,exynos543
3-decon.yaml
+++
b/Documentation/devicetree/bindings/display/samsung/samsung,exynos54
+++ 33-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,exynos543
3-mic.yaml
b/Documentation/devicetree/bindings/display/samsung/samsung,exynos543
3-mic.yaml
index 7d405f2febcd..26e5017737a3 100644
---
a/Documentation/devicetree/bindings/display/samsung/samsung,exynos543
3-mic.yaml
+++
b/Documentation/devicetree/bindings/display/samsung/samsung,exynos54
+++ 33-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.yam
+++ l
@@ -27,7 +27,6 @@ properties:
    const: 1

  clocks:
-    minItems: 2
    maxItems: 2

  clock-names:
diff --git
a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-
quoted hunk
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-gr3
+++ d.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-
quoted hunk
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:
--
2.34.1

Re: [PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems

From: Damien Le Moal <hidden>
Date: 2022-08-25 22:31:34

On 8/25/22 20:33, 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 <redacted>
Acked-by: Damien Le Moal <redacted>
quoted hunk
---
 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:

-- 
Damien Le Moal
Western Digital Research

Re: [PATCH 5/5] dt-bindings: display: drop minItems equal to maxItems

From: Dmitry Baryshkov <hidden>
Date: 2022-08-26 09:47:31

On 25/08/2022 14:33, 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 <redacted>
---
  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 --
For msm changes:

Reviewed-by: Dmitry Baryshkov <redacted>
  .../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(-)
-- 
With best wishes
Dmitry

Re: [PATCH 1/5] dt-bindings: socionext,uniphier-system-cache: drop minItems equal to maxItems

From: Rob Herring <robh@kernel.org>
Date: 2022-08-29 19:56:07

On Thu, 25 Aug 2022 14:33:30 +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 <redacted>
---
 .../bindings/arm/socionext/socionext,uniphier-system-cache.yaml  | 1 -
 1 file changed, 1 deletion(-)
Applied, thanks!

Re: [PATCH 2/5] dt-bindings: ata: drop minItems equal to maxItems

From: Rob Herring <robh@kernel.org>
Date: 2022-08-29 19:56:26

On Thu, 25 Aug 2022 14:33:31 +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 <redacted>
---
 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(-)
Applied, thanks!

Re: [PATCH 4/5] dt-bindings: crypto: drop minItems equal to maxItems

From: Rob Herring <robh@kernel.org>
Date: 2022-08-29 19:56:48

On Thu, 25 Aug 2022 14:33:33 +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 <redacted>
---
 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
 1 file changed, 1 deletion(-)
Applied, thanks!

Re: [PATCH 5/5] dt-bindings: display: drop minItems equal to maxItems

From: Rob Herring <robh@kernel.org>
Date: 2022-08-29 19:57:34

On Thu, 25 Aug 2022 14:33:34 +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 <redacted>
---
 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(-)
Applied, thanks!

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

From: Rob Herring <robh@kernel.org>
Date: 2022-08-29 20:01:57

On Thu, 25 Aug 2022 14:33:32 +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 <redacted>
---
 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(-)
Acked-by: Rob Herring <robh@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help