mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-12-15 19:09:46 +00:00
46 lines
1.2 KiB
Diff
46 lines
1.2 KiB
Diff
From 4347f8f825bf0a775ab552ca37eaa2204fb65188 Mon Sep 17 00:00:00 2001
|
|
From: Jernej Skrabec <jernej.skrabec@siol.net>
|
|
Date: Sun, 16 Aug 2020 11:01:11 +0200
|
|
Subject: [PATCH 17/17] r40 hdmi audio wip
|
|
|
|
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
|
|
---
|
|
arch/arm/boot/dts/allwinner/sun8i-r40.dtsi | 19 +++++++++++++++++++
|
|
1 file changed, 19 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi
|
|
+++ b/arch/arm/boot/dts/allwinner/sun8i-r40.dtsi
|
|
@@ -111,6 +111,24 @@
|
|
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 = <128>;
|
|
+ simple-audio-card,frame-inversion;
|
|
+
|
|
+ simple-audio-card,codec {
|
|
+ sound-dai = <&hdmi>;
|
|
+ };
|
|
+
|
|
+ simple-audio-card,cpu {
|
|
+ sound-dai = <&i2s2>;
|
|
+ dai-tdm-slot-num = <2>;
|
|
+ dai-tdm-slot-width = <32>;
|
|
+ };
|
|
+ };
|
|
+
|
|
thermal-zones {
|
|
cpu_thermal: cpu0-thermal {
|
|
/* milliseconds */
|
|
@@ -1186,6 +1217,7 @@
|
|
};
|
|
|
|
hdmi: hdmi@1ee0000 {
|
|
+ #sound-dai-cells = <0>;
|
|
compatible = "allwinner,sun8i-r40-dw-hdmi",
|
|
"allwinner,sun8i-a83t-dw-hdmi";
|
|
reg = <0x01ee0000 0x10000>;
|