Commit | Line | Data |
---|---|---|
88b38bef AP |
1 | /* |
2 | * ITE Tech IT9137 silicon tuner driver | |
3 | * | |
4 | * Copyright (C) 2011 Malcolm Priestley (tvboxspy@gmail.com) | |
5 | * IT9137 Copyright (C) ITE Tech Inc. | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License as published by | |
9 | * the Free Software Foundation; either version 2 of the License, or | |
10 | * (at your option) any later version. | |
11 | * | |
12 | * This program is distributed in the hope that it will be useful, | |
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | * | |
16 | * GNU General Public License for more details. | |
88b38bef AP |
17 | */ |
18 | ||
19 | #ifndef IT913X_H | |
20 | #define IT913X_H | |
21 | ||
fada1935 | 22 | #include <media/dvb_frontend.h> |
88b38bef | 23 | |
675ee801 AP |
24 | /** |
25 | * struct it913x_platform_data - Platform data for the it913x driver | |
26 | * @regmap: af9033 demod driver regmap. | |
27 | * @dvb_frontend: af9033 demod driver DVB frontend. | |
675ee801 | 28 | * @role: Chip role, single or dual configuration. |
3b2a5e8c | 29 | */ |
3b2a5e8c | 30 | |
675ee801 AP |
31 | struct it913x_platform_data { |
32 | struct regmap *regmap; | |
33 | struct dvb_frontend *fe; | |
676c350f AP |
34 | #define IT913X_ROLE_SINGLE 0 |
35 | #define IT913X_ROLE_DUAL_MASTER 1 | |
36 | #define IT913X_ROLE_DUAL_SLAVE 2 | |
37 | unsigned int role:2; | |
3b2a5e8c | 38 | }; |
88b38bef AP |
39 | |
40 | #endif |