Skip to contentSkip to conversation

arm64: dts: ti: k3-j721e/j7200: Introduce EVM compatible

PATCH Superseded Nishanth Menon 2 participants 6 messages Sep 15, 2021 – Sep 16, 2021

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Nishanth Menon

author maintainer
#0 lore raw

cover arm64: dts: ti: k3-j721e/j7200: Introduce EVM compatible

This is prep work for potentially introducing new platforms for j721e/j7200 and brings these evms on par with AM65 and AM64 usage models as well for consistency.

Nishanth Menon (3):
dt-bindings: arm: ti: Add missing compatibles for j721e/j7200 evms
arm64: dts: ti: k3-j721e-common-proc-board: Add j721e-evm compatible
arm64: dts: ti: k3-j7200-common-proc-board: Add j7200-evm compatible

 Documentation/devicetree/bindings/arm/ti/k3.yaml      | 4 ++++
 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 3 +++
 arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 3 +++
 3 files changed, 10 insertions(+)
Signature · 1 line
2.32.0
author maintainer
#1 lore raw

PATCH 1/3 dt-bindings: arm: ti: Add missing compatibles for j721e/j7200 evms

Add compatibles for j721e and j7200 evms to allow for newer platforms to distinguish themselves.

---
 Documentation/devicetree/bindings/arm/ti/k3.yaml | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/arm/ti/k3.yaml +4 -0
index c5aa362e4026..29ca364e8a76 100644
@@ -29,10 +29,14 @@ properties:
 
       - description: K3 J721E SoC
         items:
+          - enum:
+              - ti,j721e-evm
           - const: ti,j721e
 
       - description: K3 J7200 SoC
         items:
+          - enum:
+              - ti,j7200-evm
           - const: ti,j7200
 
       - description: K3 AM642 SoC
Signature · 1 line
2.32.0
maintainer
#2 lore raw

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

Quoted 8 lines · Nishanth Menon

Add compatibles for j721e and j7200 evms to allow for newer platforms to distinguish themselves.

---
 Documentation/devicetree/bindings/arm/ti/k3.yaml | 4 ++++
 1 file changed, 4 insertions(+)

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.example.dt.yaml: /: compatible: 'oneOf' conditional failed, one must be fixed:

	['ti,j721e'] is too short
	'ti,j721e' is not one of ['ti,am654-evm', 'siemens,iot2050-basic', 'siemens,iot2050-advanced']
	'ti,j721e' is not one of ['ti,j721e-evm']
	'ti,j721e' is not one of ['ti,j7200-evm']
	'ti,j721e' is not one of ['ti,am642-evm', 'ti,am642-sk']
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/arm/ti/k3.yaml

doc reference errors (make refcheckdocs):

See https://patchwork.ozlabs.org/patch/1528330

This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date:

pip3 install dtschema --upgrade

Please check and re-submit.

author maintainer
#3 lore raw

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

Quoted 15 lines · Rob Herring
Quoted 8 lines · Nishanth Menon

Add compatibles for j721e and j7200 evms to allow for newer platforms to distinguish themselves.

---
 Documentation/devicetree/bindings/arm/ti/k3.yaml | 4 ++++
 1 file changed, 4 insertions(+)

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

Quoted 9 lines

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/remoteproc/ti,k3-dsp-rproc.example.dt.yaml: /: compatible: 'oneOf' conditional failed, one must be fixed:

	['ti,j721e'] is too short
	'ti,j721e' is not one of ['ti,am654-evm', 'siemens,iot2050-basic', 'siemens,iot2050-advanced']
	'ti,j721e' is not one of ['ti,j721e-evm']
	'ti,j721e' is not one of ['ti,j7200-evm']
	'ti,j721e' is not one of ['ti,am642-evm', 'ti,am642-sk']
	From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/arm/ti/k3.yaml

Aaargh, crap ->

	https://lore.kernel.org/linux-devicetree/[email protected]/

needs to be resolved first.

Signature · 3 lines
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D
author maintainer
#4 lore raw

PATCH 2/3 arm64: dts: ti: k3-j721e-common-proc-board: Add j721e-evm compatible

In reply to Nishanth Menon

Add j721e-evm compatible to the board to allow the board to distinguish itself from other platforms that are pending to be added.

---
 arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts +3 -0
index 8bd02d9e28ad..dc2bc67f9f48 100644
@@ -12,6 +12,9 @@
 #include <dt-bindings/phy/phy-cadence.h>
 
 / {
+	compatible = "ti,j721e-evm", "ti,j721e";
+	model = "Texas Instruments J721e EVM";
+
 	chosen {
 		stdout-path = "serial2:115200n8";
 		bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
Signature · 1 line
2.32.0
author maintainer
#5 lore raw

PATCH 3/3 arm64: dts: ti: k3-j7200-common-proc-board: Add j7200-evm compatible

In reply to Nishanth Menon

Add j7200-evm compatible to the board to allow the board to distinguish itself from other platforms that may be added in the future.

---
 arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +3 -0
index d14f3c18b65f..121975dc8239 100644
@@ -12,6 +12,9 @@
 #include <dt-bindings/phy/phy.h>
 
 / {
+	compatible = "ti,j7200-evm", "ti,j7200";
+	model = "Texas Instruments J7200 EVM";
+
 	chosen {
 		stdout-path = "serial2:115200n8";
 		bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000";
Signature · 1 line
2.32.0