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