162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Support for the sensor part which is integrated (I think) into the 462306a36Sopenharmony_ci * st6422 stv06xx alike bridge, as its integrated there are no i2c writes 562306a36Sopenharmony_ci * but instead direct bridge writes. 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Copyright (c) 2009 Hans de Goede <hdegoede@redhat.com> 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * Strongly based on qc-usb-messenger, which is: 1062306a36Sopenharmony_ci * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 1162306a36Sopenharmony_ci * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 1262306a36Sopenharmony_ci * Copyright (c) 2002, 2003 Tuukka Toivonen 1362306a36Sopenharmony_ci */ 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci#ifndef STV06XX_ST6422_H_ 1662306a36Sopenharmony_ci#define STV06XX_ST6422_H_ 1762306a36Sopenharmony_ci 1862306a36Sopenharmony_ci#include "stv06xx_sensor.h" 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_cistatic int st6422_probe(struct sd *sd); 2162306a36Sopenharmony_cistatic int st6422_start(struct sd *sd); 2262306a36Sopenharmony_cistatic int st6422_init(struct sd *sd); 2362306a36Sopenharmony_cistatic int st6422_init_controls(struct sd *sd); 2462306a36Sopenharmony_cistatic int st6422_stop(struct sd *sd); 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ciconst struct stv06xx_sensor stv06xx_sensor_st6422 = { 2762306a36Sopenharmony_ci .name = "ST6422", 2862306a36Sopenharmony_ci /* No known way to lower framerate in case of less bandwidth */ 2962306a36Sopenharmony_ci .min_packet_size = { 300, 847 }, 3062306a36Sopenharmony_ci .max_packet_size = { 300, 847 }, 3162306a36Sopenharmony_ci .init = st6422_init, 3262306a36Sopenharmony_ci .init_controls = st6422_init_controls, 3362306a36Sopenharmony_ci .probe = st6422_probe, 3462306a36Sopenharmony_ci .start = st6422_start, 3562306a36Sopenharmony_ci .stop = st6422_stop, 3662306a36Sopenharmony_ci}; 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci#endif 39