linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
@ 2022-10-16 17:36 Krzysztof Kozlowski
  2022-10-16 18:29 ` Iskren Chernev
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-16 17:36 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Linus Walleij,
	Rob Herring, Krzysztof Kozlowski, Srinivas Kandagatla,
	Iskren Chernev, linux-arm-msm, linux-gpio, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

If minItems are missing, they are implicitly equal to maxItems.
Dropping redundant minItems simplifies a bit the binding.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml          | 1 -
 Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
index 8270debd4f25..f7ec8a4f664f 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
@@ -23,7 +23,6 @@ properties:
     type: boolean
 
   reg:
-    minItems: 2
     maxItems: 2
 
   gpio-controller: true
diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
index 51bae1d3f150..164f24db8b2b 100644
--- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
@@ -18,7 +18,6 @@ properties:
     const: qcom,sm6115-tlmm
 
   reg:
-    minItems: 3
     maxItems: 3
 
   reg-names:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
  2022-10-16 17:36 [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems Krzysztof Kozlowski
@ 2022-10-16 18:29 ` Iskren Chernev
  2022-10-17 18:35 ` Rob Herring
  2022-10-19 14:44 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Iskren Chernev @ 2022-10-16 18:29 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andy Gross, Bjorn Andersson, Konrad Dybcio, Linus Walleij,
	Rob Herring, Krzysztof Kozlowski, Srinivas Kandagatla,
	linux-arm-msm, linux-gpio, devicetree, linux-kernel

On Sun, Oct 16, 2022 at 8:36 PM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> If minItems are missing, they are implicitly equal to maxItems.
> Dropping redundant minItems simplifies a bit the binding.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Iskren Chernev <iskren.chernev@gmail.com>

> ---
>  .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml          | 1 -
>  Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml  | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
> index 8270debd4f25..f7ec8a4f664f 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
> @@ -23,7 +23,6 @@ properties:
>      type: boolean
>
>    reg:
> -    minItems: 2
>      maxItems: 2
>
>    gpio-controller: true
> diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
> index 51bae1d3f150..164f24db8b2b 100644
> --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
> +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml
> @@ -18,7 +18,6 @@ properties:
>      const: qcom,sm6115-tlmm
>
>    reg:
> -    minItems: 3
>      maxItems: 3
>
>    reg-names:
> --
> 2.34.1
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
  2022-10-16 17:36 [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems Krzysztof Kozlowski
  2022-10-16 18:29 ` Iskren Chernev
@ 2022-10-17 18:35 ` Rob Herring
  2022-10-19 14:44 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2022-10-17 18:35 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Konrad Dybcio, Krzysztof Kozlowski, Bjorn Andersson, devicetree,
	Rob Herring, Iskren Chernev, linux-arm-msm, linux-gpio,
	Andy Gross, Srinivas Kandagatla, linux-kernel, Linus Walleij

On Sun, 16 Oct 2022 13:36:25 -0400, Krzysztof Kozlowski wrote:
> If minItems are missing, they are implicitly equal to maxItems.
> Dropping redundant minItems simplifies a bit the binding.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml          | 1 -
>  Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml  | 1 -
>  2 files changed, 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
  2022-10-16 17:36 [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems Krzysztof Kozlowski
  2022-10-16 18:29 ` Iskren Chernev
  2022-10-17 18:35 ` Rob Herring
@ 2022-10-19 14:44 ` Krzysztof Kozlowski
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-10-19 14:44 UTC (permalink / raw)
  To: devicetree, linux-arm-msm, Andy Gross, Linus Walleij,
	Konrad Dybcio, Krzysztof Kozlowski, Rob Herring, linux-gpio,
	Iskren Chernev, Krzysztof Kozlowski, Bjorn Andersson,
	Srinivas Kandagatla, linux-kernel

On Sun, 16 Oct 2022 13:36:25 -0400, Krzysztof Kozlowski wrote:
> If minItems are missing, they are implicitly equal to maxItems.
> Dropping redundant minItems simplifies a bit the binding.
> 
> 

Applied, thanks!

[1/1] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
      https://git.kernel.org/krzk/linux-dt/c/c3da325b8fbe809af1ceb14d531f55b5b518a685

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-10-19 14:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16 17:36 [PATCH] dt-bindings: pinctrl: qcom: drop minItems equal to maxItems Krzysztof Kozlowski
2022-10-16 18:29 ` Iskren Chernev
2022-10-17 18:35 ` Rob Herring
2022-10-19 14:44 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).