IMX046: Add support for Sony imx046 sensor.
Subsystems (2)
PATCH v2 3/6 IMX046: Add support for Sony imx046 sensor.
From: Dominic Curran <[email protected]>
Subject: [OMAPZOOM][PATCH v2 3/6] IMX046: Add support for Sony imx046 sensor.
This patch adds the driver files for the Sony IMX046 8MP camera sensor. Driver sets up the sensor to send frame data via the MIPI CSI2 i/f. Sensor is setup to output the following base sizes:
- 3280 x 2464 (8MP)
- 3280 x 616 (2MP)
- 820 x 616
Sensor's output image format is Bayer10 (GrR/BGb).
Driver has V4L2 controls for:
- Exposure
- Analog Gain
Signed-off-by Greg Hofer <[email protected]>
Signed-off-by Dominic Curran <[email protected]>
--- drivers/media/video/Kconfig | 7 drivers/media/video/Makefile | 1 drivers/media/video/imx046.c | 1632 +++++++++++++++++++++++++++++++++++++++++++ drivers/media/video/imx046.h | 326 ++++++++ 4 files changed, 1966 insertions(+) create mode 100644 drivers/media/video/imx046.c create mode 100644 drivers/media/video/imx046.h
drivers/media/video/Kconfig +7 -0
@@ -334,6 +334,13 @@ config VIDEO_OV3640_CSI2 This enables the use of the CSI2 serial bus for the ov3640 camera. +config VIDEO_IMX046 + tristate "Sony IMX046 sensor driver (8MP)" + depends on I2C && VIDEO_V4L2 + ---help--- + This is a Video4Linux2 sensor-level driver for the Sony + IMX046 camera. + config VIDEO_SAA7110 tristate "Philips SAA7110 video decoder" depends on VIDEO_V4L1 && I2C
drivers/media/video/Makefile +1 -0
@@ -115,6 +115,7 @@ obj-$(CONFIG_VIDEO_OV9640) += ov9640.o obj-$(CONFIG_VIDEO_MT9P012) += mt9p012.o obj-$(CONFIG_VIDEO_DW9710) += dw9710.o obj-$(CONFIG_VIDEO_OV3640) += ov3640.o +obj-$(CONFIG_VIDEO_IMX046) += imx046.o obj-$(CONFIG_USB_DABUSB) += dabusb.o obj-$(CONFIG_USB_OV511) += ov511.o
drivers/media/video/imx046.c new file +1632 -0
1,632 lines not on this page · raw message
drivers/media/video/imx046.h new file +326 -0
326 lines not on this page · raw message