Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Support for the sensor part which is integrated (I think) into the
0004  * st6422 stv06xx alike bridge, as its integrated there are no i2c writes
0005  * but instead direct bridge writes.
0006  *
0007  * Copyright (c) 2009 Hans de Goede <hdegoede@redhat.com>
0008  *
0009  * Strongly based on qc-usb-messenger, which is:
0010  * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher
0011  *            Mark Cave-Ayland, Carlo E Prelz, Dick Streefland
0012  * Copyright (c) 2002, 2003 Tuukka Toivonen
0013  */
0014 
0015 #ifndef STV06XX_ST6422_H_
0016 #define STV06XX_ST6422_H_
0017 
0018 #include "stv06xx_sensor.h"
0019 
0020 static int st6422_probe(struct sd *sd);
0021 static int st6422_start(struct sd *sd);
0022 static int st6422_init(struct sd *sd);
0023 static int st6422_init_controls(struct sd *sd);
0024 static int st6422_stop(struct sd *sd);
0025 
0026 const struct stv06xx_sensor stv06xx_sensor_st6422 = {
0027     .name = "ST6422",
0028     /* No known way to lower framerate in case of less bandwidth */
0029     .min_packet_size = { 300, 847 },
0030     .max_packet_size = { 300, 847 },
0031     .init = st6422_init,
0032     .init_controls = st6422_init_controls,
0033     .probe = st6422_probe,
0034     .start = st6422_start,
0035     .stop = st6422_stop,
0036 };
0037 
0038 #endif