57 lines
1.4 KiB
Diff
57 lines
1.4 KiB
Diff
From 86ea49d7696b6375c2188e9d1dc6ff9de245a60a 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 251/464] 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 | 16 ++++++++++++++++
|
|
1 file changed, 16 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
index ca1d287a0a01..ff58dc32218f 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
|
@@ -89,6 +89,20 @@ psci {
|
|
method = "smc";
|
|
};
|
|
|
|
+ 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;
|
|
@@ -102,6 +116,7 @@ timer {
|
|
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
|
|
};
|
|
|
|
+
|
|
soc {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
@@ -781,6 +796,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.34.1
|
|
|