[PATCH v2 2/5] dt-bindings: misc: qcom,fastrpc: allow FastRPC node without reg entry

From: Dylan Van Assche
Date: Mon Mar 27 2023 - 14:48:43 EST


FastRPC nodes may exist without a registry property and actual
Compute Banks in some cases such as the SLPI on the Qualcomm SDM845 SoC.
Relax the regex to allow such FastRPC nodes and remove 'reg' as a
required property.

Signed-off-by: Dylan Van Assche <me@xxxxxxxxxxxxxxxxx>
---
Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
index 1ab9588cdd89..0ccd3296d4f2 100644
--- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
+++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml
@@ -64,7 +64,7 @@ properties:
const: 0

patternProperties:
- "(compute-)?cb@[0-9]*$":
+ "(compute-)?cb(@[0-9]*)?$":
type: object

description: >
@@ -89,7 +89,6 @@ patternProperties:

required:
- compatible
- - reg

additionalProperties: false

--
2.39.2