]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: tegra: Fix HSUART for Smaug
authorDiogo Ivo <diogo.ivo@tecnico.ulisboa.pt>
Fri, 14 Jul 2023 10:10:17 +0000 (11:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:13 +0000 (09:48 +0200)
[ Upstream commit 590bfe51838f6345a6a3288507661dc9b7208464 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/nvidia/tegra210-smaug.dts

index d7d7c63e62e254ba75a64c375a26bdb39b450b79..79d294c2ee199989370112b8907a1989a71e972f 100644 (file)
 
        uartd: serial@70006300 {
                compatible = "nvidia,tegra30-hsuart";
+               reset-names = "serial";
                status = "okay";
 
                bluetooth {