| /linux/drivers/usb/typec/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.04 	tristate "USB Type-C Support"
 6 	  USB Type-C Specification defines a cable and connector for USB where
 8 	  be Type-A plug on one end of the cable and Type-B plug on the other.
 9 	  Determination of the host-to-device relationship happens through a
 10 	  specific Configuration Channel (CC) which goes through the USB Type-C
 12 	  Accessory Modes - Analog Audio and Debug - and if USB Power Delivery
 14 	  something else then USB communication.
 16 	  USB Power Delivery Specification defines a protocol that can be used
 18 	  partners. USB Power Delivery allows higher voltages then the normal
 [all …]
 
 | 
| /linux/drivers/usb/typec/tcpm/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.04 	tristate "USB Type-C Port Controller Manager"
 5 	depends on USB
 9 	  The Type-C Port Controller Manager provides a USB PD and USB Type-C
 10 	  state machine for use with Type-C Port Controllers.
 15 	tristate "Type-C Port Controller Interface driver"
 19 	  Type-C Port Controller driver for TCPCI-compliant controller.
 24 	tristate "Richtek RT1711H Type-C chip driver"
 26 	  Richtek RT1711H Type-C chip driver that works with
 27 	  Type-C Port Controller Manager to provide USB PD and USB
 [all …]
 
 | 
| /linux/Documentation/driver-api/usb/ | 
| H A D | writing_usb_driver.rst | 1 .. _writing-usb-driver:4 Writing USB Device Drivers
 7 :Author: Greg Kroah-Hartman
 12 The Linux USB subsystem has grown from supporting only two different
 15 almost all USB class devices (standard types of devices like keyboards,
 16 mice, modems, printers and speakers) and an ever-growing number of
 17 vendor-specific devices (such as USB to serial converters, digital
 19 different USB devices currently supported, see Resources.
 21 The remaining kinds of USB devices that do not have support on Linux are
 22 almost all vendor-specific devices. Each vendor decides to implement a
 [all …]
 
 | 
| H A D | typec.rst | 3 USB Type-C connector class7 ------------
 9 The typec class is meant for describing the USB Type-C ports in a system to the
 14 The platforms are expected to register every USB Type-C port they have with the
 15 class. In a normal case the registration will be done by a USB Type-C or PD PHY
 17 USB PD controller or even driver for Thunderbolt3 controller. This document
 18 considers the component registering the USB Type-C ports with the class as "port
 26 attributes are described in Documentation/ABI/testing/sysfs-class-typec.
 29 --------------------
 36 "port0-partner". Full path to the device would be
 [all …]
 
 | 
| H A D | gadget.rst | 2 USB Gadget API for Linux11 This document presents a Linux-USB "Gadget" kernel mode API, for use
 12 within peripherals and other USB devices that embed Linux. It provides
 17 -  Supports USB 2.0, for high speed devices which can stream data at
 20 -  Handles devices with dozens of endpoints just as well as ones with
 21    just two fixed-function ones. Gadget drivers can be written so
 24 -  Flexible enough to expose more complex USB device capabilities such
 28 -  USB "On-The-Go" (OTG) support, in conjunction with updates to the
 29    Linux-USB host side.
 31 -  Sharing data structures and API models with the Linux-USB host side
 [all …]
 
 | 
| H A D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers6 ------------
 9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications.
 13 USB Type-C bus allows binding a driver to the discovered partner alternate
 16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate
 36 ------
 43 space (See Documentation/ABI/testing/sysfs-class-typec). Port drivers should not
 46 ``->vdm`` is the most important callback in the operation callbacks vector. It
 49 the SVID specific commands to each other using :c:func:`typec_altmode_vdm()`.
 53 needs to notify the bus using :c:func:`typec_altmode_notify()`. The driver
 [all …]
 
 | 
| H A D | power-management.rst | 1 .. _usb-power-management:3 Power Management for USB
 7 :Date: Last-updated: February 2014
 11 	---------
 14 	* When is a USB device idle?
 17 	* Changing the default idle-delay time
 25 	* USB Port Power Control
 31 -------------------------
 35 component is ``suspended`` it is in a nonfunctional low-power state; it
 37 ``resumed`` (returned to a functional full-power state) when the kernel
 [all …]
 
 | 
| /linux/Documentation/ABI/testing/ | 
| H A D | sysfs-bus-usb | 1 What:		/sys/bus/usb/devices/<INTERFACE>/authorized9 		by writing INTERFACE to /sys/bus/usb/drivers_probe
 10 		This allows to avoid side-effects with drivers
 15 What:		/sys/bus/usb/devices/usbX/interface_authorized_default
 22 What:		/sys/bus/usb/device/.../authorized
 28 		drivers, non-authorized one are not.  By default, wired
 29 		USB devices are authorized.
 31 What:		/sys/bus/usb/drivers/.../new_id
 33 Contact:	linux-usb@vger.kernel.org
 36 		dynamically add a new device ID to a USB device driver.
 [all …]
 
 | 
| H A D | sysfs-driver-typec-displayport | 6 		Valid values are USB, source and sink. Source means DisplayPort14 			USB [source] sink
 18 		Note. USB configuration does not equal to Exit Mode. It is
 20 		USB Type-C Standard. Functionally it equals to the situation
 22 		Documentation/ABI/testing/sysfs-bus-typec, and use file
 29 		VESA DisplayPort Alt Mode on USB Type-C Standard defines six
 30 		different pin assignments for USB Type-C connector that are
 31 		labeled A, B, C, D, E, and F. The supported pin assignments are
 37 			C [D]
 44 		Note. As of VESA DisplayPort Alt Mode on USB Type-C Standard
 [all …]
 
 | 
| H A D | sysfs-class-usb_role | 5 		Place in sysfs for USB Role Switches. USB Role Switch is a6 		device that can select the data role (host or device) for USB
 14 		requesting role swapping with non-USB Type-C ports. With USB
 15 		Type-C ports, the ABI defined for USB Type-C connector class
 19 		- none
 20 		- host
 21 		- device
 27 		Optional symlink to the USB Type-C connector.
 
 | 
| /linux/Documentation/hid/ | 
| H A D | hiddev.rst | 8 In addition to the normal input type HID devices, USB also uses the14 To support these disparate requirements, the Linux USB system provides
 18 normalised event interface - see Documentation/input/input.rst
 24  usb.c ---> hid-core.c  ----> hid-input.c ----> [keyboard/mouse/joystick/event]
 27                           --> hiddev.c ----> POWER / MONITOR CONTROL
 29 In addition, other subsystems (apart from USB) can potentially feed
 36 The hiddev interface is a char interface using the normal USB major,
 40 	mknod /dev/usb/hiddev0 c 180 96
 41 	mknod /dev/usb/hiddev1 c 180 97
 42 	mknod /dev/usb/hiddev2 c 180 98
 [all …]
 
 | 
| /linux/Documentation/admin-guide/media/ | 
| H A D | usb-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.03 USB drivers
 6 The USB boards are identified by an identification called USB ID.
 8 The ``lsusb`` command allows identifying the USB IDs::
 18 via USB Video Class. Those cameras are automatically supported by the
 19 ``uvc-driver``.
 21 Older cameras and TV USB devices uses USB Vendor Classes: each vendor
 23 card lists for such vendor-class devices.
 25 While this is not as common as on PCI, sometimes the same USB ID is used
 30 The current supported USB cards (not including staging drivers) are
 [all …]
 
 | 
| /linux/Documentation/usb/ | 
| H A D | acm.rst | 5 Copyright (c) 1999 Vojtech Pavlik <vojtech@suse.cz>23 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 25 Should you need to contact me, the author, you can do so either by e-mail -
 34 The drivers/usb/class/cdc-acm.c drivers works with USB modems and USB ISDN terminal
 36 Abstract Control Model (USB CDC ACM) specification.
 40 	- 3Com OfficeConnect 56k
 41 	- 3Com Voice FaxModem Pro
 42 	- 3Com Sportster
 43 	- MultiTech MultiModem 56k
 44 	- Zoom 2986L FaxModem
 [all …]
 
 | 
| H A D | usb-serial.rst | 2 USB serial8   The USB serial driver currently supports a number of different USB to
 25 	mknod /dev/ttyUSB0 c 188 0
 26 	mknod /dev/ttyUSB1 c 188 1
 27 	mknod /dev/ttyUSB2 c 188 2
 28 	mknod /dev/ttyUSB3 c 188 3
 32 	mknod /dev/ttyUSB254 c 188 254
 33 	mknod /dev/ttyUSB255 c 188 255
 45 --------------------------------------
 57 HandSpring Visor, Palm USB, and Clié USB driver
 [all …]
 
 | 
| /linux/drivers/usb/core/ | 
| H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.03  * drivers/usb/core/file.c
 5  * (C) Copyright Linus Torvalds 1999
 6  * (C) Copyright Johannes Erdfelt 1999-2001
 7  * (C) Copyright Andreas Gal 1999
 8  * (C) Copyright Gregory P. Smith 1999
 9  * (C) Copyright Deti Fliegl 1999 (new USB architecture)
 10  * (C) Copyright Randy Dunlap 2000
 11  * (C) Copyright David Brownell 2000-2001 (kernel hotplug, usb_device_id,
 13  * (C) Copyright Yggdrasil Computing, Inc. 2000
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/usb/ | 
| H A D | richtek,rt1719.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Richtek RT1719 sink-only Type-C PD controller
 10   - ChiYuan Huang <cy_huang@richtek.com>
 13   The RT1719 is a sink-only USB Type-C controller that complies with the latest
 14   USB Type-C and PD standards. It does the USB Type-C detection including attach
 15   and orientation. It integrates the physical layer of the USB BMC power
 17   support for alternative interfaces of the Type-C specification.
 [all …]
 
 | 
| H A D | realtek,rtd-type-c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)4 ---
 5 $id: http://devicetree.org/schemas/usb/realtek,rtd-type-c.yaml#
 6 $schema: http://devicetree.org/meta-schemas/core.yaml#
 8 title: Realtek DHC RTD SoCs USB Type-C Connector detection
 11   - Stanley Chang <stanley_chang@realtek.com>
 14   Realtek digital home center (DHC) RTD series SoCs include a type c module.
 15   This module is able to detect the state of type c connector.
 20       - realtek,rtd1295-type-c
 21       - realtek,rtd1312c-type-c
 [all …]
 
 | 
| H A D | willsemi,wusb3801.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)3 ---
 4 $id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: WUSB3801 Type-C port controller
 10   The Will Semiconductor WUSB3801 is a USB Type-C port controller which
 12   compatible with the USB Type-C Cable and Connector Specification v1.2.
 15   - Samuel Holland <samuel@sholland.org>
 20       - willsemi,wusb3801
 30     $ref: ../connector/usb-connector.yaml#
 [all …]
 
 | 
| H A D | qcom,wcd939x-usbss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause3 ---
 4 $id: http://devicetree.org/schemas/usb/qcom,wcd939x-usbss.yaml#
 5 $schema: http://devicetree.org/meta-schemas/core.yaml#
 7 title: Qualcomm WCD9380/WCD9385 USB SubSystem Altmode/Analog Audio Switch
 10   - Neil Armstrong <neil.armstrong@linaro.org>
 13   Qualcomm WCD9390/WCD9395 is a standalone Hi-Fi audio codec IC with a
 14   functionally separate USB SubSystem for Altmode/Analog Audio Switch
 17   USB-C Mux subsystems are external to the IC, thus requiring DT port-endpoint
 18   graph description to handle USB-C altmode & orientation switching for Audio
 [all …]
 
 | 
| /linux/drivers/usb/serial/ | 
| H A D | usb-serial-simple.c | 1 // SPDX-License-Identifier: GPL-2.03  * USB Serial "Simple" driver
 5  * Copyright (C) 2001-2006,2008,2013 Greg Kroah-Hartman <greg@kroah.com>
 6  * Copyright (C) 2005 Arthur Huillet (ahuillet@users.sf.net)
 7  * Copyright (C) 2005 Thomas Hergenhahn <thomas.hergenhahn@suse.de>
 8  * Copyright (C) 2009 Outpost Embedded, LLC
 9  * Copyright (C) 2010 Zilogic Systems <code@zilogic.com>
 10  * Copyright (C) 2013 Wei Shuai <cpuwolf@gmail.com>
 11  * Copyright (C) 2013 Linux Foundation
 17 #include <linux/usb.h>
 [all …]
 
 | 
| /linux/drivers/usb/gadget/legacy/ | 
| H A D | gmidi.c | 1 // SPDX-License-Identifier: GPL-2.03  * gmidi.c -- USB MIDI Gadget Driver
 5  * Copyright (C) 2006 Thumtronics Pty Ltd.
 11  * Gadget Zero driver, Copyright (C) 2003-2004 David Brownell.
 12  * USB Audio driver, Copyright (C) 2002 by Takashi Iwai.
 13  * USB MIDI driver, Copyright (C) 2002-2005 Clemens Ladisch.
 15  * Refer to the USB Device Class Definition for MIDI Devices:
 16  * http://www.usb.org/developers/devclass_docs/midi10.pdf
 26 #include <linux/usb/composite.h>
 27 #include <linux/usb/gadget.h>
 [all …]
 
 | 
| /linux/include/linux/usb/ | 
| H A D | ch9.h | 1 /* SPDX-License-Identifier: GPL-2.0 */3  * This file holds USB constants and structures that are needed for
 4  * USB device APIs.  These are used by the USB device model, which is
 5  * defined in chapter 9 of the USB 2.0 specification and in the
 6  * Wireless USB 1.0 spec (now defunct).  Linux has several APIs in C that
 9  * - the host side Linux-USB kernel driver API;
 10  * - the "usbfs" user space API; and
 11  * - the Linux "gadget" device/peripheral side driver API.
 13  * USB 2.0 adds an additional "On The Go" (OTG) mode, which lets systems
 14  * act either as a USB host or as a USB device.  That means the host and
 [all …]
 
 | 
| /linux/drivers/media/usb/dvb-usb-v2/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only3 	tristate "Support for various USB DVB devices v2"
 4 	depends on DVB_CORE && USB && I2C && (RC_CORE || RC_CORE=n)
 9 	  Almost every USB device needs a firmware, please look into
 10 	  <file:Documentation/driver-api/media/drivers/dvb-usb.rst>.
 12 	  For a complete list of supported USB devices see the LinuxTV DVB Wiki:
 15 	  Say Y if you own a USB DVB device.
 20 	tristate "Afatech AF9015 DVB-T USB2.0 support"
 33 	  Say Y here to support the Afatech AF9015 based DVB-T USB2.0 receiver
 36 	tristate "Afatech AF9035 DVB-T USB2.0 support"
 [all …]
 
 | 
| /linux/drivers/net/wireless/zydas/zd1211rw/ | 
| H A D | zd_usb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */2 /* ZD1211 USB-WLAN driver for Linux
 4  * Copyright (C) 2005-2007 Ulrich Kunitz <kune@deine-taler.de>
 5  * Copyright (C) 2006-2007 Daniel Drake <dsd@gentoo.org>
 15 #include <linux/usb.h>
 44 	 * used if one combined frame is split over two USB transactions.
 102 /* USB interrupt */
 136 	/* Stores the USB int structure and contains the USB address of the
 167 	return (struct usb_int_regs *)intr->read_regs.buffer;  in get_read_regs()
 185  * struct zd_usb_tx - structure used for transmitting frames
 [all …]
 
 | 
| /linux/drivers/media/usb/gspca/ | 
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only11 	  See <file:Documentation/admin-guide/media/gspca-cardlist.rst> for more info.
 22 	tristate "Benq USB Camera Driver"
 43 	  Say Y here if you want support for USB cameras based on the cpia
 51 	tristate "DTCS033 (Scopium) USB Astro-Camera Driver"
 61 	tristate "Etoms USB Camera Driver"
 70 	tristate "Fujifilm FinePix USB V4L2 driver"
 79 	tristate "Jeilin JPEG USB V4L2 driver"
 88 	tristate "JL2005B/C/D USB V4L2 driver"
 98 	tristate "Kinect sensor device USB Camera Driver"
 [all …]
 
 |