Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * OV9650/OV9652 camera sensors driver
0004  *
0005  * Copyright (C) 2013 Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
0006  */
0007 #ifndef OV9650_H_
0008 #define OV9650_H_
0009 
0010 /**
0011  * struct ov9650_platform_data - ov9650 driver platform data
0012  * @mclk_frequency: the sensor's master clock frequency in Hz
0013  * @gpio_pwdn:      number of a GPIO connected to OV965X PWDN pin
0014  * @gpio_reset:     number of a GPIO connected to OV965X RESET pin
0015  *
0016  * If any of @gpio_pwdn or @gpio_reset are unused then they should be
0017  * set to a negative value. @mclk_frequency must always be specified.
0018  */
0019 struct ov9650_platform_data {
0020     unsigned long mclk_frequency;
0021     int gpio_pwdn;
0022     int gpio_reset;
0023 };
0024 #endif /* OV9650_H_ */