1# SPDX-License-Identifier: GPL-2.0-only 2menu "VIN (camera) Drivers" 3 depends on AW_BSP 4 5config AW_VIDEO_SUNXI_VIN 6 tristate "sunxi video input (camera csi/mipi isp vipp) driver" 7 select MEDIA_SUPPORT 8 default n 9 10config AW_SENSOR_POWER 11 tristate "sensor power in front of vin" 12 depends on AW_VIDEO_SUNXI_VIN 13 default n 14config CSI_VIN 15 tristate "v4l2 new driver for SUNXI" 16 depends on AW_VIDEO_SUNXI_VIN 17 default m 18 select VIDEOBUF2_DMA_CONTIG 19 20config ENABLE_SENSOR_FLIP_OPTION 21 bool "select sensor flip to replace vipp flip" 22 depends on AW_VIDEO_SUNXI_VIN 23 default n 24 help 25 you cant flip in vipp when you select LBC format, 26 so you can enable it to active sensor flip operation. 27 28config CSI_CCI 29 tristate "use cci function" 30 depends on AW_VIDEO_SUNXI_VIN 31 default n 32 help 33 CCI is a hardware module in CSI. you can make it to 34 be cci or i2c in the system. 35 36if CSI_CCI 37source "$(BSP_TOP)drivers/vin/vin-cci/Kconfig" 38endif 39 40config FLASH 41 tristate "use flash module" 42 depends on AW_VIDEO_SUNXI_VIN 43 default m 44 45config ACTUATOR 46 tristate "use actuator module" 47 depends on AW_VIDEO_SUNXI_VIN 48 default m 49 50config SENSOR_LIST 51 tristate "sensor list for adaptive" 52 depends on AW_VIDEO_SUNXI_VIN 53 default m 54 55config BUF_AUTO_UPDATE 56 bool "buf addr update for hardware" 57 depends on AW_VIDEO_SUNXI_VIN 58 default n 59 60config VIN_LOG 61 bool "use vin log for debug" 62 depends on AW_VIDEO_SUNXI_VIN 63 default y 64 65config PIPELINE_RESET 66 bool "use pipeline reset when timeout" 67 depends on AW_VIDEO_SUNXI_VIN 68 default n 69 70config MULTI_FRAME 71 bool "multi-frame interrupt mode" 72 depends on AW_VIDEO_SUNXI_VIN 73 default n 74 75config SUPPORT_ISP_TDM 76 bool "use isp for time sharing multiplex" 77 depends on AW_VIDEO_SUNXI_VIN 78 default n 79 80config DISPPLAY_SYNC 81 bool "use one buffer for delay display" 82 depends on AW_VIDEO_SUNXI_VIN 83 default n 84 85config VIN_IOMMU 86 bool "use IOMMU for memery alloc" 87 depends on AW_VIDEO_SUNXI_VIN 88 default y 89 90config D3D 91 bool "ISP 3D denoise module" 92 depends on AW_VIDEO_SUNXI_VIN 93 default n 94 95config D3D_LTF_EN 96 bool "ISP 3D denoise long time frame" 97 depends on D3D 98 depends on AW_VIDEO_SUNXI_VIN 99 default n 100 101config D3D_COMPRESS_EN 102 bool "ISP 3D denoise reduces buf size by compression" 103 depends on AW_VIDEO_SUNXI_VIN 104 depends on D3D 105 default n 106 107config WDR 108 bool "ISP WDR module" 109 depends on AW_VIDEO_SUNXI_VIN 110 default n 111 112config WDR_COMPRESS_EN 113 bool "ISP WDR reduces buf size by compression" 114 depends on AW_VIDEO_SUNXI_VIN 115 depends on WDR 116 default n 117 118config SAME_I2C 119 bool "sensor same i2c addr" 120 depends on AW_VIDEO_SUNXI_VIN 121 default y 122 123endmenu 124