Add mt9m021 Driver to Kernel build configuration

This commit is contained in:
dchvs 2021-01-28 22:59:00 -06:00
parent 7f072c3702
commit fc4230361f
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1 @@
CONFIG_VIDEO_I2C_SPIRI_CAM=y

View File

@ -0,0 +1,13 @@
if VIDEO_V4L2
menu "NVIDIA overlay Encoders, decoders, sensors and other helper chips"
visible if !MEDIA_SUBDRV_AUTOSELECT || COMPILE_TEST
config VIDEO_I2C_SPIRI_CAM
tristate "Spiri mt9m021 camera sensor support"
depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
---help---
This is a Video4Linux2 sensor-level driver for Spiri Cameras
endmenu
endif

View File

@ -0,0 +1,5 @@
subdir-ccflags-y += -Werror
ccflags-y += -I$(srctree)/drivers/media/platform/tegra
ccflags-y += -I$(srctree)/drivers/video/tegra/camera
obj-$(CONFIG_VIDEO_I2C_SPIRI_CAM) += mt9m021.o