[PATCH 20/22] dt-bindings: firmware: arm,scmi: allow multiple virtual instances

Nikunj Kela posted 22 patches 1 year, 3 months ago
There is a newer version of this series
[PATCH 20/22] dt-bindings: firmware: arm,scmi: allow multiple virtual instances
Posted by Nikunj Kela 1 year, 3 months ago
This change extends scmi node name so as to allow multiple virtual
SCMI instances.

Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
---
 Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
index 211f5254adf2..a168be6dd30c 100644
--- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
+++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
@@ -24,7 +24,7 @@ description: |
 
 properties:
   $nodename:
-    const: scmi
+    pattern: '^scmi\.*'
 
   compatible:
     oneOf:
-- 
2.34.1
Re: [PATCH 20/22] dt-bindings: firmware: arm,scmi: allow multiple virtual instances
Posted by Krzysztof Kozlowski 1 year, 3 months ago
On Wed, Aug 28, 2024 at 01:37:19PM -0700, Nikunj Kela wrote:
> This change extends scmi node name so as to allow multiple virtual
> SCMI instances.
> 
> Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
> ---
>  Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
> index 211f5254adf2..a168be6dd30c 100644
> --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
> +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml
> @@ -24,7 +24,7 @@ description: |
>  
>  properties:
>    $nodename:
> -    const: scmi
> +    pattern: '^scmi\.*'


^scmi(-[0-9]+)?$

Best regards,
Krzysztof