summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/ab8500_audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/ab8500_audio.h')
-rw-r--r--sound/soc/codecs/ab8500_audio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/ab8500_audio.h b/sound/soc/codecs/ab8500_audio.h
index 1ff7dafa3e7..7cfdd1cc13a 100644
--- a/sound/soc/codecs/ab8500_audio.h
+++ b/sound/soc/codecs/ab8500_audio.h
@@ -23,6 +23,7 @@ extern struct snd_soc_dai_driver ab8500_codec_dai[];
extern struct snd_soc_codec_driver soc_codec_dev_ab8500;
/* Extended interface for codec-driver */
+
void ab8500_audio_power_control(bool power_on);
int ab8500_audio_set_word_length(struct snd_soc_dai *dai, unsigned int wl);
int ab8500_audio_set_bit_delay(struct snd_soc_dai *dai, unsigned int delay);
@@ -31,6 +32,13 @@ int ab8500_audio_setup_if1(struct snd_soc_codec *codec,
unsigned int wl,
unsigned int delay);
+enum ab8500_audio_dapm_path {
+ AB8500_AUDIO_DAPM_PATH_DMIC,
+ AB8500_AUDIO_DAPM_PATH_AMIC1,
+ AB8500_AUDIO_DAPM_PATH_AMIC2
+};
+bool ab8500_audio_dapm_path_active(enum ab8500_audio_dapm_path dapm_path);
+
/* AB8500 audio bank (0x0d) register definitions */
#define REG_POWERUP 0x00