[PATCH 3/7] dt-bindings: misc: qcom,fastrpc: restrict channel names

From: Krzysztof Kozlowski
Date: Fri Sep 09 2022 - 08:54:26 EST


The Qualcomm FastRPC is expected to in GLINK or SMD edge node and its
channel name is always the same.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
index 809de43afe35..1ed0ce0f3cbe 100644
--- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
+++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
@@ -32,7 +32,8 @@ properties:
A list of channels tied to this function, used for matching
the function to a set of virtual channels.
$ref: "/schemas/types.yaml#/definitions/string-array"
- maxItems: 1
+ items:
+ - const: fastrpcglink-apps-dsp

qcom,non-secure-domain:
description:
@@ -43,7 +44,8 @@ properties:
description:
Channel name used for the RPM communication
$ref: "/schemas/types.yaml#/definitions/string-array"
- maxItems: 1
+ items:
+ - const: fastrpcsmd-apps-dsp

qcom,vmids:
description:
--
2.34.1