[PATCH v1 4/6] ARM: tegra114: add HDA node

Svyatoslav Ryhel posted 6 patches 11 months, 2 weeks ago
There is a newer version of this series
[PATCH v1 4/6] ARM: tegra114: add HDA node
Posted by Svyatoslav Ryhel 11 months, 2 weeks ago
Add HDA device binding.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
 arch/arm/boot/dts/nvidia/tegra114.dtsi | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/arch/arm/boot/dts/nvidia/tegra114.dtsi b/arch/arm/boot/dts/nvidia/tegra114.dtsi
index 9021c6698ee5..e2623a0629d2 100644
--- a/arch/arm/boot/dts/nvidia/tegra114.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra114.dtsi
@@ -642,6 +642,21 @@ mc: memory-controller@70019000 {
 		#iommu-cells = <1>;
 	};
 
+	hda@70030000 {
+		compatible = "nvidia,tegra114-hda", "nvidia,tegra30-hda";
+		reg = <0x70030000 0x10000>;
+		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&tegra_car TEGRA114_CLK_HDA>,
+			 <&tegra_car TEGRA114_CLK_HDA2HDMI>,
+			 <&tegra_car TEGRA114_CLK_HDA2CODEC_2X>;
+		clock-names = "hda", "hda2hdmi", "hda2codec_2x";
+		resets = <&tegra_car 125>, /* hda */
+			 <&tegra_car 128>, /* hda2hdmi */
+			 <&tegra_car 111>; /* hda2codec_2x */
+		reset-names = "hda", "hda2hdmi", "hda2codec_2x";
+		status = "disabled";
+	};
+
 	ahub@70080000 {
 		compatible = "nvidia,tegra114-ahub";
 		reg = <0x70080000 0x200>,
-- 
2.43.0
Re: [PATCH v1 4/6] ARM: tegra114: add HDA node
Posted by Thierry Reding 11 months, 1 week ago
On Wed, Feb 26, 2025 at 12:56:13PM +0200, Svyatoslav Ryhel wrote:
> Add HDA device binding.
> 
> Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> ---
>  arch/arm/boot/dts/nvidia/tegra114.dtsi | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)

The nvidia,tegra114-hda compatible string doesn't exist in the bindings
yet, but I've applied this for now and added a patch to the Tegra tree
that adds the compatible string.

Thierry
Re: [PATCH v1 4/6] ARM: tegra114: add HDA node
Posted by Svyatoslav Ryhel 11 months, 1 week ago
чт, 6 бер. 2025 р. о 19:54 Thierry Reding <thierry.reding@gmail.com> пише:
>
> On Wed, Feb 26, 2025 at 12:56:13PM +0200, Svyatoslav Ryhel wrote:
> > Add HDA device binding.
> >
> > Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
> > ---
> >  arch/arm/boot/dts/nvidia/tegra114.dtsi | 15 +++++++++++++++
> >  1 file changed, 15 insertions(+)
>
> The nvidia,tegra114-hda compatible string doesn't exist in the bindings
> yet, but I've applied this for now and added a patch to the Tegra tree
> that adds the compatible string.
>

Do I need to add binding adjustment in v2 of this patchset?

> Thierry