Merge branch 'fixes' into misc
[sfrench/cifs-2.6.git] / drivers / media / dvb-frontends / cxd2841er_priv.h
1 /*
2  * cxd2841er_priv.h
3  *
4  * Sony CXD2441ER digital demodulator driver internal definitions
5  *
6  * Copyright 2012 Sony Corporation
7  * Copyright (C) 2014 NetUP Inc.
8  * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru>
9  * Copyright (C) 2014 Abylay Ospan <aospan@netup.ru>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  */
21
22 #ifndef CXD2841ER_PRIV_H
23 #define CXD2841ER_PRIV_H
24
25 #define I2C_SLVX                        0
26 #define I2C_SLVT                        1
27
28 #define CXD2837ER_CHIP_ID               0xb1
29 #define CXD2838ER_CHIP_ID               0xb0
30 #define CXD2841ER_CHIP_ID               0xa7
31 #define CXD2843ER_CHIP_ID               0xa4
32 #define CXD2854ER_CHIP_ID               0xc1
33
34 #define CXD2841ER_DVBS_POLLING_INVL     10
35
36 struct cxd2841er_cnr_data {
37         u32 value;
38         int cnr_x1000;
39 };
40
41 enum cxd2841er_dvbt2_profile_t {
42         DVBT2_PROFILE_ANY = 0,
43         DVBT2_PROFILE_BASE = 1,
44         DVBT2_PROFILE_LITE = 2
45 };
46
47 #endif