]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: misc: qcom,fastrpc: restrict channel names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 9 Sep 2022 12:53:59 +0000 (14:53 +0200)
committerRob Herring <robh@kernel.org>
Fri, 9 Sep 2022 16:23:30 +0000 (11:23 -0500)
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@linaro.org>
Link: https://lore.kernel.org/r/20220909125403.803158-4-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml

index 809de43afe35a824226e52f8ebbc4a23a11bc552..1ed0ce0f3cbe3c953e668bae66b83f31e7f11d0e 100644 (file)
@@ -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: