blob: 327ead9ea2ba5c832a26f05ed6569c47d00f1d90 [file] [log] [blame]
Antti Palosaarif9263742012-03-30 06:37:26 -03001/*
Antti Palosaari465433f2015-04-15 20:26:06 -03002 * Infineon TUA9001 silicon tuner driver
Antti Palosaarif9263742012-03-30 06:37:26 -03003 *
4 * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
Antti Palosaarif9263742012-03-30 06:37:26 -030015 */
16
17#ifndef TUA9001_PRIV_H
18#define TUA9001_PRIV_H
19
Antti Palosaari465433f2015-04-15 20:26:06 -030020#include "tua9001.h"
Antti Palosaaridd219a82015-04-15 20:38:43 -030021#include <linux/regmap.h>
Antti Palosaari465433f2015-04-15 20:26:06 -030022
23struct tua9001_reg_val {
Antti Palosaarif9263742012-03-30 06:37:26 -030024 u8 reg;
25 u16 val;
26};
27
Antti Palosaari465433f2015-04-15 20:26:06 -030028struct tua9001_dev {
Antti Palosaarifc851c62015-04-15 19:12:34 -030029 struct dvb_frontend *fe;
Antti Palosaari465433f2015-04-15 20:26:06 -030030 struct i2c_client *client;
Antti Palosaaridd219a82015-04-15 20:38:43 -030031 struct regmap *regmap;
Antti Palosaarif9263742012-03-30 06:37:26 -030032};
33
34#endif