--- zzzz-none-000/linux-4.4.271/drivers/usb/gadget/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/drivers/usb/gadget/Kconfig 2023-12-20 10:37:30.000000000 +0000 @@ -127,6 +127,14 @@ a module parameter as well. If unsure, say 2. +config U_SERIAL_CONSOLE + bool "Serial gadget console support" + depends on USB_G_SERIAL + help + It supports the serial gadget can be used as a console. + Make sure your USB port is in device mode. + + source "drivers/usb/gadget/udc/Kconfig" # @@ -199,6 +207,12 @@ config USB_F_PRINTER tristate +config USB_F_DIAG + tristate + +config USB_F_QDSS + tristate + choice tristate "USB Gadget Drivers" default USB_ETH @@ -453,6 +467,21 @@ For more information, see Documentation/usb/gadget_printer.txt 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_QDSS + bool "USB QDSS function" + select USB_F_QDSS + depends on USB_CONFIGFS + help + USB QDSS function driver to get hwtracing related data over USB. + source "drivers/usb/gadget/legacy/Kconfig" endchoice