aqt1000-api.h 659 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  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_component *component,
  11. int volt, int micb_num);
  12. extern int aqt_cdc_mclk_enable(struct snd_soc_component *component,
  13. bool enable);
  14. extern int aqt_get_micb_vout_ctl_val(u32 micb_mv);
  15. extern int aqt_micbias_control(struct snd_soc_component *component,
  16. int micb_num, int req, bool is_dapm);
  17. #endif /* AQT1000_API_H */