1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #ifndef __DRIVERS_AUDIO_SOF_H__ 4 #define __DRIVERS_AUDIO_SOF_H__ 5 6 #include <acpi/acpi_device.h> 7 #include <stdint.h> 8 9 /* Speaker topology */ 10 enum _spkr_tplg { 11 max98373 = 1, /* port SSP1 */ 12 max98373_ssp2, 13 max98360a, 14 max98357a, 15 max98357a_tdm, 16 max98390, 17 rt1011, 18 rt1015, 19 rt1019, 20 rt5650_sp, 21 }; 22 23 /* Jack topology */ 24 enum _jack_tplg { 25 cs42l42 = 1, 26 da7219, 27 nau8825, 28 rt5650_hp, 29 rt5682, 30 }; 31 32 /* Mic topology */ 33 enum _mic_tplg { 34 _1ch = 1, 35 _2ch_pdm0, 36 _2ch_pdm1, 37 _4ch, 38 }; 39 40 struct drivers_sof_config { 41 enum _spkr_tplg spkr_tplg; 42 enum _jack_tplg jack_tplg; 43 enum _mic_tplg mic_tplg; 44 }; 45 46 #endif /* __DRIVERS_AUDIO_SOF_H__ */ 47