From 7a1ebd4adb2fbf73db0c6d0ce114b2fff7a4f7bb Mon Sep 17 00:00:00 2001 From: NekoRouter <43701354+nekorouter@users.noreply.github.com> Date: Fri, 19 May 2023 15:52:19 +0800 Subject: [PATCH] Add HDMI I2S config From Sipeed, This should enable HDMI Audio --- arch/riscv/boot/dts/thead/light-lpi4a-ref.dts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/riscv/boot/dts/thead/light-lpi4a-ref.dts b/arch/riscv/boot/dts/thead/light-lpi4a-ref.dts index b20613631..0fe7951af 100644 --- a/arch/riscv/boot/dts/thead/light-lpi4a-ref.dts +++ b/arch/riscv/boot/dts/thead/light-lpi4a-ref.dts @@ -743,7 +743,7 @@ num-cs = <1>; cs-gpios = <&gpio2_porta 3 0>; rx-sample-dly = <4>; - status = "okay"; + status = "disabled"; spi-flash@0 { #address-cells = <1>; @@ -1411,6 +1411,16 @@ sound-dai = <&es7210_audio_codec>; }; }; + simple-audio-card,dai-link@2 { /* I2S - HDMI */ + reg = <2>; + format = "i2s"; + cpu { + sound-dai = <&light_i2s 1>; + }; + codec { + sound-dai = <&dummy_codec 2>; + }; + }; }; &light_i2s {