add(media): add mipi switch and sensor sc202cs. [MIPI_SWITCH][CAMERA_V1.2]
This commit is contained in:
@@ -140,6 +140,10 @@ config SENSOR_SC2355_MIPI
|
||||
tristate "use sc2355_mipi driver"
|
||||
default n
|
||||
|
||||
config SENSOR_SC2356_MIPI
|
||||
tristate "use sc2356_mipi driver"
|
||||
default n
|
||||
|
||||
config SENSOR_SC031GS_MIPI
|
||||
tristate "use sc031gs_mipi driver"
|
||||
default n
|
||||
|
||||
@@ -28,6 +28,7 @@ obj-$(CONFIG_SENSOR_GC5603_MIPI) += gc5603_mipi.o
|
||||
obj-$(CONFIG_SENSOR_GC02M1_MIPI) += gc02m1_mipi.o
|
||||
obj-$(CONFIG_SENSOR_SC2336_MIPI) += sc1346_mipi.o
|
||||
obj-$(CONFIG_SENSOR_SC2336_MIPI) += sc2336_mipi.o
|
||||
obj-$(CONFIG_SENSOR_SC2356_MIPI) += sc2356_mipi.o
|
||||
obj-$(CONFIG_SENSOR_SC2232_MIPI) += sc2232_mipi.o
|
||||
obj-$(CONFIG_SENSOR_SC5336_MIPI) += sc5336_mipi.o
|
||||
obj-$(CONFIG_SENSOR_SC2355_MIPI) += sc2355_mipi.o
|
||||
|
||||
@@ -143,6 +143,7 @@ struct sensor_info {
|
||||
unsigned int act_fps;
|
||||
void (*sensor_fps_chenge_callback)(int act_fps);
|
||||
struct sensor_vysnc_config sensor_vysnc_cfg;
|
||||
unsigned int isp_id[2];
|
||||
};
|
||||
|
||||
#endif /*__CAMERA__H__*/
|
||||
|
||||
@@ -43,6 +43,8 @@ typedef enum tag_CAMERA_IO_CMD {
|
||||
GET_SENSOR_OUTPUT_BIT_WIDTH,
|
||||
SET_SENSOR_OUTPUT_BIT_WIDTH,
|
||||
SET_SWITCH_CHANGE,
|
||||
SET_HFLIP,
|
||||
SET_VFLIP,
|
||||
} __camera_cmd_t;
|
||||
|
||||
struct sensor_exif_attribute {
|
||||
|
||||
1630
lichee/linux-4.9/drivers/media/platform/sunxi-vin/modules/sensor/sc2356_mipi.c
Executable file
1630
lichee/linux-4.9/drivers/media/platform/sunxi-vin/modules/sensor/sc2356_mipi.c
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user