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

From: Nishanth Menon
Date: Sat Sep 25 2021 - 16:15:07 EST


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@xxxxxx>
---

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@xxxxxx/

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:
--
2.32.0