WIP FPC-III support
[linux/fpc-iii.git] / drivers / media / tuners / it913x.h
blob600268816d9825829c86ce37feb91e61bf7f9f23
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * ITE Tech IT9137 silicon tuner driver
5 * Copyright (C) 2011 Malcolm Priestley (tvboxspy@gmail.com)
6 * IT9137 Copyright (C) ITE Tech Inc.
7 */
9 #ifndef IT913X_H
10 #define IT913X_H
12 #include <media/dvb_frontend.h>
14 /**
15 * struct it913x_platform_data - Platform data for the it913x driver
16 * @regmap: af9033 demod driver regmap.
17 * @dvb_frontend: af9033 demod driver DVB frontend.
18 * @role: Chip role, single or dual configuration.
21 struct it913x_platform_data {
22 struct regmap *regmap;
23 struct dvb_frontend *fe;
24 #define IT913X_ROLE_SINGLE 0
25 #define IT913X_ROLE_DUAL_MASTER 1
26 #define IT913X_ROLE_DUAL_SLAVE 2
27 unsigned int role:2;
30 #endif