Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * S5K4ECGX image sensor header file
0004  *
0005  * Copyright (C) 2012, Linaro
0006  * Copyright (C) 2012, Samsung Electronics Co., Ltd.
0007  */
0008 
0009 #ifndef S5K4ECGX_H
0010 #define S5K4ECGX_H
0011 
0012 /**
0013  * struct s5k4ecgx_gpio - data structure describing a GPIO
0014  * @gpio: GPIO number
0015  * @level: indicates active state of the @gpio
0016  */
0017 struct s5k4ecgx_gpio {
0018     int gpio;
0019     int level;
0020 };
0021 
0022 /**
0023  * struct s5k4ecgx_platform_data - s5k4ecgx driver platform data
0024  * @gpio_reset:  GPIO driving RESET pin
0025  * @gpio_stby:   GPIO driving STBY pin
0026  */
0027 
0028 struct s5k4ecgx_platform_data {
0029     struct s5k4ecgx_gpio gpio_reset;
0030     struct s5k4ecgx_gpio gpio_stby;
0031 };
0032 
0033 #endif /* S5K4ECGX_H */