xref: /linux/sound/soc/codecs/lpass-wsa-macro.h (revision a4eb44a6435d6d8f9e642407a4a06f65eb90ca04)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 #ifndef __LPASS_WSA_MACRO_H__
4 #define __LPASS_WSA_MACRO_H__
5 
6 /*
7  * Selects compander and smart boost settings
8  * for a given speaker mode
9  */
10 enum {
11 	WSA_MACRO_SPKR_MODE_DEFAULT,
12 	WSA_MACRO_SPKR_MODE_1, /* COMP Gain = 12dB, Smartboost Max = 5.5V */
13 };
14 
15 int wsa_macro_set_spkr_mode(struct snd_soc_component *component, int mode);
16 
17 #endif /* __LPASS_WSA_MACRO_H__ */
18