
Since the Armbian sources refer to linux 4.19.76 as being linux-mainline, all the patches from linux-4.19 were moved to linux-mainline_4.19 and the linux_4.19.76 recipes was named accordingly. This patch makes 4.19.76 as default version for linux Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
64 lines
1.7 KiB
Diff
64 lines
1.7 KiB
Diff
From 0bc585fb429d295cd9ff0f35326e52e212053af2 Mon Sep 17 00:00:00 2001
|
|
From: Jernej Skrabec <jernej.skrabec@siol.net>
|
|
Date: Thu, 8 Mar 2018 17:23:01 +0100
|
|
Subject: [PATCH 79/82] HACK: Enable HDMI audio on H3/H5
|
|
|
|
This is quick way to enable HDMI audio, but it is not a proper way to do
|
|
it.
|
|
|
|
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
|
|
---
|
|
arch/arm/boot/dts/sunxi-h3-h5.dtsi | 30 ++++++++++++++++++++++++++++++
|
|
1 file changed, 30 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
|
|
index 3b8b2234ab4d..586ce53fc058 100644
|
|
--- a/arch/arm/boot/dts/sunxi-h3-h5.dtsi
|
|
+++ b/arch/arm/boot/dts/sunxi-h3-h5.dtsi
|
|
@@ -743,6 +743,35 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
+ i2s2: i2s@1c22800 {
|
|
+ #sound-dai-cells = <0>;
|
|
+ compatible = "allwinner,sun8i-h3-i2s";
|
|
+ reg = <0x01c22800 0x400>;
|
|
+ interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&ccu CLK_BUS_I2S2>, <&ccu CLK_I2S2>;
|
|
+ clock-names = "apb", "mod";
|
|
+ dmas = <&dma 27>;
|
|
+ resets = <&ccu RST_BUS_I2S2>;
|
|
+ dma-names = "tx";
|
|
+ //status = "disabled";
|
|
+ };
|
|
+
|
|
+ sound_hdmi: sound {
|
|
+ compatible = "simple-audio-card";
|
|
+ simple-audio-card,format = "i2s";
|
|
+ simple-audio-card,name = "allwinner,hdmi";
|
|
+ simple-audio-card,mclk-fs = <256>;
|
|
+ //status = "disabled";
|
|
+
|
|
+ simple-audio-card,codec {
|
|
+ sound-dai = <&hdmi>;
|
|
+ };
|
|
+
|
|
+ simple-audio-card,cpu {
|
|
+ sound-dai = <&i2s2>;
|
|
+ };
|
|
+ };
|
|
+
|
|
codec: codec@1c22c00 {
|
|
#sound-dai-cells = <0>;
|
|
compatible = "allwinner,sun8i-h3-codec";
|
|
@@ -860,6 +889,7 @@
|
|
};
|
|
|
|
hdmi: hdmi@1ee0000 {
|
|
+ #sound-dai-cells = <0>;
|
|
compatible = "allwinner,sun8i-h3-dw-hdmi",
|
|
"allwinner,sun8i-a83t-dw-hdmi";
|
|
reg = <0x01ee0000 0x10000>;
|
|
--
|
|
2.20.1
|
|
|