Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 20c7884f authored by Mayank Rana's avatar Mayank Rana
Browse files

usb: gadget: Add snapshot of USB QDSS Function driver



This change adds USB QDSS function driver which allows communication
between USB BAM and QDSS BAM for QDSS debug functionality over USB.

This snapshot is taken as of msm-4.4 commit 6f4dec2b0c31 ("qcom:
qpnp-smb2: Reset switcher_power_ok irq count when USBIN_UV fires").

This change also fixes different coding style related warnings.

Change-Id: I4439e87955bd4907086db49e1c80295169fbeb46
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent e713c9df
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -233,6 +233,9 @@ config USB_F_CCID
config USB_F_GSI
	tristate

config USB_F_QDSS
	tristate

# this first set of drivers all depend on bulk-capable hardware.

config USB_CONFIGFS
@@ -549,6 +552,13 @@ config USB_CONFIGFS_F_GSI
	help
	  Generic function driver to support h/w acceleration to IPA over GSI.

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.

choice
	tristate "USB Gadget Drivers"
	default USB_ETH
+2 −0
Original line number Diff line number Diff line
@@ -62,3 +62,5 @@ usb_f_ccid-y := f_ccid.o
obj-$(CONFIG_USB_F_CCID)   	+= usb_f_ccid.o
usb_f_gsi-y			:= f_gsi.o rndis.o
obj-$(CONFIG_USB_F_GSI)         += usb_f_gsi.o
usb_f_qdss-y			:= f_qdss.o u_qdss.o
obj-$(CONFIG_USB_F_QDSS)        += usb_f_qdss.o
Loading