WIP FPC-III support
[linux/fpc-iii.git] / include / media / i2c / m5mols.h
blob9cec5a09e125b54f2850f5ba83c96ce9a8cf7e0d
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Driver header for M-5MOLS 8M Pixel camera sensor with ISP
5 * Copyright (C) 2011 Samsung Electronics Co., Ltd.
6 * Author: HeungJun Kim <riverful.kim@samsung.com>
8 * Copyright (C) 2009 Samsung Electronics Co., Ltd.
9 * Author: Dongsoo Nathaniel Kim <dongsoo45.kim@samsung.com>
12 #ifndef MEDIA_M5MOLS_H
13 #define MEDIA_M5MOLS_H
15 /**
16 * struct m5mols_platform_data - platform data for M-5MOLS driver
17 * @gpio_reset: GPIO driving the reset pin of M-5MOLS
18 * @reset_polarity: active state for gpio_reset pin, 0 or 1
19 * @set_power: an additional callback to the board setup code
20 * to be called after enabling and before disabling
21 * the sensor's supply regulators
23 struct m5mols_platform_data {
24 int gpio_reset;
25 u8 reset_polarity;
26 int (*set_power)(struct device *dev, int on);
29 #endif /* MEDIA_M5MOLS_H */