Commit 9bd060e4 authored by Andrew Chew's avatar Andrew Chew Committed by Mauro Carvalho Chehab

[media] V4L: Initial submit of OV9740 driver

This soc_camera driver is for Omnivision's OV9740 sensor.  This initial
submission provides support for YUV422 output at 1280x720 (720p), which is
the sensor's native resolution.  640x480 (VGA) is also supported, with
cropping and scaling performed by the sensor's ISP.

This driver is heavily based off of the existing OV9640 driver.
Signed-off-by: default avatarAndrew Chew <achew@nvidia.com>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 787d0f9d
...@@ -838,6 +838,12 @@ config SOC_CAMERA_OV9640 ...@@ -838,6 +838,12 @@ config SOC_CAMERA_OV9640
help help
This is a ov9640 camera driver This is a ov9640 camera driver
config SOC_CAMERA_OV9740
tristate "ov9740 camera support"
depends on SOC_CAMERA && I2C
help
This is a ov9740 camera driver
config MX1_VIDEO config MX1_VIDEO
bool bool
......
...@@ -79,6 +79,7 @@ obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o ...@@ -79,6 +79,7 @@ obj-$(CONFIG_SOC_CAMERA_OV2640) += ov2640.o
obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o obj-$(CONFIG_SOC_CAMERA_OV6650) += ov6650.o
obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o
obj-$(CONFIG_SOC_CAMERA_OV9740) += ov9740.o
obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o obj-$(CONFIG_SOC_CAMERA_RJ54N1) += rj54n1cb0c.o
obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o obj-$(CONFIG_SOC_CAMERA_TW9910) += tw9910.o
......
This diff is collapsed.
...@@ -75,6 +75,7 @@ enum { ...@@ -75,6 +75,7 @@ enum {
V4L2_IDENT_OV9640 = 257, V4L2_IDENT_OV9640 = 257,
V4L2_IDENT_OV6650 = 258, V4L2_IDENT_OV6650 = 258,
V4L2_IDENT_OV2640 = 259, V4L2_IDENT_OV2640 = 259,
V4L2_IDENT_OV9740 = 260,
/* module saa7146: reserved range 300-309 */ /* module saa7146: reserved range 300-309 */
V4L2_IDENT_SAA7146 = 300, V4L2_IDENT_SAA7146 = 300,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment