Antti Palosaari | 695efd0 | 2013-02-25 08:43:32 -0300 | [diff] [blame] | 1 | /* |
| 2 | * Montage M88TS2022 silicon tuner driver |
| 3 | * |
| 4 | * Copyright (C) 2013 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 Palosaari | 695efd0 | 2013-02-25 08:43:32 -0300 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #ifndef M88TS2022_PRIV_H |
| 18 | #define M88TS2022_PRIV_H |
| 19 | |
| 20 | #include "m88ts2022.h" |
Antti Palosaari | 35c77a8 | 2014-08-21 18:22:05 -0300 | [diff] [blame] | 21 | #include <linux/regmap.h> |
Antti Palosaari | 695efd0 | 2013-02-25 08:43:32 -0300 | [diff] [blame] | 22 | |
Antti Palosaari | eb773df | 2014-08-21 16:27:55 -0300 | [diff] [blame] | 23 | struct m88ts2022_dev { |
Antti Palosaari | eafa2ad | 2013-12-02 18:38:41 -0300 | [diff] [blame] | 24 | struct m88ts2022_config cfg; |
| 25 | struct i2c_client *client; |
Antti Palosaari | 35c77a8 | 2014-08-21 18:22:05 -0300 | [diff] [blame] | 26 | struct regmap *regmap; |
Antti Palosaari | 695efd0 | 2013-02-25 08:43:32 -0300 | [diff] [blame] | 27 | u32 frequency_khz; |
| 28 | }; |
| 29 | |
| 30 | struct m88ts2022_reg_val { |
| 31 | u8 reg; |
| 32 | u8 val; |
| 33 | }; |
| 34 | |
| 35 | #endif |