diff mbox series

[V2,1/4] dt-bindings: arm: ti: Add missing compatibles for j721e/j7200 evms

Message ID 20210925201430.11678-2-nm@ti.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: ti: k3-j721e/j7200: Introduce EVM compatible | expand

Commit Message

Nishanth Menon Sept. 25, 2021, 8:14 p.m. UTC
Add compatibles for j721e and j7200 evms to allow for newer platforms
to distinguish themselves.

While doing this, maintain support for older style of description where
the board compatibility was not required.

Signed-off-by: Nishanth Menon <nm@ti.com>
---

Changes in V2:
* Modified such that legacy style of compatibles (of just SoC alone) is
  still valid
* Made the capability of providing a board specific compatible as an
  alternate scheme
* No longer dependent on rproc cleanup and platforms hosted in
  downstream trees remain compatible

V1: https://lore.kernel.org/all/20210915121937.27702-2-nm@ti.com/

 Documentation/devicetree/bindings/arm/ti/k3.yaml | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

Comments

Suman Anna Sept. 27, 2021, 2:24 p.m. UTC | #1
On 9/25/21 3:14 PM, Nishanth Menon wrote:
> Add compatibles for j721e and j7200 evms to allow for newer platforms
> to distinguish themselves.
> 
> While doing this, maintain support for older style of description where
> the board compatibility was not required.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>

Acked-by: Suman Anna <s-anna@ti.com>

> ---
> 
> Changes in V2:
> * Modified such that legacy style of compatibles (of just SoC alone) is
>   still valid
> * Made the capability of providing a board specific compatible as an
>   alternate scheme
> * No longer dependent on rproc cleanup and platforms hosted in
>   downstream trees remain compatible
> 
> V1: https://lore.kernel.org/all/20210915121937.27702-2-nm@ti.com/
> 
>  Documentation/devicetree/bindings/arm/ti/k3.yaml | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml
> index c5aa362e4026..cefb06424a4a 100644
> --- a/Documentation/devicetree/bindings/arm/ti/k3.yaml
> +++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml
> @@ -28,12 +28,20 @@ properties:
>            - const: ti,am654
>  
>        - description: K3 J721E SoC
> -        items:
> +        oneOf:
>            - const: ti,j721e
> +          - items:
> +              - enum:
> +                  - ti,j721e-evm
> +              - const: ti,j721e
>  
>        - description: K3 J7200 SoC
> -        items:
> +        oneOf:
>            - const: ti,j7200
> +          - items:
> +              - enum:
> +                  - ti,j7200-evm
> +              - const: ti,j7200
>  
>        - description: K3 AM642 SoC
>          items:
>
Rob Herring (Arm) Oct. 4, 2021, 5:52 p.m. UTC | #2
On Sat, 25 Sep 2021 15:14:27 -0500, Nishanth Menon wrote:
> Add compatibles for j721e and j7200 evms to allow for newer platforms
> to distinguish themselves.
> 
> While doing this, maintain support for older style of description where
> the board compatibility was not required.
> 
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> 
> Changes in V2:
> * Modified such that legacy style of compatibles (of just SoC alone) is
>   still valid
> * Made the capability of providing a board specific compatible as an
>   alternate scheme
> * No longer dependent on rproc cleanup and platforms hosted in
>   downstream trees remain compatible
> 
> V1: https://lore.kernel.org/all/20210915121937.27702-2-nm@ti.com/
> 
>  Documentation/devicetree/bindings/arm/ti/k3.yaml | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml
index c5aa362e4026..cefb06424a4a 100644
--- a/Documentation/devicetree/bindings/arm/ti/k3.yaml
+++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml
@@ -28,12 +28,20 @@  properties:
           - const: ti,am654
 
       - description: K3 J721E SoC
-        items:
+        oneOf:
           - const: ti,j721e
+          - items:
+              - enum:
+                  - ti,j721e-evm
+              - const: ti,j721e
 
       - description: K3 J7200 SoC
-        items:
+        oneOf:
           - const: ti,j7200
+          - items:
+              - enum:
+                  - ti,j7200-evm
+              - const: ti,j7200
 
       - description: K3 AM642 SoC
         items: