Skip to content

Commit 36092cb

Browse files
plbossartfredoh9
authored andcommitted
kmod: add support for ES83x6 platforms
Add missing machine driver and codecs. The codec names are confusing. The snd_soc_es8316 codec driver can handle both the es8316 and es8336 skews. The ACPI HID for APL+ platform is ESSX8336, so we wrote the sof_es8336 machine driver. A new codec is used in some platforms, it will required the use of the snd_soc_es8326 module, but the same machine driver will be used. So to recap, we need to deal with two codec drivers and one common machine driver. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 464a6fc commit 36092cb

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

tools/kmod/sof_insert.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ insert_module snd_soc_max98373_sdw
7272
insert_module snd_soc_max98373_i2c
7373
insert_module snd_soc_max98390
7474

75+
insert_module snd_soc_es8316
76+
insert_module snd_soc_es8326
77+
7578
# insert top-level ACPI/PCI SOF drivers. They will register SOF components and
7679
# load machine drivers as needed. Do not insert any other sort of audio module,
7780
# code dependencies will be used to load the relevant modules.

tools/kmod/sof_remove.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ remove_module snd_soc_skl_hda_dsp
149149
remove_module snd_soc_sdw_rt700
150150
remove_module snd_soc_sdw_rt711_rt1308_rt715
151151
remove_module snd_soc_sof_sdw
152+
remove_module snd_soc_sof_es8336
152153
remove_module snd_soc_ehl_rt5660
153154
remove_module snd_soc_intel_hda_dsp_common
154155
remove_module snd_soc_intel_sof_maxim_common
@@ -211,6 +212,9 @@ remove_module snd_soc_rl6347a
211212
remove_module snd_soc_wm8804_i2c
212213
remove_module snd_soc_wm8804
213214

215+
remove_module snd_soc_es8316
216+
remove_module snd_soc_es8326
217+
214218
remove_module snd_soc_max98090
215219
remove_module snd_soc_ts3a227e
216220
remove_module snd_soc_max98357a

0 commit comments

Comments
 (0)