]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - include/media/i2c/s5k4ecgx.h
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152
[mirror_ubuntu-eoan-kernel.git] / include / media / i2c / s5k4ecgx.h
CommitLineData
2874c5fd 1/* SPDX-License-Identifier: GPL-2.0-or-later */
8b99312b
SL
2/*
3 * S5K4ECGX image sensor header file
4 *
5 * Copyright (C) 2012, Linaro
6 * Copyright (C) 2012, Samsung Electronics Co., Ltd.
8b99312b
SL
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 */
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 */