49 lines
1.3 KiB
Diff
49 lines
1.3 KiB
Diff
From 6d68891b4b7aac74d5d446602f853d1c524897d1 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 3bcbe6fd3..b2e103c63 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
@@ -101,6 +101,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;
|
|
@@ -796,6 +810,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
|
|
|