public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] usb: gadget: uvc: parse configfs entries and implement v4l2 enum api calls
@ 2022-09-09 22:13 Michael Grzeschik
  2022-09-09 22:13 ` [PATCH v2 1/4] media: v4l: move helper functions for fractions from uvc to v4l2-common Michael Grzeschik
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: Michael Grzeschik @ 2022-09-09 22:13 UTC (permalink / raw)
  To: linux-usb
  Cc: linux-media, balbi, laurent.pinchart, paul.elder, kernel, nicolas,
	kieran.bingham

This series improves the uvc video gadget by parsing the configfs
entries. With the configfs data, the userspace now is able to use simple
v4l2 api calls like enum and try_format to check for valid configurations
initially set by configfs.

Michael Grzeschik (4):
  media: v4l: move helper functions for fractions from uvc to
    v4l2-common
  media: uvcvideo: move uvc_format_desc to common header
  usb: gadget: uvc: add v4l2 enumeration api calls
  usb: gadget: uvc: add v4l2 try_format api call

 drivers/media/usb/uvc/uvc_ctrl.c       |   1 +
 drivers/media/usb/uvc/uvc_driver.c     | 290 +-------------------
 drivers/media/usb/uvc/uvc_v4l2.c       |  14 +-
 drivers/media/usb/uvc/uvcvideo.h       | 147 ----------
 drivers/media/v4l2-core/v4l2-common.c  |  86 ++++++
 drivers/usb/gadget/function/f_uvc.c    |  30 +++
 drivers/usb/gadget/function/uvc.h      |   2 +
 drivers/usb/gadget/function/uvc_v4l2.c | 286 ++++++++++++++++++++
 include/media/v4l2-common.h            |   4 +
 include/media/v4l2-uvc.h               | 359 +++++++++++++++++++++++++
 10 files changed, 776 insertions(+), 443 deletions(-)
 create mode 100644 include/media/v4l2-uvc.h

-- 
2.30.2


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

end of thread, other threads:[~2025-05-13 13:35 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-09 22:13 [PATCH v2 0/4] usb: gadget: uvc: parse configfs entries and implement v4l2 enum api calls Michael Grzeschik
2022-09-09 22:13 ` [PATCH v2 1/4] media: v4l: move helper functions for fractions from uvc to v4l2-common Michael Grzeschik
2022-09-09 22:13 ` [PATCH v2 2/4] media: uvcvideo: move uvc_format_desc to common header Michael Grzeschik
2022-12-03 21:19   ` Laurent Pinchart
2022-09-09 22:13 ` [PATCH v2 3/4] usb: gadget: uvc: add v4l2 enumeration api calls Michael Grzeschik
2022-09-09 22:13 ` [PATCH v2 4/4] usb: gadget: uvc: add v4l2 try_format api call Michael Grzeschik
2022-12-03 21:26 ` [PATCH v2 0/4] usb: gadget: uvc: parse configfs entries and implement v4l2 enum api calls Laurent Pinchart
2022-12-03 21:46   ` Michael Grzeschik
2022-12-04  8:29   ` Greg KH
2022-12-05 21:17     ` Laurent Pinchart
2022-12-06 17:07       ` Michael Grzeschik
2022-12-06 18:20         ` Ricardo Ribalda
2022-12-06 21:30         ` Laurent Pinchart
2025-05-12 10:19     ` Krzysztof Opasiak
2025-05-12 10:38       ` Greg KH
2025-05-12 10:43         ` Krzysztof Opasiak
2025-05-12 21:03           ` Krzysztof Opasiak
2025-05-13  5:04             ` Greg KH
2025-05-13 10:04               ` Nicolas Dufresne
2025-05-13 10:31                 ` Krzysztof Opasiak
2025-05-13 12:46                   ` Nicolas Dufresne
2025-05-13 12:55                   ` Michael Grzeschik
2025-05-13 13:07                     ` Krzysztof Opasiak
2025-05-13 13:35                       ` Michael Grzeschik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox