Skip to content

Commit c8e3bcc

Browse files
pujarsgregkh
authored andcommitted
arm64: tegra: Add power-domain for Tegra210 HDA
commit 1e0ca54 upstream. HDA initialization is failing occasionally on Tegra210 and following print is observed in the boot log. Because of this probe() fails and no sound card is registered. [16.800802] tegra-hda 70030000.hda: no codecs found! Codecs request a state change and enumeration by the controller. In failure cases this does not seem to happen as STATETS register reads 0. The problem seems to be related to the HDA codec dependency on SOR power domain. If it is gated during HDA probe then the failure is observed. Building Tegra HDA driver into kernel image avoids this failure but does not completely address the dependency part. Fix this problem by adding 'power-domains' DT property for Tegra210 HDA. Note that Tegra186 and Tegra194 HDA do this already. Fixes: 742af7e ("arm64: tegra: Add Tegra210 support") Depends-on: 96d1f07 ("arm64: tegra: Add SOR power-domain for Tegra210") Cc: <stable@vger.kernel.org> Signed-off-by: Sameer Pujar <spujar@nvidia.com> Acked-by: Jon Hunter <jonathanh@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 74c8a6a commit c8e3bcc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

arch/arm64/boot/dts/nvidia/tegra210.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@
917917
<&tegra_car 128>, /* hda2hdmi */
918918
<&tegra_car 111>; /* hda2codec_2x */
919919
reset-names = "hda", "hda2hdmi", "hda2codec_2x";
920+
power-domains = <&pd_sor>;
920921
status = "disabled";
921922
};
922923

0 commit comments

Comments
 (0)