[PATCH] arm64: tegra: Add uartd serial alias for Jetson TX1 module

Aaron Kling via B4 Relay posted 1 patch 9 months, 3 weeks ago
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 1 +
1 file changed, 1 insertion(+)
[PATCH] arm64: tegra: Add uartd serial alias for Jetson TX1 module
Posted by Aaron Kling via B4 Relay 9 months, 3 weeks ago
From: Aaron Kling <webgeek1234@gmail.com>

If a serial-tegra interface does not have an alias, the driver fails to
probe with an error:
serial-tegra 70006300.serial: failed to get alias id, errno -19
This prevents the bluetooth device from being accessible.

Fixes: 6eba6471bbb7 ("arm64: tegra: Wire up Bluetooth on Jetson TX1 module")
Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
---
 arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
index 9b9d1d15b0c7eafd3895f02db1bc747d7cc8923c..1bb1f9640a800af6c10fabf0ee3916f2566a6d4b 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
@@ -11,6 +11,7 @@ aliases {
 		rtc0 = "/i2c@7000d000/pmic@3c";
 		rtc1 = "/rtc@7000e000";
 		serial0 = &uarta;
+		serial3 = &uartd;
 	};
 
 	chosen {

---
base-commit: 119009db267415049182774196e3cce9e13b52ef
change-id: 20250419-tx1-bt-5f202a7e4cac

Best regards,
-- 
Aaron Kling <webgeek1234@gmail.com>
Re: [PATCH] arm64: tegra: Add uartd serial alias for Jetson TX1 module
Posted by Thierry Reding 9 months ago
From: Thierry Reding <treding@nvidia.com>


On Sun, 20 Apr 2025 09:35:37 -0500, Aaron Kling wrote:
> If a serial-tegra interface does not have an alias, the driver fails to
> probe with an error:
> serial-tegra 70006300.serial: failed to get alias id, errno -19
> This prevents the bluetooth device from being accessible.
> 
> 

Applied, thanks!

[1/1] arm64: tegra: Add uartd serial alias for Jetson TX1 module
      commit: dfb25484bd73c8590954ead6fd58a1587ba3bbc5

Best regards,
-- 
Thierry Reding <treding@nvidia.com>
Re: [PATCH] arm64: tegra: Add uartd serial alias for Jetson TX1 module
Posted by Thierry Reding 9 months ago
On Sun, Apr 20, 2025 at 09:35:37AM -0500, Aaron Kling via B4 Relay wrote:
> From: Aaron Kling <webgeek1234@gmail.com>
> 
> If a serial-tegra interface does not have an alias, the driver fails to
> probe with an error:
> serial-tegra 70006300.serial: failed to get alias id, errno -19
> This prevents the bluetooth device from being accessible.
> 
> Fixes: 6eba6471bbb7 ("arm64: tegra: Wire up Bluetooth on Jetson TX1 module")
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 1 +
>  1 file changed, 1 insertion(+)

Huh... seems a bit over the top to fail in the absence of an alias. Oh
well.

Applied, thanks.

Thierry
Re: [PATCH] arm64: tegra: Add uartd serial alias for Jetson TX1 module
Posted by Tomasz Maciej Nowak 9 months, 3 weeks ago
W dniu 20.04.2025 o 16:35, Aaron Kling via B4 Relay pisze:
> From: Aaron Kling <webgeek1234@gmail.com>
> 
> If a serial-tegra interface does not have an alias, the driver fails to
> probe with an error:
> serial-tegra 70006300.serial: failed to get alias id, errno -19
> This prevents the bluetooth device from being accessible.
> 
> Fixes: 6eba6471bbb7 ("arm64: tegra: Wire up Bluetooth on Jetson TX1 module")
> Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Tomasz Maciej Nowak <tmn505@gmail.com>

Thanks.

> diff --git a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
> index 9b9d1d15b0c7eafd3895f02db1bc747d7cc8923c..1bb1f9640a800af6c10fabf0ee3916f2566a6d4b 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
> @@ -11,6 +11,7 @@ aliases {
>  		rtc0 = "/i2c@7000d000/pmic@3c";
>  		rtc1 = "/rtc@7000e000";
>  		serial0 = &uarta;
> +		serial3 = &uartd;
>  	};
>  
>  	chosen {
> 
> ---
> base-commit: 119009db267415049182774196e3cce9e13b52ef
> change-id: 20250419-tx1-bt-5f202a7e4cac
> 
> Best regards,
Regards

-- 
TMN