• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Infineon TUA9001 silicon tuner driver
4  *
5  * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
6  */
7 
8 #ifndef TUA9001_H
9 #define TUA9001_H
10 
11 #include <media/dvb_frontend.h>
12 
13 /*
14  * I2C address
15  * 0x60,
16  */
17 
18 /**
19  * struct tua9001_platform_data - Platform data for the tua9001 driver
20  * @dvb_frontend: DVB frontend.
21  */
22 struct tua9001_platform_data {
23 	struct dvb_frontend *dvb_frontend;
24 };
25 
26 /*
27  * TUA9001 I/O PINs:
28  *
29  * CEN - chip enable
30  * 0 = chip disabled (chip off)
31  * 1 = chip enabled (chip on)
32  *
33  * RESETN - chip reset
34  * 0 = reset disabled (chip reset off)
35  * 1 = reset enabled (chip reset on)
36  *
37  * RXEN - RX enable
38  * 0 = RX disabled (chip idle)
39  * 1 = RX enabled (chip tuned)
40  */
41 
42 #define TUA9001_CMD_CEN     0
43 #define TUA9001_CMD_RESETN  1
44 #define TUA9001_CMD_RXEN    2
45 
46 #endif
47