ov9650.h 874 B

12345678910111213141516171819202122232425262728
  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. * struct ov9650_platform_data - ov9650 driver platform data
  14. * @mclk_frequency: the sensor's master clock frequency in Hz
  15. * @gpio_pwdn: number of a GPIO connected to OV965X PWDN pin
  16. * @gpio_reset: number of a GPIO connected to OV965X RESET pin
  17. *
  18. * If any of @gpio_pwdn or @gpio_reset are unused then they should be
  19. * set to a negative value. @mclk_frequency must always be specified.
  20. */
  21. struct ov9650_platform_data {
  22. unsigned long mclk_frequency;
  23. int gpio_pwdn;
  24. int gpio_reset;
  25. };
  26. #endif /* OV9650_H_ */