Initial commit
[kernel/linux-3.0.git] / include / linux / si4705_pdata.h
1 /*
2  * Copyright (C) 2012 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 _LINUX_SI4705_PDATA_H
16 #define _LINUX_SI4705_PDATA_H
17
18 #include <linux/types.h>
19
20 #ifdef __KERNEL__
21
22 #define SI4705_PDATA_BIT_VOL_STEPS              (1 << 0)
23 #define SI4705_PDATA_BIT_VOL_TABLE              (1 << 1)
24 #define SI4705_PDATA_BIT_RSSI_THRESHOLD         (1 << 2)
25 #define SI4705_PDATA_BIT_SNR_THRESHOLD          (1 << 3)
26
27 struct si4705_pdata {
28         void (*reset)(int enable);
29         u16 pdata_values;
30         int rx_vol_steps;
31         u16 rx_vol_table[16];
32         u16 rx_seek_tune_rssi_threshold;
33         u16 rx_seek_tune_snr_threshold;
34 };
35
36 #endif
37
38 #endif