1c942fddfSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */ 2a6dc60ffSKozlov Sergey /* 3a6dc60ffSKozlov Sergey * cxd2841er_priv.h 4a6dc60ffSKozlov Sergey * 5a6dc60ffSKozlov Sergey * Sony CXD2441ER digital demodulator driver internal definitions 6a6dc60ffSKozlov Sergey * 7a6dc60ffSKozlov Sergey * Copyright 2012 Sony Corporation 8a6dc60ffSKozlov Sergey * Copyright (C) 2014 NetUP Inc. 9a6dc60ffSKozlov Sergey * Copyright (C) 2014 Sergey Kozlov <serjk@netup.ru> 10a6dc60ffSKozlov Sergey * Copyright (C) 2014 Abylay Ospan <aospan@netup.ru> 11a6dc60ffSKozlov Sergey */ 12a6dc60ffSKozlov Sergey 13a6dc60ffSKozlov Sergey #ifndef CXD2841ER_PRIV_H 14a6dc60ffSKozlov Sergey #define CXD2841ER_PRIV_H 15a6dc60ffSKozlov Sergey 16a6dc60ffSKozlov Sergey #define I2C_SLVX 0 17a6dc60ffSKozlov Sergey #define I2C_SLVT 1 18a6dc60ffSKozlov Sergey 191ecda28cSDaniel Scheller #define CXD2837ER_CHIP_ID 0xb1 201ecda28cSDaniel Scheller #define CXD2838ER_CHIP_ID 0xb0 21a6dc60ffSKozlov Sergey #define CXD2841ER_CHIP_ID 0xa7 221ecda28cSDaniel Scheller #define CXD2843ER_CHIP_ID 0xa4 2383808c23SAbylay Ospan #define CXD2854ER_CHIP_ID 0xc1 24a6dc60ffSKozlov Sergey 25a6dc60ffSKozlov Sergey #define CXD2841ER_DVBS_POLLING_INVL 10 26a6dc60ffSKozlov Sergey 27a6dc60ffSKozlov Sergey struct cxd2841er_cnr_data { 28a6dc60ffSKozlov Sergey u32 value; 29a6dc60ffSKozlov Sergey int cnr_x1000; 30a6dc60ffSKozlov Sergey }; 31a6dc60ffSKozlov Sergey 32a6dc60ffSKozlov Sergey enum cxd2841er_dvbt2_profile_t { 33a6dc60ffSKozlov Sergey DVBT2_PROFILE_ANY = 0, 34a6dc60ffSKozlov Sergey DVBT2_PROFILE_BASE = 1, 35a6dc60ffSKozlov Sergey DVBT2_PROFILE_LITE = 2 36a6dc60ffSKozlov Sergey }; 37a6dc60ffSKozlov Sergey 38a6dc60ffSKozlov Sergey #endif 39