mt6359.h (01be83eea08d6d9f9209843e2e084505fba4053f) mt6359.h (682c5a72a2bb0745da73211bed5f47ccccd84025)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2020 MediaTek Inc.
4 * Author: Argus Lin <argus.lin@mediatek.com>
5 */
6
7#ifndef _MT6359_H_
8#define _MT6359_H_

--- 2623 unchanged lines hidden (view full) ---

2632 struct regulator *avdd_reg;
2633};
2634
2635#define CODEC_MT6359_NAME "mtk-codec-mt6359"
2636#define IS_DCC_BASE(type) ((type) == MIC_TYPE_MUX_DCC || \
2637 (type) == MIC_TYPE_MUX_DCC_ECM_DIFF || \
2638 (type) == MIC_TYPE_MUX_DCC_ECM_SINGLE)
2639
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright (C) 2020 MediaTek Inc.
4 * Author: Argus Lin <argus.lin@mediatek.com>
5 */
6
7#ifndef _MT6359_H_
8#define _MT6359_H_

--- 2623 unchanged lines hidden (view full) ---

2632 struct regulator *avdd_reg;
2633};
2634
2635#define CODEC_MT6359_NAME "mtk-codec-mt6359"
2636#define IS_DCC_BASE(type) ((type) == MIC_TYPE_MUX_DCC || \
2637 (type) == MIC_TYPE_MUX_DCC_ECM_DIFF || \
2638 (type) == MIC_TYPE_MUX_DCC_ECM_SINGLE)
2639
2640void mt6359_set_mtkaif_protocol(struct snd_soc_component *cmpnt,
2641 int mtkaif_protocol);
2642void mt6359_mtkaif_calibration_enable(struct snd_soc_component *cmpnt);
2643void mt6359_mtkaif_calibration_disable(struct snd_soc_component *cmpnt);
2644void mt6359_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt,
2645 int phase_1, int phase_2, int phase_3);
2646
2640#endif/* end _MT6359_H_ */
2647#endif/* end _MT6359_H_ */