blob: a13d18c92d4bd6587f4c8a618626bf689d29590f [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * wm8350.h - WM8903 audio codec interface
4 *
5 * Copyright 2008 Wolfson Microelectronics PLC.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00006 */
7
8#ifndef _WM8350_H
9#define _WM8350_H
10
11#include <sound/soc.h>
12#include <linux/mfd/wm8350/audio.h>
13
14enum wm8350_jack {
15 WM8350_JDL = 1,
16 WM8350_JDR = 2,
17};
18
19int wm8350_hp_jack_detect(struct snd_soc_component *component, enum wm8350_jack which,
20 struct snd_soc_jack *jack, int report);
21int wm8350_mic_jack_detect(struct snd_soc_component *component,
22 struct snd_soc_jack *jack,
23 int detect_report, int short_report);
24
25#endif