linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: gadget: uvc: use configfs entries for negotiation and v4l2 VIDIOCS
@ 2021-05-30 22:22 Michael Grzeschik
  2021-05-30 22:22 ` [PATCH 1/3] usb: gadget: uvc: move structs to common header Michael Grzeschik
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Michael Grzeschik @ 2021-05-30 22:22 UTC (permalink / raw)
  Cc: linux-usb, laurent.pinchart, caleb.connolly, paul.elder, balbi, kernel

This series improves the uvc video gadget by parsing the configfs
entries. With the configfs data, the driver now is able to negotiate the
format with the usb host in the kernel and also exports the supported
frames/formats/intervals via the v4l2 VIDIOC interface.

Michael Grzeschik (3):
  usb: gadget: uvc: move structs to common header
  usb: gadget: uvc: add VIDIOC function
  usb: gadget: uvc: add format/frame handling code

 drivers/usb/gadget/function/f_uvc.c        | 324 +++++++++++++++++++-
 drivers/usb/gadget/function/uvc.h          |  32 +-
 drivers/usb/gadget/function/uvc_configfs.c | 116 +------
 drivers/usb/gadget/function/uvc_configfs.h | 121 ++++++++
 drivers/usb/gadget/function/uvc_queue.c    |   4 +-
 drivers/usb/gadget/function/uvc_v4l2.c     | 335 ++++++++++++++++++---
 drivers/usb/gadget/function/uvc_v4l2.h     |   1 +
 drivers/usb/gadget/function/uvc_video.c    |  23 +-
 8 files changed, 781 insertions(+), 175 deletions(-)

-- 
2.29.2


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-06-25  9:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-30 22:22 [PATCH 0/3] usb: gadget: uvc: use configfs entries for negotiation and v4l2 VIDIOCS Michael Grzeschik
2021-05-30 22:22 ` [PATCH 1/3] usb: gadget: uvc: move structs to common header Michael Grzeschik
2021-06-11  6:41   ` paul.elder
2021-06-15  1:02   ` Laurent Pinchart
2021-05-30 22:22 ` [PATCH 2/3] usb: gadget: uvc: add VIDIOC function Michael Grzeschik
2021-06-09  8:16   ` Greg KH
2021-06-15  1:18     ` Laurent Pinchart
2021-06-11  6:40   ` paul.elder
2021-06-15  1:17     ` Laurent Pinchart
2021-06-25  9:38       ` Michael Grzeschik
2021-05-30 22:22 ` [PATCH 3/3] usb: gadget: uvc: add format/frame handling code Michael Grzeschik
2021-06-14 10:07   ` paul.elder
2021-06-09  9:39 ` [PATCH 0/3] usb: gadget: uvc: use configfs entries for negotiation and v4l2 VIDIOCS paul.elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).