1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Driver for Maxim MAX2165 silicon tuner
5 * Copyright (c) 2009 David T. L. Wong <davidtlwong@gmail.com>
8 #ifndef __MAX2165_PRIV_H__
9 #define __MAX2165_PRIV_H__
11 #define REG_NDIV_INT 0x00
12 #define REG_NDIV_FRAC2 0x01
13 #define REG_NDIV_FRAC1 0x02
14 #define REG_NDIV_FRAC0 0x03
15 #define REG_TRACK_FILTER 0x04
17 #define REG_PLL_CFG 0x06
19 #define REG_SHUTDOWN 0x08
20 #define REG_VCO_CTRL 0x09
21 #define REG_BASEBAND_CTRL 0x0A
22 #define REG_DC_OFFSET_CTRL 0x0B
23 #define REG_DC_OFFSET_DAC 0x0C
24 #define REG_ROM_TABLE_ADDR 0x0D
26 /* Read Only Registers */
27 #define REG_ROM_TABLE_DATA 0x10
28 #define REG_STATUS 0x11
29 #define REG_AUTOTUNE 0x12
32 struct max2165_config
*config
;
33 struct i2c_adapter
*i2c
;
42 u8 bb_filter_7mhz_cfg
;
43 u8 bb_filter_8mhz_cfg
;