From: Krzysztof Kozlowski Date: Fri, 9 Sep 2022 12:54:01 +0000 (+0200) Subject: dt-bindings: remoteproc: qcom,glink-edge: require channels in children X-Git-Tag: v6.1-rc1~79^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df870fefd96f958ca9c38386c2d2a0fd84c8d9fc;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: remoteproc: qcom,glink-edge: require channels in children GLINK edge contains subnodes representing devices related to the remote processor. Each of such device (e.g. APR or FastRPC) must have a "qcom,glink-channels" property. However the APR or FastRPC device can be also part of other communication - SMD - thus their schema does not require "qcom,glink-channels". To make the GLINK edge bindings strict, require "qcom,glink-channels" for its children. Signed-off-by: Krzysztof Kozlowski Link: https://lore.kernel.org/r/20220909125403.803158-6-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring --- diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml index 8953678da83e3..25c27464ef25f 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,glink-edge.yaml @@ -19,11 +19,15 @@ properties: apr: $ref: /schemas/soc/qcom/qcom,apr.yaml# + required: + - qcom,glink-channels description: Qualcomm APR/GPR (Asynchronous/Generic Packet Router) fastrpc: $ref: /schemas/misc/qcom,fastrpc.yaml# + required: + - qcom,glink-channels description: Qualcomm FastRPC