dt-bindings: soc: qcom: smd: restrict child name to smd-edge
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 9 Sep 2022 12:54:02 +0000 (14:54 +0200)
committerRob Herring <robh@kernel.org>
Fri, 9 Sep 2022 16:23:31 +0000 (11:23 -0500)
Child node of SMD must be either smd-edge or rpm, so the pattern can be
narrowed.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220909125403.803158-7-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml

index 9b3efe97f47c36b0041781052d1ef10ceacfbfc3..0e548234611ec89a525f82bdc82be243db69d85d 100644 (file)
@@ -20,7 +20,7 @@ properties:
     const: qcom,smd
 
 patternProperties:
-  "^.*-edge|rpm$":
+  "^smd-edge|rpm$":
     $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
     description:
       Each subnode of the SMD node represents a remote subsystem or a remote