18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * S5K4ECGX image sensor header file 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2012, Linaro 68c2ecf20Sopenharmony_ci * Copyright (C) 2012, Samsung Electronics Co., Ltd. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef S5K4ECGX_H 108c2ecf20Sopenharmony_ci#define S5K4ECGX_H 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci/** 138c2ecf20Sopenharmony_ci * struct s5k4ecgx_gpio - data structure describing a GPIO 148c2ecf20Sopenharmony_ci * @gpio : GPIO number 158c2ecf20Sopenharmony_ci * @level: indicates active state of the @gpio 168c2ecf20Sopenharmony_ci */ 178c2ecf20Sopenharmony_cistruct s5k4ecgx_gpio { 188c2ecf20Sopenharmony_ci int gpio; 198c2ecf20Sopenharmony_ci int level; 208c2ecf20Sopenharmony_ci}; 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci/** 238c2ecf20Sopenharmony_ci * struct ss5k4ecgx_platform_data- s5k4ecgx driver platform data 248c2ecf20Sopenharmony_ci * @gpio_reset: GPIO driving RESET pin 258c2ecf20Sopenharmony_ci * @gpio_stby : GPIO driving STBY pin 268c2ecf20Sopenharmony_ci */ 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_cistruct s5k4ecgx_platform_data { 298c2ecf20Sopenharmony_ci struct s5k4ecgx_gpio gpio_reset; 308c2ecf20Sopenharmony_ci struct s5k4ecgx_gpio gpio_stby; 318c2ecf20Sopenharmony_ci}; 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ci#endif /* S5K4ECGX_H */ 34