dt-bindings: soc: qcom,smd: do not use pattern for simple rpm-requests string
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 24 May 2022 07:04:08 +0000 (09:04 +0200)
committerRob Herring <robh@kernel.org>
Tue, 31 May 2022 13:51:54 +0000 (08:51 -0500)
patternProperties should not be used for properties with a simple string
as name:

  Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml: patternProperties:^(.*-edge|rpm)$:patternProperties:
    '^rpm-requests$' should not be valid under {'pattern': '^\\^[a-zA-Z0-9,\\-._#]+\\$$'}

Fixes: 375eed5f51a8 ("dt-bindings: soc: qcom,smd: convert to dtschema")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220524070408.39505-1-krzysztof.kozlowski@linaro.org
Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml

index e6f9ffa..bca07bb 100644 (file)
@@ -66,9 +66,7 @@ patternProperties:
           The identifier for the remote processor as known by the rest of the
           system.
 
-    # Binding for edge subnodes is not complete
-    patternProperties:
-      "^rpm-requests$":
+      rpm-requests:
         type: object
         description:
           In turn, subnodes of the "edges" represent devices tied to SMD