[RFC/PATCH 0/6] V4L2 subdev userspace API

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

 



Hi everybody,

Here are 6 patches that add a userspace API to the V4L2 subdevices. The API has
been developed to support the media controller and the OMAP3 ISP driver.

A few people have shown interest in the subdev userspace API already. As the
patches are not dependent on the media controller itself I'm submitting them
independently for review.

The API covers controls, events and generic ioctls. The controls and events
support reuse V4L2 ioctls, as explained in
Documentation/video4linux/v4l2-framework.txt. The subdev (and later media
controller) userspace API should probably be converted to DocBook format
eventually. The subdev API can be included in the V4L2 API document, but the
media controller should be kept separate. Comments on this will be appreciated.

While waiting for review I'll prepare the media controller core patches and
send them to the list.

Laurent Pinchart (5):
  v4l: subdev: Don't require core operations
  v4l: subdev: Add device node support
  v4l: subdev: Uninline the v4l2_subdev_init function
  v4l: subdev: Control ioctls support
  v4l: subdev: Generic ioctl support

Sakari Ailus (1):
  v4l: subdev: Events support

 Documentation/video4linux/v4l2-framework.txt |   47 +++++++
 drivers/media/video/Makefile                 |    2 +-
 drivers/media/video/v4l2-common.c            |    3 +
 drivers/media/video/v4l2-dev.c               |    5 +
 drivers/media/video/v4l2-device.c            |   27 ++++-
 drivers/media/video/v4l2-subdev.c            |  172 ++++++++++++++++++++++++++
 include/media/v4l2-dev.h                     |    3 +-
 include/media/v4l2-subdev.h                  |   33 +++--
 8 files changed, 276 insertions(+), 16 deletions(-)
 create mode 100644 drivers/media/video/v4l2-subdev.c

-- 
Regards,

Laurent Pinchart

--
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