diff options
Diffstat (limited to 'dts/Bindings/remoteproc/qcom,glink-edge.yaml')
-rw-r--r-- | dts/Bindings/remoteproc/qcom,glink-edge.yaml | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/dts/Bindings/remoteproc/qcom,glink-edge.yaml b/dts/Bindings/remoteproc/qcom,glink-edge.yaml index fa69f7b21e..e78a89c9ec 100644 --- a/dts/Bindings/remoteproc/qcom,glink-edge.yaml +++ b/dts/Bindings/remoteproc/qcom,glink-edge.yaml @@ -14,24 +14,34 @@ description: related to the remote processor. properties: - $nodename: - const: "glink-edge" - apr: $ref: /schemas/soc/qcom/qcom,apr.yaml# + required: + - qcom,glink-channels description: - Qualcomm APR/GPR (Asynchronous/Generic Packet Router) + Qualcomm APR (Asynchronous Packet Router) fastrpc: - type: object + $ref: /schemas/misc/qcom,fastrpc.yaml# + required: + - qcom,glink-channels + description: + Qualcomm FastRPC + + gpr: + $ref: /schemas/soc/qcom/qcom,apr.yaml# + required: + - qcom,glink-channels description: - See Documentation/devicetree/bindings/misc/qcom,fastrpc.txt + Qualcomm GPR (Generic Packet Router) interrupts: maxItems: 1 label: - description: The names of the state bits used for SMP2P output + description: + Name of the edge, used for debugging and identification purposes. The + node name will be used if this is not present. mboxes: maxItems: 1 @@ -48,6 +58,21 @@ required: - mboxes - qcom,remote-pid +allOf: + - if: + required: + - apr + then: + properties: + gpr: false + + - if: + required: + - gpr + then: + properties: + apr: false + additionalProperties: false examples: |