]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/media/i2c/ov9650.h
Merge tag 'kvm-4.15-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[mirror_ubuntu-bionic-kernel.git] / include / media / i2c / ov9650.h
1 /*
2 * OV9650/OV9652 camera sensors driver
3 *
4 * Copyright (C) 2013 Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef OV9650_H_
11 #define OV9650_H_
12
13 /**
14 * struct ov9650_platform_data - ov9650 driver platform data
15 * @mclk_frequency: the sensor's master clock frequency in Hz
16 * @gpio_pwdn: number of a GPIO connected to OV965X PWDN pin
17 * @gpio_reset: number of a GPIO connected to OV965X RESET pin
18 *
19 * If any of @gpio_pwdn or @gpio_reset are unused then they should be
20 * set to a negative value. @mclk_frequency must always be specified.
21 */
22 struct ov9650_platform_data {
23 unsigned long mclk_frequency;
24 int gpio_pwdn;
25 int gpio_reset;
26 };
27 #endif /* OV9650_H_ */