blob: bc406c5ec69d2ff71d56c0a82b6a30c1f8a12cd4 [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 Palosaari47f95db2015-04-16 07:36:51 -030021#include <linux/math64.h>
Antti Palosaaridd219a82015-04-15 20:38:43 -030022#include <linux/regmap.h>
Antti Palosaari465433f2015-04-15 20:26:06 -030023
24struct tua9001_reg_val {
Antti Palosaarif9263742012-03-30 06:37:26 -030025 u8 reg;
26 u16 val;
27};
28
Antti Palosaari465433f2015-04-15 20:26:06 -030029struct tua9001_dev {
Antti Palosaarifc851c62015-04-15 19:12:34 -030030 struct dvb_frontend *fe;
Antti Palosaari465433f2015-04-15 20:26:06 -030031 struct i2c_client *client;
Antti Palosaaridd219a82015-04-15 20:38:43 -030032 struct regmap *regmap;
Antti Palosaarif9263742012-03-30 06:37:26 -030033};
34
35#endif