1*0c0d06caSMauro Carvalho Chehab /* 2*0c0d06caSMauro Carvalho Chehab * Support for the sensor part which is integrated (I think) into the 3*0c0d06caSMauro Carvalho Chehab * st6422 stv06xx alike bridge, as its integrated there are no i2c writes 4*0c0d06caSMauro Carvalho Chehab * but instead direct bridge writes. 5*0c0d06caSMauro Carvalho Chehab * 6*0c0d06caSMauro Carvalho Chehab * Copyright (c) 2009 Hans de Goede <hdegoede@redhat.com> 7*0c0d06caSMauro Carvalho Chehab * 8*0c0d06caSMauro Carvalho Chehab * Strongly based on qc-usb-messenger, which is: 9*0c0d06caSMauro Carvalho Chehab * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 10*0c0d06caSMauro Carvalho Chehab * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 11*0c0d06caSMauro Carvalho Chehab * Copyright (c) 2002, 2003 Tuukka Toivonen 12*0c0d06caSMauro Carvalho Chehab * 13*0c0d06caSMauro Carvalho Chehab * This program is free software; you can redistribute it and/or modify 14*0c0d06caSMauro Carvalho Chehab * it under the terms of the GNU General Public License as published by 15*0c0d06caSMauro Carvalho Chehab * the Free Software Foundation; either version 2 of the License, or 16*0c0d06caSMauro Carvalho Chehab * (at your option) any later version. 17*0c0d06caSMauro Carvalho Chehab * 18*0c0d06caSMauro Carvalho Chehab * This program is distributed in the hope that it will be useful, 19*0c0d06caSMauro Carvalho Chehab * but WITHOUT ANY WARRANTY; without even the implied warranty of 20*0c0d06caSMauro Carvalho Chehab * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21*0c0d06caSMauro Carvalho Chehab * GNU General Public License for more details. 22*0c0d06caSMauro Carvalho Chehab * 23*0c0d06caSMauro Carvalho Chehab * You should have received a copy of the GNU General Public License 24*0c0d06caSMauro Carvalho Chehab * along with this program; if not, write to the Free Software 25*0c0d06caSMauro Carvalho Chehab * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 26*0c0d06caSMauro Carvalho Chehab * 27*0c0d06caSMauro Carvalho Chehab */ 28*0c0d06caSMauro Carvalho Chehab 29*0c0d06caSMauro Carvalho Chehab #ifndef STV06XX_ST6422_H_ 30*0c0d06caSMauro Carvalho Chehab #define STV06XX_ST6422_H_ 31*0c0d06caSMauro Carvalho Chehab 32*0c0d06caSMauro Carvalho Chehab #include "stv06xx_sensor.h" 33*0c0d06caSMauro Carvalho Chehab 34*0c0d06caSMauro Carvalho Chehab static int st6422_probe(struct sd *sd); 35*0c0d06caSMauro Carvalho Chehab static int st6422_start(struct sd *sd); 36*0c0d06caSMauro Carvalho Chehab static int st6422_init(struct sd *sd); 37*0c0d06caSMauro Carvalho Chehab static int st6422_init_controls(struct sd *sd); 38*0c0d06caSMauro Carvalho Chehab static int st6422_stop(struct sd *sd); 39*0c0d06caSMauro Carvalho Chehab 40*0c0d06caSMauro Carvalho Chehab const struct stv06xx_sensor stv06xx_sensor_st6422 = { 41*0c0d06caSMauro Carvalho Chehab .name = "ST6422", 42*0c0d06caSMauro Carvalho Chehab /* No known way to lower framerate in case of less bandwidth */ 43*0c0d06caSMauro Carvalho Chehab .min_packet_size = { 300, 847 }, 44*0c0d06caSMauro Carvalho Chehab .max_packet_size = { 300, 847 }, 45*0c0d06caSMauro Carvalho Chehab .init = st6422_init, 46*0c0d06caSMauro Carvalho Chehab .init_controls = st6422_init_controls, 47*0c0d06caSMauro Carvalho Chehab .probe = st6422_probe, 48*0c0d06caSMauro Carvalho Chehab .start = st6422_start, 49*0c0d06caSMauro Carvalho Chehab .stop = st6422_stop, 50*0c0d06caSMauro Carvalho Chehab }; 51*0c0d06caSMauro Carvalho Chehab 52*0c0d06caSMauro Carvalho Chehab #endif 53