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

Message ID 20230213185633.15187-3-avolmat@me.com
State New
Headers
Series dt-bindings: sti: updates for STi platform |

Commit Message

Alain Volmat Feb. 13, 2023, 6:56 p.m. UTC
  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(-)
  

Comments

Krzysztof Kozlowski Feb. 14, 2023, 9:45 a.m. UTC | #1
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
  

Patch

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