xref: /linux/sound/soc/codecs/lpass-wsa-macro.h (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
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