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 <[email protected]>
---
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/[email protected]/
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
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 <[email protected]>
Acked-by: Suman Anna <[email protected]>
> ---
>
> 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/[email protected]/
>
> 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:
>
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 <[email protected]>
> ---
>
> 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/[email protected]/
>
> Documentation/devicetree/bindings/arm/ti/k3.yaml | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
Acked-by: Rob Herring <[email protected]>