Linux 4.16.11
[linux/fpc-iii.git] / drivers / media / tuners / tua9001.h
blob4df2c16592fb8ee66fbec4d39d75c6c8d13570b3
1 /*
2 * Infineon TUA9001 silicon tuner driver
4 * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
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.
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.
17 #ifndef TUA9001_H
18 #define TUA9001_H
20 #include <media/dvb_frontend.h>
23 * I2C address
24 * 0x60,
27 /**
28 * struct tua9001_platform_data - Platform data for the tua9001 driver
29 * @dvb_frontend: DVB frontend.
31 struct tua9001_platform_data {
32 struct dvb_frontend *dvb_frontend;
36 * TUA9001 I/O PINs:
38 * CEN - chip enable
39 * 0 = chip disabled (chip off)
40 * 1 = chip enabled (chip on)
42 * RESETN - chip reset
43 * 0 = reset disabled (chip reset off)
44 * 1 = reset enabled (chip reset on)
46 * RXEN - RX enable
47 * 0 = RX disabled (chip idle)
48 * 1 = RX enabled (chip tuned)
51 #define TUA9001_CMD_CEN 0
52 #define TUA9001_CMD_RESETN 1
53 #define TUA9001_CMD_RXEN 2
55 #endif