Linux 5.4.31
[linux/fpc-iii.git] / include / media / i2c / s5k4ecgx.h
blobfccb7be8ed8f2d86bf5577d4ff93bf37a573341a
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * S5K4ECGX image sensor header file
5 * Copyright (C) 2012, Linaro
6 * Copyright (C) 2012, Samsung Electronics Co., Ltd.
7 */
9 #ifndef S5K4ECGX_H
10 #define S5K4ECGX_H
12 /**
13 * struct s5k4ecgx_gpio - data structure describing a GPIO
14 * @gpio : GPIO number
15 * @level: indicates active state of the @gpio
17 struct s5k4ecgx_gpio {
18 int gpio;
19 int level;
22 /**
23 * struct ss5k4ecgx_platform_data- s5k4ecgx driver platform data
24 * @gpio_reset: GPIO driving RESET pin
25 * @gpio_stby : GPIO driving STBY pin
28 struct s5k4ecgx_platform_data {
29 struct s5k4ecgx_gpio gpio_reset;
30 struct s5k4ecgx_gpio gpio_stby;
33 #endif /* S5K4ECGX_H */