summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2021-04-29 10:42:53 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2021-05-28 09:46:31 +0200
commit43ffb52862c631ebdf7ec8a12fe826f5d531c88e (patch)
tree30e98be9f7a5644be39c2d888b698e4074584187 /arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts
parent6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff)
arm64: dts: meson: vim3: enable hdmi audio loopback
Enable audio capture frontends and a tdm decoder. This makes it possible to loopback the audio played on the hdmi codec, which is the only output interface at the moment. Of course, one TODDR device would be enough to do that but since the 3 FRDDRs are enabled on the playback side, let's do the same on the capture side. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20210429084253.59692-1-jbrunet@baylibre.com
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts
index 06de0b1ce726..f2c098143594 100644
--- a/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-sm1-khadas-vim3l.dts
@@ -32,6 +32,19 @@
regulator-boot-on;
regulator-always-on;
};
+
+ sound {
+ model = "G12B-KHADAS-VIM3L";
+ audio-routing = "TDMOUT_A IN 0", "FRDDR_A OUT 0",
+ "TDMOUT_A IN 1", "FRDDR_B OUT 0",
+ "TDMOUT_A IN 2", "FRDDR_C OUT 0",
+ "TDM_A Playback", "TDMOUT_A OUT",
+ "TDMIN_A IN 0", "TDM_A Capture",
+ "TDMIN_A IN 13", "TDM_A Loopback",
+ "TODDR_A IN 0", "TDMIN_A OUT",
+ "TODDR_B IN 0", "TDMIN_A OUT",
+ "TODDR_C IN 0", "TDMIN_A OUT";
+ };
};
&cpu0 {