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