2 * Maxim Integrated MAX2175 RF to Bits tuner driver
4 * This driver & most of the hard coded values are based on the reference
5 * application delivered by Maxim for this device.
7 * Copyright (C) 2016 Maxim Integrated Products
8 * Copyright (C) 2017 Renesas Electronics Corporation
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2
12 * as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
23 #define MAX2175_EU_XTAL_FREQ 36864000 /* In Hz */
24 #define MAX2175_NA_XTAL_FREQ 40186125 /* In Hz */
27 MAX2175_REGION_EU
= 0, /* Europe */
28 MAX2175_REGION_NA
, /* North America */
38 enum max2175_eu_mode
{
40 MAX2175_EU_FM_1_2
= 0,
44 * Other possible modes to add in future
48 * MAX2175_EU_FMHD_4_0,
54 enum max2175_na_mode
{
56 MAX2175_NA_FM_1_0
= 0,
60 * Other possible modes to add in future
61 * MAX2175_NA_FMHD_1_0,
62 * MAX2175_NA_FMHD_1_2,
68 /* Supported I2S modes */
70 MAX2175_I2S_MODE0
= 0,
77 /* Coefficient table groups */
84 /* HSLS LO injection polarity */
86 MAX2175_LO_BELOW_DESIRED
= 0,
87 MAX2175_LO_ABOVE_DESIRED
,
90 /* Channel FSM modes */
91 enum max2175_csm_mode
{
92 MAX2175_LOAD_TO_BUFFER
= 0,
96 MAX2175_JUMP_FAST_TUNE
,
98 MAX2175_LOAD_AND_SWAP
,
100 MAX2175_BUFFER_PLUS_PRESET_TUNE
,
101 MAX2175_BUFFER_PLUS_SEARCH
,
102 MAX2175_BUFFER_PLUS_AF_UPDATE
,
103 MAX2175_BUFFER_PLUS_JUMP_FAST_TUNE
,
104 MAX2175_BUFFER_PLUS_CHECK
,
105 MAX2175_BUFFER_PLUS_LOAD_AND_SWAP
,
109 #endif /* __MAX2175_H__ */