[PATCH 1/2] arm64: dts: meson: add spdif out to khadas-vim
Artem Lapkin
email2tema at gmail.com
Mon Aug 9 21:16:29 PDT 2021
Add spdif output audio support to khadas-vim
Signed-off-by: Artem Lapkin <art at khadas.com>
---
.../dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
index 60feac0179c0..01f13822a616 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts
@@ -64,6 +64,13 @@ hdmi_connector_in: endpoint {
};
};
+ spdif_dit: audio-codec-0 {
+ #sound-dai-cells = <0>;
+ compatible = "linux,spdif-dit";
+ status = "okay";
+ sound-name-prefix = "DIT";
+ };
+
sound {
compatible = "amlogic,gx-sound-card";
model = "KHADAS-VIM";
@@ -97,11 +104,21 @@ codec-0 {
sound-dai = <&hdmi_tx>;
};
};
+
+ dai-link-3 {
+ sound-dai = <&aiu AIU_CPU CPU_SPDIF_ENCODER>;
+
+ codec-0 {
+ sound-dai = <&spdif_dit>;
+ };
+ };
};
};
&aiu {
status = "okay";
+ pinctrl-0 = <&spdif_out_h_pins>;
+ pinctrl-names = "default";
};
&cec_AO {
--
2.25.1
More information about the linux-amlogic
mailing list