arm64: tegra: Fix HSUART for Smaug
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Fri, 14 Jul 2023 10:10:17 +0000 (11:10 +0100)
committerThierry Reding <treding@nvidia.com>
Fri, 14 Jul 2023 14:50:49 +0000 (16:50 +0200)
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 70006300.serial: Couldn't get the reset
 serial-tegra: probe of 70006300.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 a63c0cd83720c
("arm64: dts: tegra: smaug: Add Bluetooth node") that enabled the HSUART
for the Pixel C. Fix this by populating the "reset-names" property for
the HSUART on the Pixel C.

Fixes: a63c0cd83720 ("arm64: dts: tegra: smaug: Add Bluetooth node")
Signed-off-by: Diogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index 5a1ce43..15a71a5 100644 (file)
 
        uartd: serial@70006300 {
                compatible = "nvidia,tegra30-hsuart";
+               reset-names = "serial";
                status = "okay";
 
                bluetooth {