[PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416

Alain Volmat posted 2 patches 2 years, 7 months ago
[PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416
Posted by Alain Volmat 2 years, 7 months ago
Add bindings for STi platform boards and remove stih415/stih416

Signed-off-by: Alain Volmat <avolmat@me.com>
---
v3: move back file into bindings/arm and update commit log accordingly
v2: update licensing
    move file into soc/sti folder
 .../devicetree/bindings/arm/sti.yaml          | 23 ++++++++++++-------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml
index 3ca054c64377..842def3e3f2b 100644
--- a/Documentation/devicetree/bindings/arm/sti.yaml
+++ b/Documentation/devicetree/bindings/arm/sti.yaml
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 %YAML 1.2
 ---
 $id: http://devicetree.org/schemas/arm/sti.yaml#
@@ -13,13 +13,20 @@ properties:
   $nodename:
     const: '/'
   compatible:
-    items:
-      - enum:
-          - st,stih415
-          - st,stih416
-          - st,stih407
-          - st,stih410
-          - st,stih418
+    oneOf:
+      - items:
+          - const: st,stih407-b2120
+          - const: st,stih407
+      - items:
+          - enum:
+              - st,stih410-b2120
+              - st,stih410-b2260
+          - const: st,stih410
+      - items:
+          - enum:
+              - st,stih418-b2199
+              - st,stih418-b2264
+          - const: st,stih418
 
 additionalProperties: true
 
-- 
2.34.1
Re: [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416
Posted by Patrice CHOTARD 2 years ago

On 2/13/23 19:56, Alain Volmat wrote:
> Add bindings for STi platform boards and remove stih415/stih416
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
> v3: move back file into bindings/arm and update commit log accordingly
> v2: update licensing
>     move file into soc/sti folder
>  .../devicetree/bindings/arm/sti.yaml          | 23 ++++++++++++-------
>  1 file changed, 15 insertions(+), 8 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/sti.yaml b/Documentation/devicetree/bindings/arm/sti.yaml
> index 3ca054c64377..842def3e3f2b 100644
> --- a/Documentation/devicetree/bindings/arm/sti.yaml
> +++ b/Documentation/devicetree/bindings/arm/sti.yaml
> @@ -1,4 +1,4 @@
> -# SPDX-License-Identifier: GPL-2.0
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>  %YAML 1.2
>  ---
>  $id: http://devicetree.org/schemas/arm/sti.yaml#
> @@ -13,13 +13,20 @@ properties:
>    $nodename:
>      const: '/'
>    compatible:
> -    items:
> -      - enum:
> -          - st,stih415
> -          - st,stih416
> -          - st,stih407
> -          - st,stih410
> -          - st,stih418
> +    oneOf:
> +      - items:
> +          - const: st,stih407-b2120
> +          - const: st,stih407
> +      - items:
> +          - enum:
> +              - st,stih410-b2120
> +              - st,stih410-b2260
> +          - const: st,stih410
> +      - items:
> +          - enum:
> +              - st,stih418-b2199
> +              - st,stih418-b2264
> +          - const: st,stih418
>  
>  additionalProperties: true
>  
Applied on sti-next

Thanks 
Patrice
Re: [PATCH v3 2/2] dt-bindings: arm: sti: add STi boards and remove stih415/stih416
Posted by Krzysztof Kozlowski 2 years, 6 months ago
On 13/02/2023 19:56, Alain Volmat wrote:
> Add bindings for STi platform boards and remove stih415/stih416
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
> v3: move back file into bindings/arm and update commit log accordingly
> v2: update licensing
>     move file into soc/sti folder
>  .../devicetree/bindings/arm/sti.yaml          | 23 ++++++++++


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof