| 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 |
