upload tizen1.0 source
[kernel/linux-2.6.36.git] / include / linux / mfd / mc1n2_pdata.h
1 /*
2  * Copyright (C) 2008 Samsung Electronics, Inc.
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  */
14
15 #ifndef __S5PC210_MC1N2_H
16 #define __S5PC210_MC1N2_H
17
18 enum mic_type {
19         MAIN_MIC = 0x1,
20         SUB_MIC  = 0x2,
21 };
22
23 struct mc1n2_platform_data {
24         void (*set_main_mic_bias)(bool on);
25         void (*set_sub_mic_bias)(bool on);
26         void (*set_adc_power_contraints)(int disabled);
27 };
28
29 #endif