2 * Copyright (C) 2005-2006 Micronas USA Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License (Version 2) as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software Foundation,
15 * Inc., 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
18 /* Temporary I2C IDs -- these need to be replaced with real registered IDs */
19 #define I2C_DRIVERID_WIS_SAA7115 0xf0f0
20 #define I2C_DRIVERID_WIS_UDA1342 0xf0f1
21 #define I2C_DRIVERID_WIS_SONY_TUNER 0xf0f2
22 #define I2C_DRIVERID_WIS_TW9903 0xf0f3
23 #define I2C_DRIVERID_WIS_SAA7113 0xf0f4
24 #define I2C_DRIVERID_WIS_OV7640 0xf0f5
25 #define I2C_DRIVERID_WIS_TW2804 0xf0f6
26 #define I2C_DRIVERID_S2250 0xf0f7
28 /* Flag to indicate that the client needs to be accessed with SCCB semantics */
29 /* We re-use the I2C_M_TEN value so the flag passes through the masks in the
30 * core I2C code. Major kludge, but the I2C layer ain't exactly flexible. */
31 #define I2C_CLIENT_SCCB 0x10
33 /* Definitions for new video decoder commands */
35 struct video_decoder_resolution
{
40 #define DECODER_SET_RESOLUTION _IOW('d', 200, struct video_decoder_resolution)
41 #define DECODER_SET_CHANNEL _IOW('d', 201, int)
43 /* Sony tuner types */
45 #define TUNER_SONY_BTF_PG472Z 200
46 #define TUNER_SONY_BTF_PK467Z 201
47 #define TUNER_SONY_BTF_PB463Z 202