summaryrefslogtreecommitdiff
path: root/src/drivers/sof/chip.h
blob: 518e06c3bdf6b816cf24bf0106566c040f2b4914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __DRIVERS_AUDIO_SOF_H__
#define __DRIVERS_AUDIO_SOF_H__

#include <acpi/acpi_device.h>
#include <stdint.h>

/* Speaker topology */
enum _spkr_tplg {
	max98373 = 1,
	max98360a,
	max98357a,
	max98357a_tdm,
	max98390,
	rt1011,
	rt1015,
};

/* Jack topology */
enum _jack_tplg {
	cs42l42 = 1,
	da7219,
	nau8825,
	rt5682,
};

/* Mic topology */
enum _mic_tplg {
	_1ch = 1,
	_2ch_pdm0,
	_2ch_pdm1,
	_4ch,
};



struct drivers_sof_config {
	unsigned int spkr_tplg;
	unsigned int jack_tplg;
	unsigned int mic_tplg;
};

#endif /* __DRIVERS_AUDIO_SOF_H__ */