linux/drivers/media/tuners/tua9001.h
<<
>>
Prefs
   1/*
   2 * Infineon TUA9001 silicon tuner driver
   3 *
   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.
  15 */
  16
  17#ifndef TUA9001_H
  18#define TUA9001_H
  19
  20#include "dvb_frontend.h"
  21
  22/*
  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
  35/*
  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
  55#endif
  56