blob: 7b0548181cdcab648a2f5cda00885473b8cd8bfa [file] [log] [blame]
Antti Palosaarif9263742012-03-30 06:37:26 -03001/*
Antti Palosaari465433f2015-04-15 20:26:06 -03002 * Infineon TUA9001 silicon tuner driver
Antti Palosaarif9263742012-03-30 06:37:26 -03003 *
4 * Copyright (C) 2009 Antti Palosaari <crope@iki.fi>
5 *
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.
10 *
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.
Antti Palosaarif9263742012-03-30 06:37:26 -030015 */
16
17#ifndef TUA9001_H
18#define TUA9001_H
19
20#include "dvb_frontend.h"
21
Antti Palosaarifc851c62015-04-15 19:12:34 -030022/*
23 * I2C address
24 * 0x60,
25 */
26
27/**
28 * struct tua9001_platform_data - Platform data for the tua9001 driver
29 * @dvb_frontend: DVB frontend.
30 */
31struct tua9001_platform_data {
32 struct dvb_frontend *dvb_frontend;
33};
34
Antti Palosaari89054e32012-09-11 22:27:07 -030035/*
36 * TUA9001 I/O PINs:
37 *
38 * CEN - chip enable
39 * 0 = chip disabled (chip off)
40 * 1 = chip enabled (chip on)
41 *
42 * RESETN - chip reset
43 * 0 = reset disabled (chip reset off)
44 * 1 = reset enabled (chip reset on)
45 *
46 * RXEN - RX enable
47 * 0 = RX disabled (chip idle)
48 * 1 = RX enabled (chip tuned)
49 */
50
51#define TUA9001_CMD_CEN 0
52#define TUA9001_CMD_RESETN 1
53#define TUA9001_CMD_RXEN 2
54
Antti Palosaarif9263742012-03-30 06:37:26 -030055#endif