xref: /kernel/linux/linux-5.10/drivers/media/tuners/mt2131_priv.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/tuners/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci *  Driver for Microtune MT2131 "QAM/8VSB single chip tuner"
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci *  Copyright (c) 2006 Steven Toth <stoth@linuxtv.org>
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#ifndef __MT2131_PRIV_H__
98c2ecf20Sopenharmony_ci#define __MT2131_PRIV_H__
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci/* Regs */
128c2ecf20Sopenharmony_ci#define MT2131_PWR              0x07
138c2ecf20Sopenharmony_ci#define MT2131_UPC_1            0x0b
148c2ecf20Sopenharmony_ci#define MT2131_AGC_RL           0x10
158c2ecf20Sopenharmony_ci#define MT2131_MISC_2           0x15
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ci/* frequency values in KHz */
188c2ecf20Sopenharmony_ci#define MT2131_IF1              1220
198c2ecf20Sopenharmony_ci#define MT2131_IF2              44000
208c2ecf20Sopenharmony_ci#define MT2131_FREF             16000
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_cistruct mt2131_priv {
238c2ecf20Sopenharmony_ci	struct mt2131_config *cfg;
248c2ecf20Sopenharmony_ci	struct i2c_adapter   *i2c;
258c2ecf20Sopenharmony_ci
268c2ecf20Sopenharmony_ci	u32 frequency;
278c2ecf20Sopenharmony_ci};
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci#endif /* __MT2131_PRIV_H__ */
30

Indexes created Thu Nov 07 10:32:03 CST 2024