wm8350.h 585 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * wm8350.h - WM8903 audio codec interface
  4. *
  5. * Copyright 2008 Wolfson Microelectronics PLC.
  6. */
  7. #ifndef _WM8350_H
  8. #define _WM8350_H
  9. #include <sound/soc.h>
  10. #include <linux/mfd/wm8350/audio.h>
  11. enum wm8350_jack {
  12. WM8350_JDL = 1,
  13. WM8350_JDR = 2,
  14. };
  15. int wm8350_hp_jack_detect(struct snd_soc_component *component, enum wm8350_jack which,
  16. struct snd_soc_jack *jack, int report);
  17. int wm8350_mic_jack_detect(struct snd_soc_component *component,
  18. struct snd_soc_jack *jack,
  19. int detect_report, int short_report);
  20. #endif