summaryrefslogtreecommitdiffstats
path: root/arm64-rock960-enable-hdmi-audio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'arm64-rock960-enable-hdmi-audio.patch')
-rw-r--r--arm64-rock960-enable-hdmi-audio.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/arm64-rock960-enable-hdmi-audio.patch b/arm64-rock960-enable-hdmi-audio.patch
new file mode 100644
index 000000000..7d4a0071c
--- /dev/null
+++ b/arm64-rock960-enable-hdmi-audio.patch
@@ -0,0 +1,43 @@
+From 803346a8efc9062da732c9d3e0b8e7079096f1ad Mon Sep 17 00:00:00 2001
+From: Ezequiel Garcia <ezequiel@collabora.com>
+Date: Tue, 29 Jan 2019 08:33:24 -0300
+Subject: arm64: dts: rockchip: Enable HDMI audio devices on rk3399-rock960
+
+This commit enable the hdmi-sound and i2s2 devices needed to have
+audio over HDMI on both rock960 and the related ficus board.
+
+Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
+Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
+Signed-off-by: Heiko Stuebner <heiko@sntech.de>
+---
+ arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+index 56abbb08c133..fecb133b0ed2 100644
+--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
++++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+@@ -94,6 +94,10 @@
+ status = "okay";
+ };
+
++&hdmi_sound {
++ status = "okay";
++};
++
+ &i2c0 {
+ clock-frequency = <400000>;
+ i2c-scl-rising-time-ns = <168>;
+@@ -336,6 +340,10 @@
+ status = "okay";
+ };
+
++&i2s2 {
++ status = "okay";
++};
++
+ &io_domains {
+ bt656-supply = <&vcc1v8_s0>; /* bt656_gpio2ab_ms */
+ audio-supply = <&vcc1v8_s0>; /* audio_gpio3d4a_ms */
+--
+cgit 1.2-0.3.lf.el7