blob: fccb7be8ed8f2d86bf5577d4ff93bf37a573341a [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * S5K4ECGX image sensor header file
4 *
5 * Copyright (C) 2012, Linaro
6 * Copyright (C) 2012, Samsung Electronics Co., Ltd.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007 */
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 */
17struct 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
28struct s5k4ecgx_platform_data {
29 struct s5k4ecgx_gpio gpio_reset;
30 struct s5k4ecgx_gpio gpio_stby;
31};
32
33#endif /* S5K4ECGX_H */