49 lines
1.2 KiB
Diff
49 lines
1.2 KiB
Diff
|
From d28151cc419dfdb1adb0d859b08f46efcc7d2f2d Mon Sep 17 00:00:00 2001
|
||
|
From: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||
|
Date: Sun, 9 May 2021 11:50:56 +0200
|
||
|
Subject: [PATCH 246/469] ARM: dts: sun8i: r40: Add hdmi sound card
|
||
|
|
||
|
R40 support HDMI audio. Add a sound card node for it.
|
||
|
|
||
|
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
|
||
|
---
|
||
|
arch/arm/boot/dts/sun8i-r40.dtsi | 15 +++++++++++++++
|
||
|
1 file changed, 15 insertions(+)
|
||
|
|
||
|
diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi
|
||
|
index 4ef26d8f5340..f4c8e442a278 100644
|
||
|
--- a/arch/arm/boot/dts/sun8i-r40.dtsi
|
||
|
+++ b/arch/arm/boot/dts/sun8i-r40.dtsi
|
||
|
@@ -124,6 +124,20 @@ de: display-engine {
|
||
|
status = "disabled";
|
||
|
};
|
||
|
|
||
|
+ sound_hdmi: sound_hdmi {
|
||
|
+ compatible = "allwinner,sun9i-a80-hdmi-audio",
|
||
|
+ "allwinner,sun8i-r40-hdmi-audio";
|
||
|
+ status = "disabled";
|
||
|
+
|
||
|
+ codec {
|
||
|
+ sound-dai = <&hdmi>;
|
||
|
+ };
|
||
|
+
|
||
|
+ cpu {
|
||
|
+ sound-dai = <&i2s2>;
|
||
|
+ };
|
||
|
+ };
|
||
|
+
|
||
|
thermal-zones {
|
||
|
cpu_thermal: cpu0-thermal {
|
||
|
/* milliseconds */
|
||
|
@@ -1263,6 +1277,7 @@ gic: interrupt-controller@1c81000 {
|
||
|
};
|
||
|
|
||
|
hdmi: hdmi@1ee0000 {
|
||
|
+ #sound-dai-cells = <0>;
|
||
|
compatible = "allwinner,sun8i-r40-dw-hdmi",
|
||
|
"allwinner,sun8i-a83t-dw-hdmi";
|
||
|
reg = <0x01ee0000 0x10000>;
|
||
|
--
|
||
|
2.34.1
|
||
|
|