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