--- zzzz-none-000/linux-5.4.213/drivers/usb/gadget/Kconfig 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/drivers/usb/gadget/Kconfig 2024-05-29 11:20:02.000000000 +0000 @@ -210,6 +210,9 @@ config USB_F_HID tristate +config USB_F_DIAG + tristate + config USB_F_PRINTER tristate @@ -471,6 +474,14 @@ For more information, see Documentation/usb/gadget_printer.rst which includes sample code for accessing the device file. +config USB_CONFIGFS_F_DIAG + bool "USB Diag function" + select USB_F_DIAG + depends on USB_CONFIGFS + help + Diag function driver enables support for Qualcomm diagnostics + port over USB. + config USB_CONFIGFS_F_TCM bool "USB Gadget Target Fabric" depends on TARGET_CORE