lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1593233625-14961-23-git-send-email-spujar@nvidia.com>
Date:   Sat, 27 Jun 2020 10:23:44 +0530
From:   Sameer Pujar <spujar@...dia.com>
To:     <broonie@...nel.org>, <perex@...ex.cz>, <tiwai@...e.com>,
        <kuninori.morimoto.gx@...esas.com>, <robh+dt@...nel.org>,
        <lgirdwood@...il.com>
CC:     <thierry.reding@...il.com>, <jonathanh@...dia.com>,
        <digetx@...il.com>, <alsa-devel@...a-project.org>,
        <linux-tegra@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <sharadg@...dia.com>, <mkumard@...dia.com>,
        <viswanathl@...dia.com>, <rlokhande@...dia.com>,
        <dramesh@...dia.com>, <atalambedu@...dia.com>,
        <nwartikar@...dia.com>, <swarren@...dia.com>,
        <nicoleotsuka@...il.com>, Sameer Pujar <spujar@...dia.com>
Subject: [PATCH v4 22/23] arm64: tegra: Enable AHUB components on few Tegra platforms

This patch enables AHUB, ADMAIF modules for following Tegra platforms.
Along with this specific instances of I/O modules are enabled as per
the board design.

 * Jetson TX1
   - I2S1, I2S2, I2S3, I2S4 and I2S5
   - DMIC1, DMIC2 and DMIC3

 * Jetson Nano
   - I2S3 and I2S4
   - DMIC1 and DMIC2

 * Jetson TX2
   - I2S1, I2S2, I2S3, I2S4, I2S5 and I2S6
   - DMIC1, DMIC2 and DMIC3
   - DSPK2

 * Jetson AGX Xavier
   - I2S1, I2S2, I2S4 and I2S6
   - DMIC2 and DMIC3
   - DSPK1

This helps to register above components with ASoC core.

Signed-off-by: Sameer Pujar <spujar@...dia.com>
---
 arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts | 48 ++++++++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts | 36 ++++++++++++++++
 arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 42 ++++++++++++++++++-
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 36 ++++++++++++++++
 4 files changed, 161 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
index a70fd4e..cb24b81 100644
--- a/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
@@ -20,6 +20,54 @@
 		interrupt-controller@...0000 {
 			status = "okay";
 		};
+
+		ahub@...0800 {
+			status = "okay";
+
+			admaif@...f000 {
+				status = "okay";
+			};
+
+			i2s@...1000 {
+				status = "okay";
+			};
+
+			i2s@...1100 {
+				status = "okay";
+			};
+
+			i2s@...1200 {
+				status = "okay";
+			};
+
+			i2s@...1300 {
+				status = "okay";
+			};
+
+			i2s@...1400 {
+				status = "okay";
+			};
+
+			i2s@...1500 {
+				status = "okay";
+			};
+
+			dmic@...4000 {
+				status = "okay";
+			};
+
+			dmic@...4100 {
+				status = "okay";
+			};
+
+			dmic@...4200 {
+				status = "okay";
+			};
+
+			dspk@...5100 {
+				status = "okay";
+			};
+		};
 	};
 
 	i2c@...0000 {
diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
index 90b6ea5..f71c3bd 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
@@ -21,6 +21,42 @@
 			interrupt-controller@...0000 {
 				status = "okay";
 			};
+
+			ahub@...0800 {
+				status = "okay";
+
+				admaif@...f000 {
+					status = "okay";
+				};
+
+				i2s@...1000 {
+					status = "okay";
+				};
+
+				i2s@...1100 {
+					status = "okay";
+				};
+
+				i2s@...1300 {
+					status = "okay";
+				};
+
+				i2s@...1500 {
+					status = "okay";
+				};
+
+				dmic@...4100 {
+					status = "okay";
+				};
+
+				dmic@...4200 {
+					status = "okay";
+				};
+
+				dspk@...5000 {
+					status = "okay";
+				};
+			};
 		};
 
 		ddc: i2c@...0000 {
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
index 56adf28..3c21137 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
@@ -118,12 +118,52 @@
 	aconnect@...c0000 {
 		status = "okay";
 
-		dma@...e2000 {
+		dma-controller@...e2000 {
 			status = "okay";
 		};
 
 		interrupt-controller@...f9000 {
 			status = "okay";
 		};
+
+		ahub@...d0800 {
+			status = "okay";
+
+			admaif@...d0000 {
+				status = "okay";
+			};
+
+			i2s@...d1000 {
+				status = "okay";
+			};
+
+			i2s@...d1100 {
+				status = "okay";
+			};
+
+			i2s@...d1200 {
+				status = "okay";
+			};
+
+			i2s@...d1300 {
+				status = "okay";
+			};
+
+			i2s@...d1400 {
+				status = "okay";
+			};
+
+			dmic@...d4000 {
+				status = "okay";
+			};
+
+			dmic@...d4100 {
+				status = "okay";
+			};
+
+			dmic@...d4200 {
+				status = "okay";
+			};
+		};
 	};
 };
diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
index 9b63469..721f66c 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
@@ -806,4 +806,40 @@
 
 		vin-supply = <&avdd_1v05_pll>;
 	};
+
+	aconnect@...c0000 {
+		status = "okay";
+
+		dma-controller@...e2000 {
+			status = "okay";
+		};
+
+		interrupt-controller@...f9000 {
+			status = "okay";
+		};
+
+		ahub@...d0800 {
+			status = "okay";
+
+			admaif@...d0000 {
+				status = "okay";
+			};
+
+			i2s@...d1200 {
+				status = "okay";
+			};
+
+			i2s@...d1300 {
+				status = "okay";
+			};
+
+			dmic@...d4000 {
+				status = "okay";
+			};
+
+			dmic@...d4100 {
+				status = "okay";
+			};
+		};
+	};
 };
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ