blob: 5f7e8b81209f39c276e677c020ca7db27a15c552 [file] [log] [blame]
Matt DeVillier3a4ac3a2023-01-17 10:57:42 -06001/* 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 */
10enum _spkr_tplg {
11 max98373 = 1,
12 max98360a,
13 max98357a,
Matt DeVilliere1ff8752023-05-13 14:46:51 -050014 max98357a_tdm,
Matt DeVillier3a4ac3a2023-01-17 10:57:42 -060015 max98390,
16 rt1011,
17 rt1015,
18};
19
20/* Jack topology */
21enum _jack_tplg {
22 cs42l42 = 1,
23 da7219,
24 nau8825,
25 rt5682,
26};
27
28/* Mic topology */
29enum _mic_tplg {
30 _1ch = 1,
31 _2ch_pdm0,
32 _2ch_pdm1,
33 _4ch,
34};
35
Matt DeVillier3a4ac3a2023-01-17 10:57:42 -060036struct drivers_sof_config {
Matt DeVillier4c5ec212023-05-15 10:32:00 -050037 enum _spkr_tplg spkr_tplg;
38 enum _jack_tplg jack_tplg;
39 enum _mic_tplg mic_tplg;
Matt DeVillier3a4ac3a2023-01-17 10:57:42 -060040};
41
42#endif /* __DRIVERS_AUDIO_SOF_H__ */