root/include/media/i2c/m5mols.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
   2 /*
   3  * Driver header for M-5MOLS 8M Pixel camera sensor with ISP
   4  *
   5  * Copyright (C) 2011 Samsung Electronics Co., Ltd.
   6  * Author: HeungJun Kim <riverful.kim@samsung.com>
   7  *
   8  * Copyright (C) 2009 Samsung Electronics Co., Ltd.
   9  * Author: Dongsoo Nathaniel Kim <dongsoo45.kim@samsung.com>
  10  */
  11 
  12 #ifndef MEDIA_M5MOLS_H
  13 #define MEDIA_M5MOLS_H
  14 
  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
  22  */
  23 struct m5mols_platform_data {
  24         int gpio_reset;
  25         u8 reset_polarity;
  26         int (*set_power)(struct device *dev, int on);
  27 };
  28 
  29 #endif  /* MEDIA_M5MOLS_H */

/* [<][>][^][v][top][bottom][index][help] */