1 /* SPDX-License-Identifier: GPL-2.0 */ 2 // Copyright (c) 2018, The Linux Foundation. All rights reserved. 3 4 #ifndef __QCOM_SND_COMMON_H__ 5 #define __QCOM_SND_COMMON_H__ 6 7 #include <dt-bindings/sound/qcom,q6afe.h> 8 #include <sound/soc.h> 9 10 #define LPASS_MAX_PORT (SENARY_MI2S_TX + 1) 11 12 int qcom_snd_parse_of(struct snd_soc_card *card); 13 int qcom_snd_wcd_jack_setup(struct snd_soc_pcm_runtime *rtd, 14 struct snd_soc_jack *jack, bool *jack_setup); 15 int qcom_snd_dp_jack_setup(struct snd_soc_pcm_runtime *rtd, 16 struct snd_soc_jack *dp_jack, int id); 17 18 19 #endif 20