ov9650.h 728 B

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