Kconfig (f8dae531ec78ed34f8a845e5f4ff75f0adeb6b13) Kconfig (f6c826a90055dd05905982f7a3f60e0bcaa0434e)
1#
2# USB Gadget support on a system involves
3# (a) a peripheral controller, and
4# (b) the gadget driver using it.
5#
6# NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
7#
8# - Host systems (like PCs) need CONFIG_USB (with "A" jacks).

--- 901 unchanged lines hidden (view full) ---

910 Human Interface Devices (HID).
911
912 For more information, see Documentation/usb/gadget_hid.txt which
913 includes sample code for accessing the device files.
914
915 Say "y" to link the driver statically, or "m" to build a
916 dynamically linked module called "g_hid".
917
1#
2# USB Gadget support on a system involves
3# (a) a peripheral controller, and
4# (b) the gadget driver using it.
5#
6# NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !!
7#
8# - Host systems (like PCs) need CONFIG_USB (with "A" jacks).

--- 901 unchanged lines hidden (view full) ---

910 Human Interface Devices (HID).
911
912 For more information, see Documentation/usb/gadget_hid.txt which
913 includes sample code for accessing the device files.
914
915 Say "y" to link the driver statically, or "m" to build a
916 dynamically linked module called "g_hid".
917
918config USB_G_DBGP
919 tristate "EHCI Debug Device Gadget"
920 help
921 This gadget emulates an EHCI Debug device. This is useful when you want
922 to interact with an EHCI Debug Port.
923
924 Say "y" to link the driver statically, or "m" to build a
925 dynamically linked module called "g_dbgp".
926
927if USB_G_DBGP
928choice
929 prompt "EHCI Debug Device mode"
930 default USB_G_DBGP_SERIAL
931
932config USB_G_DBGP_PRINTK
933 depends on USB_G_DBGP
934 bool "printk"
935 help
936 Directly printk() received data. No interaction.
937
938config USB_G_DBGP_SERIAL
939 depends on USB_G_DBGP
940 bool "serial"
941 help
942 Userland can interact using /dev/ttyGSxxx.
943endchoice
944endif
945
918# put drivers that need isochronous transfer support (for audio
919# or video class gadget drivers), or specific hardware, here.
920config USB_G_WEBCAM
921 tristate "USB Webcam Gadget"
922 depends on VIDEO_DEV
923 help
924 The Webcam Gadget acts as a composite USB Audio and Video Class
925 device. It provides a userspace API to process UVC control requests
926 and stream video data to the host.
927
928 Say "y" to link the driver statically, or "m" to build a
929 dynamically linked module called "g_webcam".
930
931endchoice
932
933endif # USB_GADGET
946# put drivers that need isochronous transfer support (for audio
947# or video class gadget drivers), or specific hardware, here.
948config USB_G_WEBCAM
949 tristate "USB Webcam Gadget"
950 depends on VIDEO_DEV
951 help
952 The Webcam Gadget acts as a composite USB Audio and Video Class
953 device. It provides a userspace API to process UVC control requests
954 and stream video data to the host.
955
956 Say "y" to link the driver statically, or "m" to build a
957 dynamically linked module called "g_webcam".
958
959endchoice
960
961endif # USB_GADGET