2  *  Driver for Quantek QT1010 silicon tuner
 
   4  *  Copyright (C) 2006 Antti Palosaari <crope@iki.fi>
 
   5  *                     Aapo Tahkola <aet@rasterburn.org>
 
   7  *  This program is free software; you can redistribute it and/or modify
 
   8  *  it under the terms of the GNU General Public License as published by
 
   9  *  the Free Software Foundation; either version 2 of the License, or
 
  10  *  (at your option) any later version.
 
  12  *  This program is distributed in the hope that it will be useful,
 
  13  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
  14  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
  15  *  GNU General Public License for more details.
 
  17  *  You should have received a copy of the GNU General Public License
 
  18  *  along with this program; if not, write to the Free Software
 
  19  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
  29 01  a0  ? operation start/stop; start=80, stop=00
 
  33 05  00  ? maybe band selection
 
  35 07  2b  set frequency: 32 MHz scale, n*32 MHz
 
  37 09  10  ? changes every 8/24 MHz; values 1d/1c
 
  38 0a  08  set frequency: 4 MHz scale, n*4 MHz
 
  39 0b  41  ? changes every 2/2 MHz; values 45/45
 
  45 11  f1  ? maybe device specified adjustment
 
  46 12  11  ? maybe device specified adjustment
 
  54 1a  d0  set frequency: 125 kHz scale, n*125 kHz
 
  58 1e  00  ? looks like operation register; write cmd here, read result from 1f-26
 
  59 1f  20  ? chip initialization
 
  60 20  e0  ? chip initialization
 
  65 25  40  ? chip initialization
 
  78 #define QT1010_STEP         125000 /*  125 kHz used by Windows drivers,
 
  79                                       hw could be more precise but we don't
 
  81 #define QT1010_MIN_FREQ   48000000 /*   48 MHz */
 
  82 #define QT1010_MAX_FREQ  860000000 /*  860 MHz */
 
  83 #define QT1010_OFFSET   1246000000 /* 1246 MHz */
 
  94         struct qt1010_config *cfg;
 
  95         struct i2c_adapter   *i2c;