WIP FPC-III support
[linux/fpc-iii.git] / include / media / i2c / ov9650.h
blob3ec7e06955b490b45cdb25dc49fb8868b875f540
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * OV9650/OV9652 camera sensors driver
5 * Copyright (C) 2013 Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
6 */
7 #ifndef OV9650_H_
8 #define OV9650_H_
10 /**
11 * struct ov9650_platform_data - ov9650 driver platform data
12 * @mclk_frequency: the sensor's master clock frequency in Hz
13 * @gpio_pwdn: number of a GPIO connected to OV965X PWDN pin
14 * @gpio_reset: number of a GPIO connected to OV965X RESET pin
16 * If any of @gpio_pwdn or @gpio_reset are unused then they should be
17 * set to a negative value. @mclk_frequency must always be specified.
19 struct ov9650_platform_data {
20 unsigned long mclk_frequency;
21 int gpio_pwdn;
22 int gpio_reset;
24 #endif /* OV9650_H_ */