linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"
@ 2024-01-24 19:07 Rob Herring
  2024-01-25 10:24 ` Krzysztof Kozlowski
  2024-01-28  2:17 ` Bjorn Andersson
  0 siblings, 2 replies; 3+ messages in thread
From: Rob Herring @ 2024-01-24 19:07 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

The 'phandle-array' type is a bit ambiguous. It can be either just an
array of phandles or an array of phandles plus args. "qcom,rpm-msg-ram" is
the former and needs to constrain each entry to a single phandle value.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 .../devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml
index 031800985b5e..9410404f87f1 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,rpm-master-stats.yaml
@@ -35,6 +35,8 @@ properties:
     description: Phandle to an RPM MSG RAM slice containing the master stats
     minItems: 1
     maxItems: 5
+    items:
+      maxItems: 1
 
   qcom,master-names:
     $ref: /schemas/types.yaml#/definitions/string-array
-- 
2.43.0


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

* Re: [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"
  2024-01-24 19:07 [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram" Rob Herring
@ 2024-01-25 10:24 ` Krzysztof Kozlowski
  2024-01-28  2:17 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-01-25 10:24 UTC (permalink / raw)
  To: Rob Herring, Bjorn Andersson, Konrad Dybcio, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel

On 24/01/2024 20:07, Rob Herring wrote:
> The 'phandle-array' type is a bit ambiguous. It can be either just an
> array of phandles or an array of phandles plus args. "qcom,rpm-msg-ram" is
> the former and needs to constrain each entry to a single phandle value.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"
  2024-01-24 19:07 [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram" Rob Herring
  2024-01-25 10:24 ` Krzysztof Kozlowski
@ 2024-01-28  2:17 ` Bjorn Andersson
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2024-01-28  2:17 UTC (permalink / raw)
  To: Konrad Dybcio, Krzysztof Kozlowski, Conor Dooley, Rob Herring
  Cc: linux-arm-msm, devicetree, linux-kernel


On Wed, 24 Jan 2024 13:07:44 -0600, Rob Herring wrote:
> The 'phandle-array' type is a bit ambiguous. It can be either just an
> array of phandles or an array of phandles plus args. "qcom,rpm-msg-ram" is
> the former and needs to constrain each entry to a single phandle value.
> 
> 

Applied, thanks!

[1/1] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram"
      commit: 8796fa0f9a08359bb87e859d6010350a9d7da38f

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

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

end of thread, other threads:[~2024-01-28  2:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-24 19:07 [PATCH] dt-bindings: soc/qcom: Add size constraints on "qcom,rpm-msg-ram" Rob Herring
2024-01-25 10:24 ` Krzysztof Kozlowski
2024-01-28  2:17 ` Bjorn Andersson

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).