From f4715926db940e05ef420664d24bf2a6985aa369 Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Fri, 6 Oct 2023 12:26:07 -0400 Subject: [PATCH] kmod: add more SoundWire codecs rt1017-sdca and CirrusLogic missing The CS42L43 order is inverted, the core calls into the -sdw module Signed-off-by: Pierre-Louis Bossart --- tools/kmod/sof_insert.sh | 9 +++++++++ tools/kmod/sof_remove.sh | 12 +++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/tools/kmod/sof_insert.sh b/tools/kmod/sof_insert.sh index 74c0a2df..3442884d 100755 --- a/tools/kmod/sof_insert.sh +++ b/tools/kmod/sof_insert.sh @@ -57,6 +57,15 @@ insert_module snd_soc_rt1308_sdw insert_module snd_soc_rt1316_sdw insert_module snd_soc_rt1318_sdw insert_module snd_soc_rt1320_sdw +insert_module snd_soc_rt1017_sdw + +insert_module snd_soc_cs35l56 +insert_module snd_soc_cs35l56_sdw +insert_module snd_soc_cs42l42 +insert_module snd_soc_cs42l42_sdw +#inversion is intentional for cs42l43 +insert_module snd_soc_cs42l43_sdw +insert_module snd_soc_cs42l43 insert_module snd_soc_sdw_mockup diff --git a/tools/kmod/sof_remove.sh b/tools/kmod/sof_remove.sh index 16f30ae1..4fad26f1 100755 --- a/tools/kmod/sof_remove.sh +++ b/tools/kmod/sof_remove.sh @@ -239,6 +239,15 @@ remove_module snd_soc_da7219 remove_module snd_soc_pcm512x_i2c remove_module snd_soc_pcm512x +remove_module snd_soc_cs35l56_sdw +remove_module snd_soc_cs35l56 +remove_module snd_soc_cs42l42_sdw +remove_module snd_soc_cs42l42 + +# inversion is intentional for cs42l43 +remove_module snd_soc_cs42l43 +remove_module snd_soc_cs42l43_sdw + remove_module snd_soc_rt274 remove_module snd_soc_rt286 remove_module snd_soc_rt298 @@ -255,8 +264,8 @@ remove_module snd_soc_rt1308_sdw remove_module snd_soc_rt1316_sdw remove_module snd_soc_rt1318_sdw remove_module snd_soc_rt1320_sdw -remove_module snd_soc_sdw_mockup remove_module snd_soc_rt1011 +remove_module snd_soc_rt1017-sdca remove_module snd_soc_rt5640 remove_module snd_soc_rt5645 remove_module snd_soc_rt5651 @@ -270,6 +279,7 @@ remove_module snd_soc_rt5682 remove_module snd_soc_rt5682s remove_module snd_soc_rl6231 remove_module snd_soc_rl6347a +remove_module snd_soc_sdw_mockup remove_module snd_soc_wm8804_i2c remove_module snd_soc_wm8804