aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/mt6359.h
diff options
context:
space:
mode:
authorJiaxin Yu2020-11-03 15:59:30 +0800
committerMark Brown2020-11-04 17:51:46 +0000
commit682c5a72a2bb0745da73211bed5f47ccccd84025 (patch)
tree485b6c3045dd82c8d932ff2b9b0a06f965e96168 /sound/soc/codecs/mt6359.h
parent32c5dca18be7ad88629c33f51ba7f05ae97930fa (diff)
ASoC: mediatek: mt6359: add the calibration functions
Add the calibraion functions for initializing the codec when registering the machine driver. Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com> Link: https://lore.kernel.org/r/1604390378-23993-2-git-send-email-jiaxin.yu@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/mt6359.h')
-rw-r--r--sound/soc/codecs/mt6359.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/mt6359.h b/sound/soc/codecs/mt6359.h
index 3792e534a91b..af6f07fbc4fd 100644
--- a/sound/soc/codecs/mt6359.h
+++ b/sound/soc/codecs/mt6359.h
@@ -2637,4 +2637,11 @@ struct mt6359_priv {
(type) == MIC_TYPE_MUX_DCC_ECM_DIFF || \
(type) == MIC_TYPE_MUX_DCC_ECM_SINGLE)
+void mt6359_set_mtkaif_protocol(struct snd_soc_component *cmpnt,
+ int mtkaif_protocol);
+void mt6359_mtkaif_calibration_enable(struct snd_soc_component *cmpnt);
+void mt6359_mtkaif_calibration_disable(struct snd_soc_component *cmpnt);
+void mt6359_set_mtkaif_calibration_phase(struct snd_soc_component *cmpnt,
+ int phase_1, int phase_2, int phase_3);
+
#endif/* end _MT6359_H_ */