![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* 0003 * S5K6AAFX camera sensor driver header 0004 * 0005 * Copyright (C) 2011 Samsung Electronics Co., Ltd. 0006 */ 0007 0008 #ifndef S5K6AA_H 0009 #define S5K6AA_H 0010 0011 #include <media/v4l2-mediabus.h> 0012 0013 /** 0014 * struct s5k6aa_gpio - data structure describing a GPIO 0015 * @gpio: GPIO number 0016 * @level: indicates active state of the @gpio 0017 */ 0018 struct s5k6aa_gpio { 0019 int gpio; 0020 int level; 0021 }; 0022 0023 /** 0024 * struct s5k6aa_platform_data - s5k6aa driver platform data 0025 * @set_power: an additional callback to the board code, called 0026 * after enabling the regulators and before switching 0027 * the sensor off 0028 * @mclk_frequency: sensor's master clock frequency in Hz 0029 * @gpio_reset: GPIO driving RESET pin 0030 * @gpio_stby: GPIO driving STBY pin 0031 * @bus_type: bus type 0032 * @nlanes: maximum number of MIPI-CSI lanes used 0033 * @horiz_flip: default horizontal image flip value, non zero to enable 0034 * @vert_flip: default vertical image flip value, non zero to enable 0035 */ 0036 0037 struct s5k6aa_platform_data { 0038 int (*set_power)(int enable); 0039 unsigned long mclk_frequency; 0040 struct s5k6aa_gpio gpio_reset; 0041 struct s5k6aa_gpio gpio_stby; 0042 enum v4l2_mbus_type bus_type; 0043 u8 nlanes; 0044 u8 horiz_flip; 0045 u8 vert_flip; 0046 }; 0047 0048 #endif /* S5K6AA_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |