aqt1000-api.h 620 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright (c) 2018, The Linux Foundation. All rights reserved.
  3. */
  4. #ifndef AQT1000_API_H
  5. #define AQT1000_API_H
  6. #include <linux/kernel.h>
  7. #include <linux/module.h>
  8. #include <linux/of_device.h>
  9. #include <sound/soc.h>
  10. extern int aqt_mbhc_micb_adjust_voltage(struct snd_soc_codec *codec,
  11. int volt, int micb_num);
  12. extern int aqt_cdc_mclk_enable(struct snd_soc_codec *codec, bool enable);
  13. extern int aqt_get_micb_vout_ctl_val(u32 micb_mv);
  14. extern int aqt_micbias_control(struct snd_soc_codec *codec, int micb_num,
  15. int req, bool is_dapm);
  16. #endif /* AQT1000_API_H */