1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * OV9650/OV9652 camera sensors driver 4 * 5 * Copyright (C) 2013 Sylwester Nawrocki <sylvester.nawrocki@gmail.com> 6 */ 7 #ifndef OV9650_H_ 8 #define OV9650_H_ 9 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 15 * 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. 18 */ 19 struct ov9650_platform_data { 20 unsigned long mclk_frequency; 21 int gpio_pwdn; 22 int gpio_reset; 23 }; 24 #endif /* OV9650_H_ */ 25