android_kernel_motorola_sm6375/drivers/usb
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Akash Kumar 0308b8b14b usb: gadget: uvc: Add grey and I420 YUV UVC format support
uvc_formats[] needs to be updated with bitsperpixel,fcc tuple so that
these formats can be passed by user space to S_FMT ioctl.

user space must use streaming/uncompressed/u/guidFormat to specify
the guid.

user space must use streaming/uncompressed/u/bBitsPerPixel to set
the bitsperpixel. In this case they are 8 and 12 respectively
for grey and yuv420.

GUID for these formats taken from drivers/media/usb/uvc/uvc_driver.c

V4L2_PIX_FMT_GREY:

	{ 'Y',  '8',  ' ',  ' ', 0x00, 0x00, 0x10, 0x00,
	 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}

	(bitsperpixel) : 8

V4L2_PIX_FMT_YUV420:

	{ 'I',  '4',  '2',  '0', 0x00, 0x00, 0x10, 0x00, \
	 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71}

	(bitsperpixel) : 12

Change-Id: I6c164e4d77d4af03223f16a088ee743fbf0878b9
Signed-off-by: Akash Kumar <akakum@qti.qualcomm.com>
2025-10-14 02:04:30 -07:00
..
atm usb: atm: cxacru: fix endpoint checking in cxacru_bind() 2024-07-05 09:08:30 +02:00
c67x00
cdns3 usb: cdns3: fix memory double free when handle zero packet 2024-03-01 13:13:36 +01:00
chipidea usb: chipidea: udc: handle USB Error Interrupt if IOC not set 2024-12-14 19:44:54 +01:00
class USB: class: CDC-ACM: fix race between get_serial and set_serial 2024-11-08 16:20:33 +01:00
common
core Merge android11-5.4.289(4c8fb32) into msm-5.4 2025-03-26 11:56:22 +05:30
dwc2 usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled 2025-01-09 13:23:26 +01:00
dwc3 Merge "Merge android11-5.4.289(4c8fb32) into msm-5.4" 2025-03-26 22:23:45 -07:00
early
gadget usb: gadget: uvc: Add grey and I420 YUV UVC format support 2025-10-14 02:04:30 -07:00
host Merge "Merge android11-5.4.289(4c8fb32) into msm-5.4" 2025-03-26 22:23:45 -07:00
image
isp1760
misc Merge android11-5.4.289(4c8fb32) into msm-5.4 2025-03-26 11:56:22 +05:30
mon
mtu3
musb This is the 5.4.286 stable release 2024-11-17 20:07:37 +00:00
pd
phy Merge android11-5.4.289(4c8fb32) into msm-5.4 2025-03-26 11:56:22 +05:30
renesas_usbhs
roles usb: roles: don't get/set_role() when usb_role_switch is unregistered 2024-03-01 13:13:36 +01:00
serial USB: serial: option: add Telit FE910C04 rmnet compositions 2025-01-09 13:23:29 +01:00
storage Merge android11-5.4.289(4c8fb32) into msm-5.4 2025-03-26 11:56:22 +05:30
typec Merge android11-5.4.289(4c8fb32) into msm-5.4 2025-03-26 11:56:22 +05:30
usbip usbip: Don't submit special requests twice 2024-09-12 11:03:50 +02:00
Kconfig
Makefile
usb-skeleton.c