• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * S5K4ECGX image sensor header file
4  *
5  * Copyright (C) 2012, Linaro
6  * Copyright (C) 2012, Samsung Electronics Co., Ltd.
7  */
8 
9 #ifndef S5K4ECGX_H
10 #define S5K4ECGX_H
11 
12 /**
13  * struct s5k4ecgx_gpio - data structure describing a GPIO
14  * @gpio : GPIO number
15  * @level: indicates active state of the @gpio
16  */
17 struct s5k4ecgx_gpio {
18 	int gpio;
19 	int level;
20 };
21 
22 /**
23  * struct ss5k4ecgx_platform_data- s5k4ecgx driver platform data
24  * @gpio_reset:	 GPIO driving RESET pin
25  * @gpio_stby :	 GPIO driving STBY pin
26  */
27 
28 struct s5k4ecgx_platform_data {
29 	struct s5k4ecgx_gpio gpio_reset;
30 	struct s5k4ecgx_gpio gpio_stby;
31 };
32 
33 #endif /* S5K4ECGX_H */
34