Commit 9746b117 authored by Martina Krasteva's avatar Martina Krasteva Committed by Mauro Carvalho Chehab
Browse files

media: i2c: Add imx334 camera sensor driver



Add a v4l2 sub-device driver for the Sony imx334 image sensor.
This is a camera sensor using the i2c bus for control and the
csi-2 bus for data.

The following features are supported:
- manual exposure and analog gain control support
- vblank/hblank/pixel rate/link freq control support
- supported resolution:
    - 3840x2160 @ 60fps
- supported bayer order output:
    - SRGGB12

Signed-off-by: default avatarMartina Krasteva <martinax.krasteva@intel.com>
Reviewed-by: default avatarGjorgji Rosikopulos <gjorgjix.rosikopulos@intel.com>
Acked-by: default avatarDaniele Alessandrelli <daniele.alessandrelli@intel.com>
Acked-by: default avatarPaul J. Murphy <paul.j.murphy@intel.com>
Reviewed-by: default avatarJacopo Mondi <jacopo@jmondi.org>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 41b3e233
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16592,6 +16592,7 @@ L: linux-media@vger.kernel.org
S:	Maintained
T:	git git://linuxtv.org/media_tree.git
F:	Documentation/devicetree/bindings/media/i2c/sony,imx334.yaml
F:	drivers/media/i2c/imx334.c
SONY IMX355 SENSOR DRIVER
M:	Tianshu Qiu <tian.shu.qiu@intel.com>
+14 −0
Original line number Diff line number Diff line
@@ -813,6 +813,20 @@ config VIDEO_IMX319
	  To compile this driver as a module, choose M here: the
	  module will be called imx319.

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

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

config VIDEO_IMX355
	tristate "Sony IMX355 sensor support"
	depends on I2C && VIDEO_V4L2
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ obj-$(CONFIG_VIDEO_IMX258) += imx258.o
obj-$(CONFIG_VIDEO_IMX274)	+= imx274.o
obj-$(CONFIG_VIDEO_IMX290)	+= imx290.o
obj-$(CONFIG_VIDEO_IMX319)	+= imx319.o
obj-$(CONFIG_VIDEO_IMX334)	+= imx334.o
obj-$(CONFIG_VIDEO_IMX355)	+= imx355.o
obj-$(CONFIG_VIDEO_MAX9286)	+= max9286.o
rdacm20-camera_module-objs	:= rdacm20.o max9271.o
+1131 −0

File added.

Preview size limit exceeded, changes collapsed.