Skip to content

Commit 057fbe8

Browse files
plbossartmarc-hb
authored andcommitted
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 <pierre-louis.bossart@linux.intel.com>
1 parent 83f5e41 commit 057fbe8

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

tools/kmod/sof_insert.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ insert_module snd_soc_rt1308_sdw
5757
insert_module snd_soc_rt1316_sdw
5858
insert_module snd_soc_rt1318_sdw
5959
insert_module snd_soc_rt1320_sdw
60+
insert_module snd_soc_rt1017_sdw
61+
62+
insert_module snd_soc_cs35l56
63+
insert_module snd_soc_cs35l56_sdw
64+
insert_module snd_soc_cs42l42
65+
insert_module snd_soc_cs42l42_sdw
66+
#inversion is intentional for cs42l43
67+
insert_module cs42l43_sdw
68+
insert_module snd_soc_cs42l43_sdw
69+
insert_module snd_soc_cs42l43
6070

6171
insert_module snd_soc_sdw_mockup
6272

tools/kmod/sof_remove.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,18 @@ remove_module snd_soc_da7219
239239
remove_module snd_soc_pcm512x_i2c
240240
remove_module snd_soc_pcm512x
241241

242+
remove_module snd_soc_cs35l56_sdw
243+
remove_module snd_soc_cs35l56
244+
#snd_soc_wm_adsp is used by snd_soc_cs35l56
245+
remove_module snd_soc_wm_adsp
246+
remove_module snd_soc_cs42l42_sdw
247+
remove_module snd_soc_cs42l42
248+
249+
# inversion is intentional for cs42l43
250+
remove_module snd_soc_cs42l43
251+
remove_module snd_soc_cs42l43_sdw
252+
remove_module cs42l43_sdw
253+
242254
remove_module snd_soc_rt274
243255
remove_module snd_soc_rt286
244256
remove_module snd_soc_rt298
@@ -255,8 +267,8 @@ remove_module snd_soc_rt1308_sdw
255267
remove_module snd_soc_rt1316_sdw
256268
remove_module snd_soc_rt1318_sdw
257269
remove_module snd_soc_rt1320_sdw
258-
remove_module snd_soc_sdw_mockup
259270
remove_module snd_soc_rt1011
271+
remove_module snd_soc_rt1017-sdca
260272
remove_module snd_soc_rt5640
261273
remove_module snd_soc_rt5645
262274
remove_module snd_soc_rt5651
@@ -270,6 +282,7 @@ remove_module snd_soc_rt5682
270282
remove_module snd_soc_rt5682s
271283
remove_module snd_soc_rl6231
272284
remove_module snd_soc_rl6347a
285+
remove_module snd_soc_sdw_mockup
273286

274287
remove_module snd_soc_wm8804_i2c
275288
remove_module snd_soc_wm8804

0 commit comments

Comments
 (0)