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