49 lines
1.3 KiB
Diff
49 lines
1.3 KiB
Diff
From fc6853184fe08adab6b26d27194812d3701cc20e Mon Sep 17 00:00:00 2001
|
|
From: Jernej Skrabec <jernej.skrabec@gmail.com>
|
|
Date: Sun, 9 May 2021 10:39:56 +0200
|
|
Subject: [PATCH 389/478] arm64: dts: allwinner: a64: Add hdmi sound card
|
|
|
|
A64 supports HDMI audio. Add a sound card node for it.
|
|
|
|
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 15 +++++++++++++++
|
|
1 file changed, 15 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
index 6ddb717f2f98..d5256f2dcbb3 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
@@ -159,6 +159,20 @@ link0_codec: codec {
|
|
};
|
|
};
|
|
|
|
+ sound_hdmi: sound_hdmi {
|
|
+ compatible = "allwinner,sun9i-a80-hdmi-audio",
|
|
+ "allwinner,sun50i-a64-hdmi-audio";
|
|
+ status = "disabled";
|
|
+
|
|
+ codec {
|
|
+ sound-dai = <&hdmi>;
|
|
+ };
|
|
+
|
|
+ cpu {
|
|
+ sound-dai = <&i2s2>;
|
|
+ };
|
|
+ };
|
|
+
|
|
timer {
|
|
compatible = "arm,armv8-timer";
|
|
allwinner,erratum-unknown1;
|
|
@@ -1197,6 +1211,7 @@ deinterlace: deinterlace@1e00000 {
|
|
};
|
|
|
|
hdmi: hdmi@1ee0000 {
|
|
+ #sound-dai-cells = <0>;
|
|
compatible = "allwinner,sun50i-a64-dw-hdmi",
|
|
"allwinner,sun8i-a83t-dw-hdmi";
|
|
reg = <0x01ee0000 0x10000>;
|
|
--
|
|
2.35.3
|
|
|