1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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
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
{
26 int (*set_power
)(struct device
*dev
, int on
);
29 #endif /* MEDIA_M5MOLS_H */