Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [PATCH 2/2] dt-bindings: thermal: qcom-tsens: Remove redundant 'maxItems'
       [not found] <20200313214552.845-1-robh@kernel.org>
@ 2020-03-13 21:45 ` Rob Herring
  2020-03-15 19:38   ` Amit Kucheria
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2020-03-13 21:45 UTC (permalink / raw)
  To: Zhang Rui
  Cc: Andy Gross, Bjorn Andersson, Amit Kucheria, Daniel Lezcano,
	linux-arm-msm, linux-pm, devicetree

There's no need to specify 'maxItems' with the same value as the number
of entries in 'items'. A meta-schema update will catch future cases.

Cc: Andy Gross <agross@kernel.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Amit Kucheria <amit.kucheria@linaro.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-pm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
index c0ed030d0960..62b97a6d9b65 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
@@ -43,7 +43,6 @@ properties:
           - const: qcom,tsens-v2
 
   reg:
-    maxItems: 2
     items:
       - description: TM registers
       - description: SROT registers
-- 
2.20.1


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

* Re: [PATCH 2/2] dt-bindings: thermal: qcom-tsens: Remove redundant 'maxItems'
  2020-03-13 21:45 ` [PATCH 2/2] dt-bindings: thermal: qcom-tsens: Remove redundant 'maxItems' Rob Herring
@ 2020-03-15 19:38   ` Amit Kucheria
  0 siblings, 0 replies; 2+ messages in thread
From: Amit Kucheria @ 2020-03-15 19:38 UTC (permalink / raw)
  To: Rob Herring
  Cc: Zhang Rui, Andy Gross, Bjorn Andersson, Daniel Lezcano,
	linux-arm-msm, Linux PM list,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

On Sat, Mar 14, 2020 at 3:15 AM Rob Herring <robh@kernel.org> wrote:
>
> There's no need to specify 'maxItems' with the same value as the number
> of entries in 'items'. A meta-schema update will catch future cases.

Thanks Rob.

Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>

> Cc: Andy Gross <agross@kernel.org>
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Amit Kucheria <amit.kucheria@linaro.org>
> Cc: Zhang Rui <rui.zhang@intel.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: linux-arm-msm@vger.kernel.org
> Cc: linux-pm@vger.kernel.org
> Cc: devicetree@vger.kernel.org
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
>  Documentation/devicetree/bindings/thermal/qcom-tsens.yaml | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> index c0ed030d0960..62b97a6d9b65 100644
> --- a/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> +++ b/Documentation/devicetree/bindings/thermal/qcom-tsens.yaml
> @@ -43,7 +43,6 @@ properties:
>            - const: qcom,tsens-v2
>
>    reg:
> -    maxItems: 2
>      items:
>        - description: TM registers
>        - description: SROT registers
> --
> 2.20.1
>

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

end of thread, other threads:[~2020-03-15 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20200313214552.845-1-robh@kernel.org>
2020-03-13 21:45 ` [PATCH 2/2] dt-bindings: thermal: qcom-tsens: Remove redundant 'maxItems' Rob Herring
2020-03-15 19:38   ` Amit Kucheria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox