Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek...
[sfrench/cifs-2.6.git] / include / sound / rt5651.h
1 /*
2  * linux/sound/rt286.h -- Platform data for RT286
3  *
4  * Copyright 2013 Realtek Microelectronics
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10
11 #ifndef __LINUX_SND_RT5651_H
12 #define __LINUX_SND_RT5651_H
13
14 enum rt5651_jd_src {
15         RT5651_JD_NULL,
16         RT5651_JD1_1,
17         RT5651_JD1_2,
18         RT5651_JD2,
19 };
20
21 struct rt5651_platform_data {
22         /* IN2 can optionally be differential */
23         bool in2_diff;
24
25         bool dmic_en;
26         enum rt5651_jd_src jd_src;
27 };
28
29 #endif