Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * wm8350.h - WM8903 audio codec interface
0004  *
0005  * Copyright 2008 Wolfson Microelectronics PLC.
0006  */
0007 
0008 #ifndef _WM8350_H
0009 #define _WM8350_H
0010 
0011 #include <sound/soc.h>
0012 #include <linux/mfd/wm8350/audio.h>
0013 
0014 enum wm8350_jack {
0015     WM8350_JDL = 1,
0016     WM8350_JDR = 2,
0017 };
0018 
0019 int wm8350_hp_jack_detect(struct snd_soc_component *component, enum wm8350_jack which,
0020               struct snd_soc_jack *jack, int report);
0021 int wm8350_mic_jack_detect(struct snd_soc_component *component,
0022                struct snd_soc_jack *jack,
0023                int detect_report, int short_report);
0024 
0025 #endif