Skip to contentSkip to conversation

arm64: tegra: Add audio support for IGX Orin

PATCH In review Mohan Kumar 2 participants 3 messages Jun 20, 2023 – Jul 20, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: tegra: Add audio support for IGX Orin

Add audio support for the NVIDIA IGX Orin development kit having P3701 module with P3740 carrier board.

Move the common device-tree nodes to a new file tegra234-p3701.dtsi and use this for Jetson AGX Orin and NVIDIA IGX Orin platforms

---
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  |    1 +
 .../boot/dts/nvidia/tegra234-p3701-0008.dtsi  |    1 +
 .../arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 1991 ++++++++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 2009 -----------------
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |   41 +
 .../nvidia/tegra234-p3740-0002+p3701-0008.dts |   91 +-
 .../boot/dts/nvidia/tegra234-p3740-0002.dtsi  |   56 +
 7 files changed, 2176 insertions(+), 2014 deletions(-)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi
arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +1 -0
index 319b3a9cff24..cb792041fc62 100644
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 
 #include "tegra234.dtsi"
+#include "tegra234-p3701.dtsi"
 
 / {
 	model = "NVIDIA Jetson AGX Orin";
arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi +1 -0
index e468352b8b7f..62c4fdad0b60 100644
@@ -1,6 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0
 
 #include "tegra234.dtsi"
+#include "tegra234-p3701.dtsi"
 
 / {
 	compatible = "nvidia,p3701-0008", "nvidia,tegra234";
arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi new file +1991 -0

1,991 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +0 -2009

995 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3737-0000.dtsi +41 -0

41 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +86 -5

91 lines not on this page · raw message

arch/arm64/boot/dts/nvidia/tegra234-p3740-0002.dtsi +56 -0

56 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.17.1

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 17 lines · Mohan Kumar

Add audio support for the NVIDIA IGX Orin development kit having P3701 module with P3740 carrier board.

Move the common device-tree nodes to a new file tegra234-p3701.dtsi and use this for Jetson AGX Orin and NVIDIA IGX Orin platforms

---
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  |    1 +
 .../boot/dts/nvidia/tegra234-p3701-0008.dtsi  |    1 +
 .../arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 1991 ++++++++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 2009 -----------------
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |   41 +
 .../nvidia/tegra234-p3740-0002+p3701-0008.dts |   91 +-
 .../boot/dts/nvidia/tegra234-p3740-0002.dtsi  |   56 +
 7 files changed, 2176 insertions(+), 2014 deletions(-)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi

[...]

Quoted 4 lines
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +0 -0
index 43d797e5544f..2b7856b303b4 100644

[...]

Quoted 6 lines
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1 -1
@@ -103,7 +99,7 @@
 		};
 
 		hda@3510000 {
-			nvidia,model = "NVIDIA IGX HDA";
+			nvidia,model = "NVIDIA Jetson IGX Orin HDA";

[...]

Quoted 1 line
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +0 -0
@@ -151,4 +147,89 @@

[...]

arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts line 211

Quoted 1 line
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1 -0
+		label = "NVIDIA Jetson IGX Orin APE";

[...]

The platform is called "NVIDIA IGX Orin Development Kit", so shouldn't these be "NVIDIA IGX Orin HDA" and "NVIDIA IGX Orin APE", respectively?

Thierry

#2 lore raw
Quoted 31 lines · Thierry Reding
Quoted 17 lines · Mohan Kumar

Add audio support for the NVIDIA IGX Orin development kit having P3701 module with P3740 carrier board.

Move the common device-tree nodes to a new file tegra234-p3701.dtsi and use this for Jetson AGX Orin and NVIDIA IGX Orin platforms

---
 .../boot/dts/nvidia/tegra234-p3701-0000.dtsi  |    1 +
 .../boot/dts/nvidia/tegra234-p3701-0008.dtsi  |    1 +
 .../arm64/boot/dts/nvidia/tegra234-p3701.dtsi | 1991 ++++++++++++++++
 .../nvidia/tegra234-p3737-0000+p3701-0000.dts | 2009 -----------------
 .../boot/dts/nvidia/tegra234-p3737-0000.dtsi  |   41 +
 .../nvidia/tegra234-p3740-0002+p3701-0008.dts |   91 +-
 .../boot/dts/nvidia/tegra234-p3740-0002.dtsi  |   56 +
 7 files changed, 2176 insertions(+), 2014 deletions(-)
 create mode 100644 arch/arm64/boot/dts/nvidia/tegra234-p3701.dtsi

[...]

Quoted 4 lines
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +0 -0
index 43d797e5544f..2b7856b303b4 100644

[...]

Quoted 6 lines
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1 -1
@@ -103,7 +99,7 @@
 		};
 
 		hda@3510000 {
-			nvidia,model = "NVIDIA IGX HDA";
+			nvidia,model = "NVIDIA Jetson IGX Orin HDA";

[...]

Quoted 7 lines
Quoted 1 line
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +0 -0
@@ -151,4 +147,89 @@

[...]

arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts line 211

Quoted 1 line
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1 -0
+		label = "NVIDIA Jetson IGX Orin APE";

[...]

The platform is called "NVIDIA IGX Orin Development Kit", so shouldn't these be "NVIDIA IGX Orin HDA" and "NVIDIA IGX Orin APE", respectively?

Oh, and no need to resend, I can fix this up when I apply.

Thierry