Commit 1135e936 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

dt-bindings: remoteproc: qcom,glink-edge: add GPR node

The existing SM8450 DTS (and newer platforms) come with a "gpr" child node,
not "apr":

  sm8450-sony-xperia-nagara-pdx224.dtb: remoteproc@30000000: glink-edge: Unevaluated properties are not allowed ('gpr' was unexpected)
    From schema: Documentation/devicetree/bindings/remoteproc/qcom,sm8350-pas.yaml
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221223132213.81273-1-krzysztof.kozlowski@linaro.org
parent 1b929c02
...@@ -22,7 +22,7 @@ properties: ...@@ -22,7 +22,7 @@ properties:
required: required:
- qcom,glink-channels - qcom,glink-channels
description: description:
Qualcomm APR/GPR (Asynchronous/Generic Packet Router) Qualcomm APR (Asynchronous Packet Router)
fastrpc: fastrpc:
$ref: /schemas/misc/qcom,fastrpc.yaml# $ref: /schemas/misc/qcom,fastrpc.yaml#
...@@ -31,6 +31,13 @@ properties: ...@@ -31,6 +31,13 @@ properties:
description: description:
Qualcomm FastRPC Qualcomm FastRPC
gpr:
$ref: /schemas/soc/qcom/qcom,apr.yaml#
required:
- qcom,glink-channels
description:
Qualcomm GPR (Generic Packet Router)
interrupts: interrupts:
maxItems: 1 maxItems: 1
...@@ -52,6 +59,21 @@ required: ...@@ -52,6 +59,21 @@ required:
- mboxes - mboxes
- qcom,remote-pid - qcom,remote-pid
allOf:
- if:
required:
- apr
then:
properties:
gpr: false
- if:
required:
- gpr
then:
properties:
apr: false
additionalProperties: false additionalProperties: false
examples: examples:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment