1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-or-later */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * Support for the sensor part which is integrated (I think) into the 4*4882a593Smuzhiyun * st6422 stv06xx alike bridge, as its integrated there are no i2c writes 5*4882a593Smuzhiyun * but instead direct bridge writes. 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * Copyright (c) 2009 Hans de Goede <hdegoede@redhat.com> 8*4882a593Smuzhiyun * 9*4882a593Smuzhiyun * Strongly based on qc-usb-messenger, which is: 10*4882a593Smuzhiyun * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 11*4882a593Smuzhiyun * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 12*4882a593Smuzhiyun * Copyright (c) 2002, 2003 Tuukka Toivonen 13*4882a593Smuzhiyun */ 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun #ifndef STV06XX_ST6422_H_ 16*4882a593Smuzhiyun #define STV06XX_ST6422_H_ 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun #include "stv06xx_sensor.h" 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun static int st6422_probe(struct sd *sd); 21*4882a593Smuzhiyun static int st6422_start(struct sd *sd); 22*4882a593Smuzhiyun static int st6422_init(struct sd *sd); 23*4882a593Smuzhiyun static int st6422_init_controls(struct sd *sd); 24*4882a593Smuzhiyun static int st6422_stop(struct sd *sd); 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun const struct stv06xx_sensor stv06xx_sensor_st6422 = { 27*4882a593Smuzhiyun .name = "ST6422", 28*4882a593Smuzhiyun /* No known way to lower framerate in case of less bandwidth */ 29*4882a593Smuzhiyun .min_packet_size = { 300, 847 }, 30*4882a593Smuzhiyun .max_packet_size = { 300, 847 }, 31*4882a593Smuzhiyun .init = st6422_init, 32*4882a593Smuzhiyun .init_controls = st6422_init_controls, 33*4882a593Smuzhiyun .probe = st6422_probe, 34*4882a593Smuzhiyun .start = st6422_start, 35*4882a593Smuzhiyun .stop = st6422_stop, 36*4882a593Smuzhiyun }; 37*4882a593Smuzhiyun 38*4882a593Smuzhiyun #endif 39