treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / media / tuners / tua9001.h
blob9cca56a45034813ded14bd64a00b5ef6f6ac0fde
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Infineon TUA9001 silicon tuner driver
5 * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
6 */
8 #ifndef TUA9001_H
9 #define TUA9001_H
11 #include <media/dvb_frontend.h>
14 * I2C address
15 * 0x60,
18 /**
19 * struct tua9001_platform_data - Platform data for the tua9001 driver
20 * @dvb_frontend: DVB frontend.
22 struct tua9001_platform_data {
23 struct dvb_frontend *dvb_frontend;
27 * TUA9001 I/O PINs:
29 * CEN - chip enable
30 * 0 = chip disabled (chip off)
31 * 1 = chip enabled (chip on)
33 * RESETN - chip reset
34 * 0 = reset disabled (chip reset off)
35 * 1 = reset enabled (chip reset on)
37 * RXEN - RX enable
38 * 0 = RX disabled (chip idle)
39 * 1 = RX enabled (chip tuned)
42 #define TUA9001_CMD_CEN 0
43 #define TUA9001_CMD_RESETN 1
44 #define TUA9001_CMD_RXEN 2
46 #endif