ov7670.h 559 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * A V4L2 driver for OmniVision OV7670 cameras.
  4. *
  5. * Copyright 2010 One Laptop Per Child
  6. */
  7. #ifndef __OV7670_H
  8. #define __OV7670_H
  9. struct ov7670_config {
  10. int min_width; /* Filter out smaller sizes */
  11. int min_height; /* Filter out smaller sizes */
  12. int clock_speed; /* External clock speed (MHz) */
  13. bool use_smbus; /* Use smbus I/O instead of I2C */
  14. bool pll_bypass; /* Choose whether to bypass the PLL */
  15. bool pclk_hb_disable; /* Disable toggling pixclk during horizontal blanking */
  16. };
  17. #endif