/*1* Driver header for M-5MOLS 8M Pixel camera sensor with ISP2*3* Copyright (C) 2011 Samsung Electronics Co., Ltd.4* Author: HeungJun Kim <[email protected]>5*6* Copyright (C) 2009 Samsung Electronics Co., Ltd.7* Author: Dongsoo Nathaniel Kim <[email protected]>8*9* This program is free software; you can redistribute it and/or modify10* it under the terms of the GNU General Public License as published by11* the Free Software Foundation; either version 2 of the License, or12* (at your option) any later version.13*/1415#ifndef MEDIA_M5MOLS_H16#define MEDIA_M5MOLS_H1718/**19* struct m5mols_platform_data - platform data for M-5MOLS driver20* @irq: GPIO getting the irq pin of M-5MOLS21* @gpio_reset: GPIO driving the reset pin of M-5MOLS22* @reset_polarity: active state for gpio_rst pin, 0 or 123* @set_power: an additional callback to the board setup code24* to be called after enabling and before disabling25* the sensor's supply regulators26*/27struct m5mols_platform_data {28int irq;29int gpio_reset;30u8 reset_polarity;31int (*set_power)(struct device *dev, int on);32};3334#endif /* MEDIA_M5MOLS_H */353637