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