Enabled HDMI audio for OrangePi 4 (#2009)
This commit is contained in:
parent
4fc10487f4
commit
df0083d395
@ -243,11 +243,11 @@ index 00000000..17010305
|
||||
+ };
|
||||
+
|
||||
+ hdmi_sound: hdmi-sound {
|
||||
+ status = "disable";
|
||||
+ status = "okay";
|
||||
+ compatible = "simple-audio-card";
|
||||
+ simple-audio-card,format = "i2s";
|
||||
+ simple-audio-card,mclk-fs = <256>;
|
||||
+ simple-audio-card,name = "rockchip,hdmi";
|
||||
+ simple-audio-card,name = "hdmi-sound";
|
||||
+
|
||||
+ simple-audio-card,cpu {
|
||||
+ sound-dai = <&i2s2>;
|
||||
|
||||
@ -15,7 +15,7 @@ new file mode 100644
|
||||
index 000000000..1e1747ceb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi-4.dts
|
||||
@@ -0,0 +1,1134 @@
|
||||
@@ -0,0 +1,1123 @@
|
||||
+/*
|
||||
+ * SPDX-License-Identifier: (GPL-2.0+ or MIT)
|
||||
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
|
||||
@ -218,18 +218,7 @@ index 000000000..1e1747ceb
|
||||
+ };
|
||||
+
|
||||
+ hdmi_sound: hdmi-sound {
|
||||
+ status = "disable";
|
||||
+ compatible = "simple-audio-card";
|
||||
+ simple-audio-card,format = "i2s";
|
||||
+ simple-audio-card,mclk-fs = <256>;
|
||||
+ simple-audio-card,name = "rockchip,hdmi";
|
||||
+
|
||||
+ simple-audio-card,cpu {
|
||||
+ sound-dai = <&i2s2>;
|
||||
+ };
|
||||
+ simple-audio-card,codec {
|
||||
+ sound-dai = <&hdmi>;
|
||||
+ };
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ hdmi_dp_sound: hdmi-dp-sound {
|
||||
|
||||
@ -15,7 +15,7 @@ new file mode 100644
|
||||
index 000000000..1e1747ceb
|
||||
--- /dev/null
|
||||
+++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi-4.dts
|
||||
@@ -0,0 +1,1134 @@
|
||||
@@ -0,0 +1,1123 @@
|
||||
+/*
|
||||
+ * SPDX-License-Identifier: (GPL-2.0+ or MIT)
|
||||
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
|
||||
@ -218,18 +218,7 @@ index 000000000..1e1747ceb
|
||||
+ };
|
||||
+
|
||||
+ hdmi_sound: hdmi-sound {
|
||||
+ status = "disable";
|
||||
+ compatible = "simple-audio-card";
|
||||
+ simple-audio-card,format = "i2s";
|
||||
+ simple-audio-card,mclk-fs = <256>;
|
||||
+ simple-audio-card,name = "rockchip,hdmi";
|
||||
+
|
||||
+ simple-audio-card,cpu {
|
||||
+ sound-dai = <&i2s2>;
|
||||
+ };
|
||||
+ simple-audio-card,codec {
|
||||
+ sound-dai = <&hdmi>;
|
||||
+ };
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+
|
||||
+ hdmi_dp_sound: hdmi-dp-sound {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user