]>
Commit | Line | Data |
---|---|---|
997b0520 BL |
1 | /* |
2 | * linux/sound/rt5640.h -- Platform data for RT5640 | |
3 | * | |
4 | * Copyright 2011 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_RT5640_H | |
12 | #define __LINUX_SND_RT5640_H | |
13 | ||
14 | struct rt5640_platform_data { | |
16566e47 | 15 | /* IN1 & IN2 & IN3 can optionally be differential */ |
997b0520 BL |
16 | bool in1_diff; |
17 | bool in2_diff; | |
16566e47 | 18 | bool in3_diff; |
997b0520 | 19 | |
71d97a79 OC |
20 | bool dmic_en; |
21 | bool dmic1_data_pin; /* 0 = IN1P; 1 = GPIO3 */ | |
22 | bool dmic2_data_pin; /* 0 = IN1N; 1 = GPIO4 */ | |
23 | ||
997b0520 BL |
24 | int ldo1_en; /* GPIO for LDO1_EN */ |
25 | }; | |
26 | ||
27 | #endif |