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

Commit 818e8054 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: Add snapshot of USB CDEV function driver"

parents 9a210fdd fed96913
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -220,6 +220,9 @@ config USB_F_TCM
config USB_F_DIAG
	tristate

config USB_F_CDEV
	tristate

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

config USB_CONFIGFS
@@ -496,6 +499,19 @@ config USB_CONFIGFS_F_DIAG
	  Diagnostics application running on Host receives  stream of log data
	  over USB. Applications can also send commands to diagnostics client
	  running on device.

config USB_CONFIGFS_F_CDEV
	bool "USB Serial Character function"
	select USB_F_CDEV
	depends on USB_CONFIGFS
	help
	  The serial character function is a generic function driver that
	  exposes a pair of bulk IN and OUT endpoints which are backed by
	  a character device and mapped to its read/write routines. The
	  function also supports a single interrupt IN endpoint for
	  asynchronous notification to the host. This driver is typically
	  used to support DUN/NMEA functions.

choice
	tristate "USB Gadget precomposed configurations"
	default USB_ETH
+2 −0
Original line number Diff line number Diff line
@@ -52,3 +52,5 @@ usb_f_tcm-y := f_tcm.o
obj-$(CONFIG_USB_F_TCM)		+= usb_f_tcm.o
usb_f_diag-y			:= f_diag.o
obj-$(CONFIG_USB_F_DIAG)	+= usb_f_diag.o
usb_f_cdev-y			:= f_cdev.o
obj-$(CONFIG_USB_F_CDEV)	+= usb_f_cdev.o
+1839 −0

File added.

Preview size limit exceeded, changes collapsed.