1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Maxim Integrated MAX2175 RF to Bits tuner driver
5 * This driver & most of the hard coded values are based on the reference
6 * application delivered by Maxim for this device.
8 * Copyright (C) 2016 Maxim Integrated Products
9 * Copyright (C) 2017 Renesas Electronics Corporation
15 #define MAX2175_EU_XTAL_FREQ 36864000 /* In Hz */
16 #define MAX2175_NA_XTAL_FREQ 40186125 /* In Hz */
19 MAX2175_REGION_EU
= 0, /* Europe */
20 MAX2175_REGION_NA
, /* North America */
30 enum max2175_eu_mode
{
32 MAX2175_EU_FM_1_2
= 0,
36 * Other possible modes to add in future
40 * MAX2175_EU_FMHD_4_0,
46 enum max2175_na_mode
{
48 MAX2175_NA_FM_1_0
= 0,
52 * Other possible modes to add in future
53 * MAX2175_NA_FMHD_1_0,
54 * MAX2175_NA_FMHD_1_2,
60 /* Supported I2S modes */
62 MAX2175_I2S_MODE0
= 0,
69 /* Coefficient table groups */
76 /* HSLS LO injection polarity */
78 MAX2175_LO_BELOW_DESIRED
= 0,
79 MAX2175_LO_ABOVE_DESIRED
,
82 /* Channel FSM modes */
83 enum max2175_csm_mode
{
84 MAX2175_LOAD_TO_BUFFER
= 0,
88 MAX2175_JUMP_FAST_TUNE
,
90 MAX2175_LOAD_AND_SWAP
,
92 MAX2175_BUFFER_PLUS_PRESET_TUNE
,
93 MAX2175_BUFFER_PLUS_SEARCH
,
94 MAX2175_BUFFER_PLUS_AF_UPDATE
,
95 MAX2175_BUFFER_PLUS_JUMP_FAST_TUNE
,
96 MAX2175_BUFFER_PLUS_CHECK
,
97 MAX2175_BUFFER_PLUS_LOAD_AND_SWAP
,
101 #endif /* __MAX2175_H__ */