Skip to content

Commit dd2cac8

Browse files
digetxthierryreding
authored andcommitted
ARM: tegra: Add HDMI audio graph to Tegra20 device-tree
Add HDMI audio graph to Tegra20 device-tree to enable HDMI audio on Tegra20 devices. Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent dcbc408 commit dd2cac8

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

arch/arm/boot/dts/tegra20.dtsi

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
};
179179
};
180180

181-
hdmi@54280000 {
181+
tegra_hdmi: hdmi@54280000 {
182182
compatible = "nvidia,tegra20-hdmi";
183183
reg = <0x54280000 0x00040000>;
184184
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
@@ -1040,4 +1040,24 @@
10401040
interrupt-affinity = <&{/cpus/cpu@0}>,
10411041
<&{/cpus/cpu@1}>;
10421042
};
1043+
1044+
sound-hdmi {
1045+
compatible = "simple-audio-card";
1046+
simple-audio-card,name = "NVIDIA Tegra20 HDMI";
1047+
1048+
#address-cells = <1>;
1049+
#size-cells = <0>;
1050+
1051+
simple-audio-card,dai-link@0 {
1052+
reg = <0>;
1053+
1054+
cpu {
1055+
sound-dai = <&tegra_spdif>;
1056+
};
1057+
1058+
codec {
1059+
sound-dai = <&tegra_hdmi>;
1060+
};
1061+
};
1062+
};
10431063
};

0 commit comments

Comments
 (0)