Commit 1283b3b8 authored by Dave Stevenson's avatar Dave Stevenson Committed by Mauro Carvalho Chehab
Browse files

media: i2c: Add driver for Sony IMX219 sensor



Adds a driver for the 8MPix Sony IMX219 CSI2 sensor.
Whilst the sensor supports 2 or 4 CSI2 data lanes, this driver
currently only supports 2 lanes.
8MPix @ 15fps, 1080P @ 30fps (cropped FOV), and 1640x1232 (2x2 binned)
@ 30fps are currently supported.

[Sakari Ailus: make imx219_check_hwcfg static]

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: default avatarAndrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 9d730f2c
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -591,6 +591,17 @@ config VIDEO_IMX214
	  To compile this driver as a module, choose M here: the
	  module will be called imx214.

config VIDEO_IMX219
	tristate "Sony IMX219 sensor support"
	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
	select V4L2_FWNODE
	help
	  This is a Video4Linux2 sensor driver for the Sony
	  IMX219 camera.

	  To compile this driver as a module, choose M here: the
	  module will be called imx219.

config VIDEO_IMX258
	tristate "Sony IMX258 sensor support"
	depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
+1 −0
Original line number Diff line number Diff line
@@ -111,6 +111,7 @@ obj-$(CONFIG_VIDEO_OV2659) += ov2659.o
obj-$(CONFIG_VIDEO_TC358743)	+= tc358743.o
obj-$(CONFIG_VIDEO_HI556)	+= hi556.o
obj-$(CONFIG_VIDEO_IMX214)	+= imx214.o
obj-$(CONFIG_VIDEO_IMX219)	+= imx219.o
obj-$(CONFIG_VIDEO_IMX258)	+= imx258.o
obj-$(CONFIG_VIDEO_IMX274)	+= imx274.o
obj-$(CONFIG_VIDEO_IMX290)	+= imx290.o
+1312 −0

File added.

Preview size limit exceeded, changes collapsed.