Skip to contentSkip to conversation

dt-bindings: socionext,uniphier-system-cache: drop minItems equal to maxItems

PATCH Applied Krzysztof Kozlowski 7 participants 21 messages Aug 25, 2022 – Aug 30, 2022

Subsystems (18)
lore
Share & tools
lore
#0 lore raw

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

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

---
 .../bindings/arm/socionext/socionext,uniphier-system-cache.yaml  | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml +0 -1
index 7ca5375f278f..6096c082d56d 100644
@@ -22,7 +22,6 @@ properties:
     description: |
       should contain 3 regions: control register, revision register,
       operation register, in this order.
-    minItems: 3
     maxItems: 3
 
   interrupts:
Signature · 1 line
2.34.1
#1 lore raw

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

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

---
 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(-)
Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml +0 -1
index 235a93ac86b0..3766cc80cb17 100644
@@ -30,7 +30,6 @@ properties:
           - const: brcm,bcm-nsp-ahci
 
   reg:
-    minItems: 2
     maxItems: 2
 
   reg-names:
Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml +0 -2
index 21a90975593b..529093666508 100644
@@ -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
 
Documentation/devicetree/bindings/ata/sata_highbank.yaml +0 -1
index 49679b58041c..f23f26a8f21c 100644
@@ -52,7 +52,6 @@ properties:
     minItems: 1
     maxItems: 8
     items:
-      minItems: 2
       maxItems: 2
 
   calxeda,tx-atten:
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 2/5
#2 lore raw

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

Hi Krzysztof,

Thank you for the patch.

Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 50 lines
---
 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(-)
Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml +0 -1
index 235a93ac86b0..3766cc80cb17 100644
@@ -30,7 +30,6 @@ properties:
           - const: brcm,bcm-nsp-ahci
 
   reg:
-    minItems: 2
     maxItems: 2
 
   reg-names:
Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml +0 -2
index 21a90975593b..529093666508 100644
@@ -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
 
Documentation/devicetree/bindings/ata/sata_highbank.yaml +0 -1
index 49679b58041c..f23f26a8f21c 100644
@@ -52,7 +52,6 @@ properties:
     minItems: 1
     maxItems: 8
     items:
-      minItems: 2
       maxItems: 2
 
   calxeda,tx-atten:
Signature · 3 lines
Regards,

Laurent Pinchart
Acked-by on v1 2/5
#3 lore raw

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

In reply to Krzysztof Kozlowski
Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 50 lines
---
 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(-)
Documentation/devicetree/bindings/ata/brcm,sata-brcm.yaml +0 -1
index 235a93ac86b0..3766cc80cb17 100644
@@ -30,7 +30,6 @@ properties:
           - const: brcm,bcm-nsp-ahci
 
   reg:
-    minItems: 2
     maxItems: 2
 
   reg-names:
Documentation/devicetree/bindings/ata/cortina,gemini-sata-bridge.yaml +0 -2
index 21a90975593b..529093666508 100644
@@ -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
 
Documentation/devicetree/bindings/ata/sata_highbank.yaml +0 -1
index 49679b58041c..f23f26a8f21c 100644
@@ -52,7 +52,6 @@ properties:
     minItems: 1
     maxItems: 8
     items:
-      minItems: 2
       maxItems: 2
 
   calxeda,tx-atten:
Signature · 2 lines
Damien Le Moal
Western Digital Research
maintainer Applied
#4 lore raw

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

In reply to Krzysztof Kozlowski
Quoted 10 lines · Krzysztof Kozlowski

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

---
 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!

#5 lore raw

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

In reply to Krzysztof Kozlowski

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

---
 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(-)
Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml +0 -1
index 0abd6ba82dfd..82836086cac1 100644
@@ -23,7 +23,6 @@ properties:
   clocks:
     description:
       Common clock binding for CLK_IN, XTI/REF_CLK
-    minItems: 2
     maxItems: 2
 
   clock-names:
Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml +0 -2
index 6eaabb4d82ec..81f09df7147e 100644
@@ -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:
Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml +0 -1
index 9248bfc16d48..d5296e6053a1 100644
@@ -34,7 +34,6 @@ properties:
     const: 1
 
   clock-output-names:
-    minItems: 3
     maxItems: 3
     description: Names for AP, CP and BT clocks.
 
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 3/5
#6 lore raw

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

Quoted 42 lines

-----Original Message-----
From: Krzysztof Kozlowski [mailto:[email protected]]
Sent: Thursday, August 25, 2022 5:04 PM
To: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Kunihiko Hayashi <[email protected]>; Masami Hiramatsu <[email protected]>; Damien Le Moal <[email protected]>; Michael Turquette <[email protected]>; Stephen Boyd <[email protected]>; Geert Uytterhoeven <[email protected]>; Sylwester Nawrocki <[email protected]>; Tomasz Figa <[email protected]>; Chanwoo Choi <[email protected]>; Alim Akhtar <[email protected]>; Vladimir Zapolskiy <[email protected]>; Herbert Xu <[email protected]>; David S. Miller <[email protected]>; Andrzej Hajda <[email protected]>; Neil Armstrong <[email protected]>; Robert Foss <[email protected]>; Laurent Pinchart <[email protected]>; Jonas Karlman <[email protected]>; Jernej Skrabec <[email protected]>; David Airlie <[email protected]>; Daniel Vetter <[email protected]>; Rob Clark <[email protected]>; Abhinav Kumar <[email protected]>; Dmitry Baryshkov <[email protected]>; Sean Paul <[email protected]>; Inki Dae <[email protected]>; Seung-Woo Kim <[email protected]>; Kyungmin Park <[email protected]>; Thierry Reding <[email protected]>; Jonathan Hunter <[email protected]>; Masahiro Yamada <[email protected]>; Florian Fainelli <[email protected]>; Linus Walleij <[email protected]>; Andre Przywara <[email protected]>; Kuninori Morimoto <[email protected]>; Yoshihiro Shimoda <[email protected]>; Marek Vasut <[email protected]>; Krishna Manikandan <[email protected]>; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]; linux-samsung- [email protected]; [email protected]; dri- [email protected]; [email protected]; [email protected]; [email protected]
Cc: Krzysztof Kozlowski <[email protected]>
Subject: [PATCH 3/5] dt-bindings: clock: drop minItems equal to maxItems

Quoted 5 lines

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

---

Quoted 57 lines
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(-)
Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml +0 -1
index 0abd6ba82dfd..82836086cac1 100644
@@ -23,7 +23,6 @@ properties:
  clocks:
    description:
      Common clock binding for CLK_IN, XTI/REF_CLK
-    minItems: 2
    maxItems: 2
 
  clock-names:
(quoted diff) +0 -0

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

Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml +0 -2
@@ -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:
Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml +0 -2
index 9248bfc16d48..d5296e6053a1 100644
@@ -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

reviewer Reviewed-by on v1 3/5
#7 lore raw

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

In reply to Krzysztof Kozlowski

Hi Krzysztof,

Thank you for the patch.

Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 50 lines
---
 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(-)
Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml +0 -1
index 0abd6ba82dfd..82836086cac1 100644
@@ -23,7 +23,6 @@ properties:
   clocks:
     description:
       Common clock binding for CLK_IN, XTI/REF_CLK
-    minItems: 2
     maxItems: 2
 
   clock-names:
Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml +0 -2
index 6eaabb4d82ec..81f09df7147e 100644
@@ -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:
Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml +0 -1
index 9248bfc16d48..d5296e6053a1 100644
@@ -34,7 +34,6 @@ properties:
     const: 1
 
   clock-output-names:
-    minItems: 3
     maxItems: 3
     description: Names for AP, CP and BT clocks.
 
Signature · 3 lines
Regards,

Laurent Pinchart
maintainer Acked-by on v1 3/5
#8 lore raw

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

In reply to Krzysztof Kozlowski
Quoted 10 lines · Krzysztof Kozlowski

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

---
 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(-)
#10 lore raw

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

In reply to Krzysztof Kozlowski

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

---
 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml +0 -1
index 676950bb7b37..5b31891c97fe 100644
@@ -24,7 +24,6 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 4/5
#11 lore raw

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

Hi Krzysztof,

Thank you for the patch.

Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 16 lines
---
 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml +0 -1
index 676950bb7b37..5b31891c97fe 100644
@@ -24,7 +24,6 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
Signature · 3 lines
Regards,

Laurent Pinchart
reviewer Reviewed-by on v1 4/5
#12 lore raw

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

In reply to Krzysztof Kozlowski

Hi Krzysztof

Quoted 40 lines

-----Original Message-----
From: Krzysztof Kozlowski [mailto:[email protected]]
Sent: Thursday, August 25, 2022 5:04 PM
To: Rob Herring <[email protected]>; Krzysztof Kozlowski <[email protected]>; Kunihiko Hayashi <[email protected]>; Masami Hiramatsu <[email protected]>; Damien Le Moal <[email protected]>; Michael Turquette <[email protected]>; Stephen Boyd <[email protected]>; Geert Uytterhoeven <[email protected]>; Sylwester Nawrocki <[email protected]>; Tomasz Figa <[email protected]>; Chanwoo Choi <[email protected]>; Alim Akhtar <[email protected]>; Vladimir Zapolskiy <[email protected]>; Herbert Xu <[email protected]>; David S. Miller <[email protected]>; Andrzej Hajda <[email protected]>; Neil Armstrong <[email protected]>; Robert Foss <[email protected]>; Laurent Pinchart <[email protected]>; Jonas Karlman <[email protected]>; Jernej Skrabec <[email protected]>; David Airlie <[email protected]>; Daniel Vetter <[email protected]>; Rob Clark <[email protected]>; Abhinav Kumar <[email protected]>; Dmitry Baryshkov <[email protected]>; Sean Paul <[email protected]>; Inki Dae <[email protected]>; Seung-Woo Kim <[email protected]>; Kyungmin Park <[email protected]>; Thierry Reding <[email protected]>; Jonathan Hunter <[email protected]>; Masahiro Yamada <[email protected]>; Florian Fainelli <[email protected]>; Linus Walleij <[email protected]>; Andre Przywara <[email protected]>; Kuninori Morimoto <[email protected]>; Yoshihiro Shimoda <[email protected]>; Marek Vasut <[email protected]>; Krishna Manikandan <[email protected]>; [email protected]; [email protected]; linux- [email protected]; [email protected]; linux- [email protected]; [email protected]; linux-samsung- [email protected]; [email protected]; dri- [email protected]; [email protected]; [email protected]; [email protected]
Cc: Krzysztof Kozlowski <[email protected]>
Subject: [PATCH 4/5] dt-bindings: crypto: drop minItems equal to maxItems

Quoted 5 lines

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

---

Quoted 18 lines

Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -

1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml +0 -2
index 676950bb7b37..5b31891c97fe 100644
@@ -24,7 +24,6 @@ properties:
    maxItems: 1
 
  clocks:
-    minItems: 2
    maxItems: 2
 
  clock-names:
--

2.34.1

maintainer Applied
#13 lore raw

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

In reply to Krzysztof Kozlowski
Quoted 8 lines · Krzysztof Kozlowski

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

---
 Documentation/devicetree/bindings/crypto/samsung-slimsss.yaml | 1 -
 1 file changed, 1 deletion(-)

Applied, thanks!

#14 lore raw

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

In reply to Krzysztof Kozlowski

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

---
 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(-)
Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml +0 -1
index 2ebaa43eb62e..b19be0804abe 100644
@@ -25,7 +25,6 @@ properties:
     const: ldb
 
   reg:
-    minItems: 2
     maxItems: 2
 
   reg-names:
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +0 -2
index 880bfe930830..3b609c19e0bc 100644
@@ -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.
Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -2
index 716f921e3532..d9ad8b659f58 100644
@@ -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.
Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-decon.yaml +0 -2
index 921bfe925cd6..6380eeebb073 100644
@@ -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:
Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-mic.yaml +0 -1
index 7d405f2febcd..26e5017737a3 100644
@@ -24,7 +24,6 @@ properties:
     const: samsung,exynos5433-mic
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
Documentation/devicetree/bindings/display/samsung/samsung,exynos7-decon.yaml +0 -1
index 969bd8c563a5..c06f306e8d14 100644
@@ -22,7 +22,6 @@ properties:
     const: samsung,exynos7-decon
 
   clocks:
-    minItems: 4
     maxItems: 4
 
   clock-names:
Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml +0 -1
index 5d5cc220f78a..210d856b3b57 100644
@@ -27,7 +27,6 @@ properties:
     const: 1
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml +0 -1
index dbdf0229d9f6..4755a73473c7 100644
@@ -59,7 +59,6 @@ properties:
     maxItems: 2
 
   power-domain-names:
-    minItems: 2
     maxItems: 2
 
 allOf:
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml +0 -2
index 4154ae01ad13..5f4f0fb4b692 100644
@@ -42,11 +42,9 @@ properties:
     maxItems: 1
 
   interconnects:
-    minItems: 6
     maxItems: 6
 
   interconnect-names:
-    minItems: 6
     maxItems: 6
 
   operating-points-v2:
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 5/5
#15 lore raw

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

Hi Krzysztof,

Thank you for the patch.

Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 146 lines
---
 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(-)
Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml +0 -1
index 2ebaa43eb62e..b19be0804abe 100644
@@ -25,7 +25,6 @@ properties:
     const: ldb
 
   reg:
-    minItems: 2
     maxItems: 2
 
   reg-names:
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +0 -2
index 880bfe930830..3b609c19e0bc 100644
@@ -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.
Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -2
index 716f921e3532..d9ad8b659f58 100644
@@ -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.
Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-decon.yaml +0 -2
index 921bfe925cd6..6380eeebb073 100644
@@ -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:
Documentation/devicetree/bindings/display/samsung/samsung,exynos5433-mic.yaml +0 -1
index 7d405f2febcd..26e5017737a3 100644
@@ -24,7 +24,6 @@ properties:
     const: samsung,exynos5433-mic
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
Documentation/devicetree/bindings/display/samsung/samsung,exynos7-decon.yaml +0 -1
index 969bd8c563a5..c06f306e8d14 100644
@@ -22,7 +22,6 @@ properties:
     const: samsung,exynos7-decon
 
   clocks:
-    minItems: 4
     maxItems: 4
 
   clock-names:
Documentation/devicetree/bindings/display/samsung/samsung,fimd.yaml +0 -1
index 5d5cc220f78a..210d856b3b57 100644
@@ -27,7 +27,6 @@ properties:
     const: 1
 
   clocks:
-    minItems: 2
     maxItems: 2
 
   clock-names:
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-gr3d.yaml +0 -1
index dbdf0229d9f6..4755a73473c7 100644
@@ -59,7 +59,6 @@ properties:
     maxItems: 2
 
   power-domain-names:
-    minItems: 2
     maxItems: 2
 
 allOf:
Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-mpe.yaml +0 -2
index 4154ae01ad13..5f4f0fb4b692 100644
@@ -42,11 +42,9 @@ properties:
     maxItems: 1
 
   interconnects:
-    minItems: 6
     maxItems: 6
 
   interconnect-names:
-    minItems: 6
     maxItems: 6
 
   operating-points-v2:
Signature · 3 lines
Regards,

Laurent Pinchart
reviewer Reviewed-by on v1 5/5
#16 lore raw

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

In reply to Krzysztof Kozlowski

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?

Quoted 40 lines

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

Quoted 5 lines

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

---

Feel free to add

Quoted 36 lines
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(-)
Documentation/devicetree/bindings/display/bridge/fsl,ldb.yaml +0 -1
index 2ebaa43eb62e..b19be0804abe 100644
@@ -25,7 +25,6 @@ properties:
    const: ldb
 
  reg:
-    minItems: 2
    maxItems: 2
 
  reg-names:
(quoted diff) +0 -0

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

Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +0 -0
@@ -66,13 +66,11 @@ properties:
      2 DSI links.
 
  assigned-clocks:

Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml properties: · line 76

Quoted 10 lines
Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml +0 -2
-    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 15 lines
(quoted diff) +0 -0

10nm.yaml b/Documentation/devicetree/bindings/display/msm/dsi-phy- 10nm.yaml
index 716f921e3532..d9ad8b659f58 100644

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -1
@@ -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.

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml properties: · line 53

Quoted 7 lines
Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -1
@@ -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 85 lines

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

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -2
@@ -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

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -1
@@ -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

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -1
@@ -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

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -1
@@ -27,7 +27,6 @@ properties:
    const: 1
 
  clocks:
-    minItems: 2
    maxItems: 2
 
  clock-names:
Quoted 1 line

diff --git

a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-

Quoted 15 lines

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

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -1
@@ -59,7 +59,6 @@ properties:
    maxItems: 2
 
  power-domain-names:
-    minItems: 2
    maxItems: 2
 
Quoted 2 lines

allOf:
diff --git

a/Documentation/devicetree/bindings/display/tegra/nvidia,tegra20-

Quoted 22 lines

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

Documentation/devicetree/bindings/display/msm/dsi-phy-10nm.yaml +0 -3
@@ -42,11 +42,9 @@ properties:
    maxItems: 1
 
  interconnects:
-    minItems: 6
    maxItems: 6
 
  interconnect-names:
-    minItems: 6
    maxItems: 6
 
  operating-points-v2:
--

2.34.1

Reviewed-by on v1 5/5
#17 lore raw

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

In reply to Krzysztof Kozlowski
Quoted 8 lines · Krzysztof Kozlowski

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

---
  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:

Quoted 8 lines
  .../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(-)
Signature · 2 lines
With best wishes
Dmitry
maintainer Applied
#18 lore raw

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

In reply to Krzysztof Kozlowski
Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 12 lines
---
 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!

reviewer Reviewed-by on v1 1/5
#19 lore raw
In reply to Krzysztof Kozlowski

Hi Krzysztof,

Thank you for the patch.

Quoted 4 lines · Krzysztof Kozlowski

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

Quoted 16 lines
---
 .../bindings/arm/socionext/socionext,uniphier-system-cache.yaml  | 1 -
 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/arm/socionext/socionext,uniphier-system-cache.yaml +0 -1
index 7ca5375f278f..6096c082d56d 100644
@@ -22,7 +22,6 @@ properties:
     description: |
       should contain 3 regions: control register, revision register,
       operation register, in this order.
-    minItems: 3
     maxItems: 3
 
   interrupts:
Signature · 3 lines
Regards,

Laurent Pinchart