Skip to contentSkip to conversation

arm64: tegra: Remove dmas and dma-names for debug UART

PATCH New Thierry Reding 1 participant 4 messages Jul 17, 2023

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

PATCH 1/4 arm64: tegra: Remove dmas and dma-names for debug UART

From: Thierry Reding <[email protected]>

The debug UART doesn't support DMA and the DT bindings prohibit the use of the dmas and dma-names properties for it, so remove them.

---
 arch/arm64/boot/dts/nvidia/tegra132-norrin.dts     | 2 ++
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi     | 2 ++
 arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi     | 2 ++
 arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi     | 2 ++
 arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 2 ++
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts      | 2 ++
 arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts    | 2 ++
 7 files changed, 14 insertions(+)
arch/arm64/boot/dts/nvidia/tegra132-norrin.dts +2 -0
index d4c034ac1244..bbc2e9bef08d 100644
@@ -531,6 +531,8 @@ soc_warm_reset_l {
 	};
 
 	serial@70006000 {
+		/delete-property/ dmas;
+		/delete-property/ dma-names;
 		status = "okay";
 	};
 
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi +2 -0
index 92163b680980..0ae5a44f7d07 100644
@@ -28,6 +28,8 @@ gpu@57000000 {
 
 	/* debug port */
 	serial@70006000 {
+		/delete-property/ dmas;
+		/delete-property/ dma-names;
 		status = "okay";
 	};
 
arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi +2 -0
index 0a70daeffd85..f0d53f0b4117 100644
@@ -21,6 +21,8 @@ memory@80000000 {
 
 	/* debug port */
 	serial@70006000 {
+		/delete-property/ dmas;
+		/delete-property/ dma-names;
 		status = "okay";
 	};
 
arch/arm64/boot/dts/nvidia/tegra210-p2894.dtsi +2 -0
index 1f263fd32a7a..bbd6ff0564da 100644
@@ -1321,6 +1321,8 @@ shutdown {
 	};
 
 	serial@70006000 {
+		/delete-property/ dmas;
+		/delete-property/ dma-names;
 		status = "okay";
 	};
 
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts +2 -0
index b4cc7d40911c..ac8c91f548e2 100644
@@ -126,6 +126,8 @@ dvfs_pwm_pbb1 {
 
 	/* debug port */
 	serial@70006000 {
+		/delete-property/ dmas;
+		/delete-property/ dma-names;
 		status = "okay";
 	};
 
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +2 -0
index 9c9c269158db..515a0e637cb7 100644
@@ -1312,6 +1312,8 @@ shutdown {
 	};
 
 	serial@70006000 {
+		/delete-property/ dmas;
+		/delete-property/ dma-names;
 		status = "okay";
 	};
 
arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts +2 -0
index 5804acfc428a..9f3e9f30c3f7 100644
@@ -19,6 +19,8 @@ chosen {
 
 	bus@0 {
 		serial@3100000 {
+			/delete-property/ dmas;
+			/delete-property/ dma-names;
 			status = "okay";
 		};
 
Signature · 1 line
2.41.0
#1 lore raw

PATCH 2/4 arm64: tegra: smaug: Remove reg-shift for high-speed UART

From: Thierry Reding <[email protected]>

The device tree bindings for the high-speed UART don't define a reg-shift property, so delete it.

---
 arch/arm64/boot/dts/nvidia/tegra210-smaug.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts +1 -0
index 515a0e637cb7..53805555dd2d 100644
@@ -1320,6 +1320,7 @@ serial@70006000 {
 	uartd: serial@70006300 {
 		compatible = "nvidia,tegra30-hsuart";
 		reset-names = "serial";
+		/delete-property/ reg-shift;
 		status = "okay";
 
 		bluetooth {
Signature · 1 line
2.41.0
#2 lore raw

PATCH 3/4 arm64: tegra: Remove current-speed for SBSA UART

In reply to Thierry Reding

From: Thierry Reding <[email protected]>

The SBSA UART device tree bindings don't define a current-speed property, so remove it.

---
 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 1 -
 arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts | 1 -
 arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi           | 1 -
 3 files changed, 3 deletions(-)
arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +0 -1
index ca9a4e5e6a8e..21e6acd6e61c 100644
@@ -2106,7 +2106,6 @@ serial@3100000 {
 		};
 
 		serial@31d0000 {
-			current-speed = <115200>;
 			status = "okay";
 		};
 
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts +0 -1
index 072e45ce2631..5659c76ba485 100644
@@ -113,7 +113,6 @@ framebuffer {
 
 	bus@0 {
 		serial@31d0000 {
-			current-speed = <115200>;
 			status = "okay";
 		};
 
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000.dtsi +0 -1
index 6101bc5808bc..0f15f7d4f01f 100644
@@ -31,7 +31,6 @@ eeprom@57 {
 		};
 
 		serial@31d0000 {
-			current-speed = <115200>;
 			status = "okay";
 		};
 
Signature · 1 line
2.41.0
#3 lore raw

PATCH 4/4 arm64: tegra: Add missing reset-names for Tegra HS UART

In reply to Thierry Reding

From: Thierry Reding <[email protected]>

The device tree bindings for the Tegra high-speed UART require the reset-names property, so add it whenever the compatible string for the serial port is overwritten.

---
 arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts +1 -0
index b35044812ecf..0de6ec38af42 100644
@@ -71,6 +71,7 @@ aconnect@2900000 {
 
 		serial@3100000 {
 			compatible = "nvidia,tegra194-hsuart";
+			reset-names = "serial";
 			status = "okay";
 		};
 
Signature · 1 line
2.41.0