Skip to contentSkip to conversation

arm64: tegra: Fix HSUART for Jetson AGX Orin

PATCH Applied Jon Hunter 2 participants 2 messages Jul 3, 2023 – Jul 13, 2023

Subsystems (2)
lore
Share & tools
lore

Jon Hunter

author maintainer
#0 lore raw

PATCH 1/1 arm64: tegra: Fix HSUART for Jetson AGX Orin

After commit 71de0a054d0e ("arm64: tegra: Drop serial clock-names and reset-names") was applied, the HSUART failed to probe and the following error is seen:

serial-tegra 3100000.serial: Couldn't get the reset
serial-tegra: probe of 3100000.serial failed with error -2

Commit 71de0a054d0e ("arm64: tegra: Drop serial clock-names and reset-names") is correct because the "reset-names" property is not needed for 8250 UARTs. However, the "reset-names" is required for the HSUART and should have been populated as part of commit ff578db7b693 ("arm64: tegra: Enable UART instance on 40-pin header") that enabled the HSUART for Jetson AGX Orin. Fix this by populating the "reset-names" property for the HSUART on Jetson AGX Orin.

Fixes ff578db7b693 ("arm64: tegra: Enable UART instance on 40-pin header")
---
 arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra234-p3737-0000+p3701-0000.dts +1 -0
index cd13cf2381dd..513cc2cd0b66 100644
@@ -2010,6 +2010,7 @@ interrupt-controller@2a40000 {
 
 		serial@3100000 {
 			compatible = "nvidia,tegra194-hsuart";
+			reset-names = "serial";
 			status = "okay";
 		};
 
Signature · 1 line
2.34.1
#1 lore raw

From: Thierry Reding <[email protected]>

Quoted 8 lines · Jon Hunter

After commit 71de0a054d0e ("arm64: tegra: Drop serial clock-names and reset-names") was applied, the HSUART failed to probe and the following error is seen:

serial-tegra 3100000.serial: Couldn't get the reset
serial-tegra: probe of 3100000.serial failed with error -2

[...]

Applied, thanks!

[1/1] arm64: tegra: Fix HSUART for Jetson AGX Orin

      commit: 861dbb2b15b1049113887fb95e856f7123eea0cc

Best regards,

Signature · 1 line
Thierry Reding <[email protected]>