The patternProperties key for compute-cb subnodes used [0-9]* which only matches decimal digits. However, per DTS convention, node unit addresses must be the lowercase hexadecimal representation of the reg value. For compute-cb nodes with reg values >= 10 (e.g. 12, 13, 14), the correct node names are compute-cb@c, compute-cb@d, compute-cb@e respectively, which are not matched by the current pattern.
Extend the pattern to [0-9a-f]+ to allow lowercase hex digits, making it consistent with DTS unit address conventions. Also change * to + to require at least one digit in the unit address. Reviewed-by: Mukesh Ojha <[email protected]> Signed-off-by: Ekansh Gupta <[email protected]> --- Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml index 49d2a5e8ba39..d9444f452585 100644 --- a/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml +++ b/Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml @@ -79,7 +79,7 @@ properties: const: 0 patternProperties: - "(compute-)?cb@[0-9]*$": + "(compute-)?cb@[0-9a-f]+$": type: object description: > -- 2.34.1
