[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] OV9650/52 image sensor subdev driver



This patch series adds a v4l2 subdev driver for Omnivision OV9650/52
image sensors, a helper function at the v4l2 control framework
allowing to modify range of a control and a header file including
definitions of standard image resolutions.

I've tested the ctrl helper function with the OV9650 driver and
a modified v4l2-ctl.

Changes at the sensor driver since the first version include:
 - removed the exposure reference area and gain ceiling private
   controls and control auto cluster used for gain/auto_gain,
   auto/manual exposure controls;
 - v4l2_ctrl_handler_setup() used instead of a function setting
   initial control's values in H/W explicitly;
 - added event subscribe/unsubscribe ioctl handlers so v4l2 events
   are supported at the subdev node;
 - v4l2_ctrl_modify_range() function is now used to modify the
   exposure time control's range when output format/frame rate
   is modified, rather than updating the range manually in the
   driver, without any notification to user space;
 - added description of the platform data structure;
 - removed the contrast control stubs.

Sylwester Nawrocki (3):
  [media] Add header file defining standard image sizes
  v4l2-ctrl: Add helper function for control range update
  V4L: Add driver for OV9650/52 image sensors

 Documentation/DocBook/media/v4l/vidioc-dqevent.xml |    6 +
 drivers/media/i2c/Kconfig                          |    7 +
 drivers/media/i2c/Makefile                         |    1 +
 drivers/media/i2c/ov9650.c                         | 1582 ++++++++++++++++++++
 drivers/media/v4l2-core/v4l2-ctrls.c               |  142 ++-
 include/media/image-sizes.h                        |   34 +
 include/media/ov9650.h                             |   27 +
 include/media/v4l2-ctrls.h                         |   20 +
 include/uapi/linux/videodev2.h                     |    1 +
 9 files changed, 1781 insertions(+), 39 deletions(-)
 create mode 100644 drivers/media/i2c/ov9650.c
 create mode 100644 include/media/image-sizes.h
 create mode 100644 include/media/ov9650.h

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Input]     [Video for Linux]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Yosemite Backpacking]

Add to Google Powered by Linux