[GIT PATCHES FOR 2.6.36] Add control framework

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

 



Hi Mauro,

This is the final version of the control framework for 2.6.36.

Laurent tried to implement the control framework for UVC. While possible, it
is clear that it is a poor fit for the particular requirements of UVC. Basically
it would increase the UVC code size too much for too little gain.

We decided that for now we keep UVC as is and wait for the release of the
upcoming new UVC spec. At that time we have to take another look at the control
framework and see how we can fit it cleanly to UVC. It is definitely possible,
but it is not a trivial job.

Because of this I have taken out the support for uninitialized controls that
the previous version of the control framework had. UVC was the only user of
that, and it was a fair amount of code just for one driver that (for now) is
not going to use it anyway. We can put it back later if needed. It's still in
my ctrlfw-uninit branch if anyone is interested.

Since this framework is essential for the SoC support it is time to get this
merged.

Regards,

	Hans

The following changes since commit c57fd88318988f17731e446fe1d8498f506fdd44:

  V4L/DVB: uvcvideo: Add support for Manta MM-353 Plako (2010-07-05 19:47:16 -0300)

are available in the git repository at:
  ssh://linuxtv.org/git/hverkuil/v4l-dvb.git ctrlfw

Hans Verkuil (15):
      v4l2: Add new control handling framework
      v4l2-ctrls: reorder 'case' statements to match order in header.
      Documentation: add v4l2-controls.txt documenting the new controls API.
      v4l2: hook up the new control framework into the core framework
      saa7115: convert to the new control framework
      msp3400: convert to the new control framework
      saa717x: convert to the new control framework
      cx25840/ivtv: replace ugly priv control with s_config
      cx25840: convert to the new control framework
      cx2341x: convert to the control framework
      wm8775: convert to the new control framework
      cs53l32a: convert to new control framework.
      wm8739: convert to the new control framework
      ivtv: convert gpio subdev to new control framework.
      ivtv: convert to the new control framework

 Documentation/video4linux/v4l2-controls.txt |  648 ++++++++++
 drivers/media/video/Makefile                |    2 +-
 drivers/media/video/cs53l32a.c              |  107 +-
 drivers/media/video/cx2341x.c               |  747 +++++++++--
 drivers/media/video/cx25840/cx25840-audio.c |  144 +--
 drivers/media/video/cx25840/cx25840-core.c  |  201 ++--
 drivers/media/video/cx25840/cx25840-core.h  |   26 +-
 drivers/media/video/ivtv/ivtv-controls.c    |  276 +----
 drivers/media/video/ivtv/ivtv-controls.h    |    6 +-
 drivers/media/video/ivtv/ivtv-driver.c      |   26 +-
 drivers/media/video/ivtv/ivtv-driver.h      |    4 +-
 drivers/media/video/ivtv/ivtv-fileops.c     |   23 +-
 drivers/media/video/ivtv/ivtv-firmware.c    |    6 +-
 drivers/media/video/ivtv/ivtv-gpio.c        |   77 +-
 drivers/media/video/ivtv/ivtv-i2c.c         |    7 +
 drivers/media/video/ivtv/ivtv-ioctl.c       |   31 +-
 drivers/media/video/ivtv/ivtv-streams.c     |   24 +-
 drivers/media/video/msp3400-driver.c        |  248 ++---
 drivers/media/video/msp3400-driver.h        |   18 +-
 drivers/media/video/msp3400-kthreads.c      |   16 +-
 drivers/media/video/saa7115.c               |  183 ++--
 drivers/media/video/saa717x.c               |  323 ++----
 drivers/media/video/v4l2-common.c           |  479 +-------
 drivers/media/video/v4l2-ctrls.c            | 1851 +++++++++++++++++++++++++++
 drivers/media/video/v4l2-dev.c              |    8 +-
 drivers/media/video/v4l2-device.c           |    7 +
 drivers/media/video/v4l2-ioctl.c            |   46 +-
 drivers/media/video/wm8739.c                |  179 +--
 drivers/media/video/wm8775.c                |   79 +-
 include/media/cx2341x.h                     |   97 ++
 include/media/cx25840.h                     |   11 +
 include/media/v4l2-ctrls.h                  |  460 +++++++
 include/media/v4l2-dev.h                    |    4 +
 include/media/v4l2-device.h                 |    4 +
 include/media/v4l2-subdev.h                 |    3 +
 35 files changed, 4460 insertions(+), 1911 deletions(-)
 create mode 100644 Documentation/video4linux/v4l2-controls.txt
 create mode 100644 drivers/media/video/v4l2-ctrls.c
 create mode 100644 include/media/v4l2-ctrls.h

-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG, part of Cisco
--
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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux