49 lines
1.3 KiB
Diff
49 lines
1.3 KiB
Diff
From 21dcdba666bee839c6259e1f87b93dbeaad077e5 Mon Sep 17 00:00:00 2001
|
|
From: Jernej Skrabec <jernej.skrabec@gmail.com>
|
|
Date: Tue, 10 Nov 2020 20:43:28 +0100
|
|
Subject: [PATCH] arm64: dts: allwinner: h6: Add hdmi sound card
|
|
|
|
H6 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-h6.dtsi | 15 +++++++++++++++
|
|
1 file changed, 15 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
index 1298853a7..95f242ff9 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
@@ -102,6 +102,20 @@ scpi_protocol: scpi {
|
|
shmem = <&scpi_sram>;
|
|
};
|
|
|
|
+ sound_hdmi: sound_hdmi {
|
|
+ compatible = "allwinner,sun9i-a80-hdmi-audio",
|
|
+ "allwinner,sun50i-h6-hdmi-audio";
|
|
+ status = "disabled";
|
|
+
|
|
+ codec {
|
|
+ sound-dai = <&hdmi>;
|
|
+ };
|
|
+
|
|
+ cpu {
|
|
+ sound-dai = <&i2s1>;
|
|
+ };
|
|
+ };
|
|
+
|
|
timer {
|
|
compatible = "arm,armv8-timer";
|
|
arm,no-tick-in-suspend;
|
|
@@ -808,6 +822,7 @@ ohci3: usb@5311400 {
|
|
};
|
|
|
|
hdmi: hdmi@6000000 {
|
|
+ #sound-dai-cells = <0>;
|
|
compatible = "allwinner,sun50i-h6-dw-hdmi";
|
|
reg = <0x06000000 0x10000>;
|
|
reg-io-width = <1>;
|
|
--
|
|
2.35.3
|
|
|