/linux/drivers/usb/serial/ |
H A D | ftdi_sio_ids.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * vendor/product IDs (VID/PID) of devices using FTDI USB serial converters. 6 * Philipp Gühring - pg@futureware.at - added the Device ID of the USB relais 17 #define FTDI_VID 0x0403 /* Vendor Id */ 25 #define FTDI_4232H_PID 0x6011 /* Quad channel hi-speed device */ 26 #define FTDI_232H_PID 0x6014 /* Single channel hi-speed device */ 27 #define FTDI_FTX_PID 0x6015 /* FT-X series (FT201X, FT230X, FT231X, etc) */ 28 #define FTDI_FT2233HP_PID 0x6040 /* Dual channel hi-speed device with PD */ 29 #define FTDI_FT4233HP_PID 0x6041 /* Quad channel hi-speed device with PD */ 30 #define FTDI_FT2232HP_PID 0x6042 /* Dual channel hi-speed device with PD */ [all …]
|
H A D | belkin_sa.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Definitions for Belkin USB Serial Adapter Driver 8 * This program is largely derived from work by the linux-usb group 9 * and associated source files. Please see the usb/serial files for 12 * See Documentation/usb/usb-serial.rst for more information on using this 15 * 12-Mar-2001 gkh 16 * Added GoHubs GO-COM232 device id. 18 * 06-Nov-2000 gkh 21 * 12-Oct-2000 William Greathouse 22 * First cut at supporting Belkin USB Serial Adapter F5U103 [all …]
|
H A D | aircable.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * AIRcable USB Bluetooth Dongle Driver. 16 * The device simply need some stuff to understand data coming from the usb 29 * I have taken some info from a Greg Kroah-Hartman article: 43 #include <linux/usb.h> 44 #include <linux/usb/serial.h> 46 /* Vendor and Product ID */ 63 #define DRIVER_DESC "AIRcable USB Driver" 65 /* ID table that will be registered with USB core */ 70 MODULE_DEVICE_TABLE(usb, id_table); [all …]
|
H A D | visor.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB HandSpring Visor, Palm m50x, and Sony Clie driver 4 * (supports all of the Palm OS USB devices) 6 * Copyright (C) 1999 - 2004 7 * Greg Kroah-Hartman (greg@kroah.com) 9 * See Documentation/usb/usb-serial.rst for more information on using this 24 #include <linux/usb.h> 25 #include <linux/usb/serial.h> 26 #include <linux/usb/cdc.h> 32 #define DRIVER_AUTHOR "Greg Kroah-Hartman <greg@kroah.com>" [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb | 1 What: /sys/bus/usb/devices/<INTERFACE>/authorized 9 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 35 Writing a device ID to this file will attempt to [all …]
|
/linux/drivers/usb/typec/ |
H A D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector Class 14 #include <linux/usb/pd_vdo.h> 15 #include <linux/usb/typec_mux.h> 16 #include <linux/usb/typec_retimer.h> 17 #include <linux/usb.h> 29 /* ------------------------------------------------------------------------- */ 38 /* Product types defined in USB PD Specification R3.0 V2.0 */ 66 return partner->identity; in get_pd_identity() 70 return cable->identity; in get_pd_identity() [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb251xb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b [all …]
|
H A D | usb-device.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-device.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic USB Device 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 Usually, we only use device tree for hard wired USB device. 15 http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps 17 Four types of device-tree nodes are defined: "host-controller nodes" 18 representing USB host controllers, "device nodes" representing USB devices, [all …]
|
H A D | amlogic,meson-g12a-usb-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/amlogic,meson-g12a-usb-ctrl.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Amlogic Meson G12A DWC3 USB SoC Controller Glue 11 - Neil Armstrong <neil.armstrong@linaro.org> 14 The Amlogic G12A embeds a DWC3 USB IP Core configured for USB2 and USB3 15 in host-only mode, and a DWC2 IP Core configured for USB2 peripheral mode 20 One of the USB2 PHYs can be re-routed in peripheral mode to a DWC2 USB IP. 23 connected to the Glue to serve as OTG ID change detection. [all …]
|
H A D | usb-hub.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-hub.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic USB Hub 10 - Pin-yen Lin <treapking@chromium.org> 13 - $ref: usb-device.yaml# 16 '#address-cells': 19 peer-hub: 27 The downstream facing USB ports [all …]
|
H A D | qcom,wcd939x-usbss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 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 …]
|
H A D | mediatek,mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 - $ref: usb-drd.yaml 17 The DRD controller has a glue layer IPPC (IP Port Control), and its host is 23 - enum: 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 [all …]
|
/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-usbc-cros-ec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/extcon/extcon-usbc-cros-ec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ChromeOS EC USB Type-C cable and accessories detection 10 - Benson Leung <bleung@chromium.org> 13 On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is 15 or USB devices when said accessories are attached or detached. 16 The node for this device must be under a cros-ec node like google,cros-ec-spi 17 or google,cros-ec-i2c. [all …]
|
/linux/Documentation/usb/ |
H A D | usb-serial.rst | 2 USB serial 8 The USB serial driver currently supports a number of different USB to 44 ConnectTech WhiteHEAT 4 port converter 45 -------------------------------------- 57 HandSpring Visor, Palm USB, and Clié USB driver 58 ----------------------------------------------- 60 This driver works with all HandSpring USB, Palm USB, and Sony Clié USB 64 up to the host as a valid USB device. When this happens, the device is 65 properly enumerated, assigned a port, and then communication _should_ be 72 This goes against the current documentation for pilot-xfer and other [all …]
|
/linux/drivers/usb/misc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # USB Miscellaneous driver configuration 5 comment "USB Miscellaneous drivers" 12 This driver is for USB parallel port adapters that use the Lucent 13 Technologies USS-720 chip. These cables are plugged into your USB 14 port and provide USB compatibility to peripherals designed with 15 parallel port interfaces. 18 mode, it looks to the computer like a standard USB printer. Only 19 printers may be connected to the USS-720 in this mode. The generic 20 USB printer driver ("USB Printer support", above) may be used in [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
H A D | rockchip,inno-usb2phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/rockchip,inno-usb2phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk3036-usb2phy 17 - rockchip,rk3128-usb2phy 18 - rockchip,rk3228-usb2phy 19 - rockchip,rk3308-usb2phy [all …]
|
H A D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
/linux/Documentation/driver-api/usb/ |
H A D | typec.rst | 3 USB Type-C connector class 7 ------------ 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 22 the roles and alternate modes of ports, partners and cable plugs when the port 25 The class provides an API for the port drivers described in this document. The 26 attributes are described in Documentation/ABI/testing/sysfs-class-typec. [all …]
|
/linux/drivers/usb/gadget/function/ |
H A D | f_midi.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_midi.c -- USB MIDI class function driver 12 * Based on drivers/usb/gadget/f_audio.c, 16 * and drivers/usb/gadget/midi.c, 32 #include <linux/usb/ch9.h> 33 #include <linux/usb/func_utils.h> 34 #include <linux/usb/gadget.h> 35 #include <linux/usb/audio.h> 36 #include <linux/usb/midi.h> 41 MODULE_DESCRIPTION("USB MIDI class function driver"); [all …]
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | extcon-intel-int3496.rst | 6 devices with an acpi-id of INT3496, such as found for example on 9 This ACPI device describes how the OS can read the id-pin of the devices' 10 USB-otg port, as well as how it optionally can enable Vbus output on the 11 otg port and how it can optionally control the muxing of the data pins 12 between an USB host and an USB peripheral controller. 18 Index 0 The input gpio for the id-pin, this is always present and valid 20 port, write 1 to enable the Vbus output (this gpio descriptor may 22 Index 2 The output gpio for muxing of the data pins between the USB host and 23 the USB peripheral controller, write 1 to mux to the peripheral 30 id index 0
|
/linux/include/linux/ |
H A D | extcon.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * - linux/include/linux/extcon.h for extcon consumer device driver. 26 #define EXTCON_TYPE_USB BIT(0) /* USB connector */ 33 * Define the unique id of supported external connectors 37 /* USB external connector */ 45 * the USB connector, which means EXTCON_CHG_USB_SDP should always 53 #define EXTCON_CHG_USB_SDP 5 /* Standard Downstream Port */ 54 #define EXTCON_CHG_USB_DCP 6 /* Dedicated Charging Port */ 55 #define EXTCON_CHG_USB_CDP 7 /* Charging Downstream Port */ 60 #define EXTCON_CHG_USB_PD 12 /* USB Power Delivery */ [all …]
|
/linux/drivers/extcon/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 25 tristate "X-Power AXP288 EXTCON support" 29 Say Y here to enable support for USB peripheral detection 30 and USB MUX switching by X-Power AXP288 PMIC. 39 FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB 40 port accessory detector and switch. The FSA9480 is fully controlled using 41 I2C and enables USB data, stereo and mono audio, video, microphone 42 and UART data to use a common connector port. 55 Say Y here to enable extcon support for USB OTG ports controlled by [all …]
|
/linux/Documentation/devicetree/bindings/soc/qcom/ |
H A D | qcom,eud.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,eud.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Embedded USB Debugger 10 - Souradeep Chowdhury <quic_schowdhu@quicinc.com> 13 This binding is used to describe the Qualcomm Embedded USB Debugger, which is 14 mini USB-hub implemented on chip to support USB-based debug capabilities. 19 - enum: 20 - qcom,sc7280-eud [all …]
|
/linux/tools/usb/ |
H A D | p9_fwd.py | 2 # SPDX-License-Identifier: GPL-2.0 11 import usb.core 12 import usb.util 17 The string is a Path representation of the position of the USB device on the USB bus tree. 19 This path is used to find a USB device on the bus or all devices connected to a HUB. 20 … The path is made up of the number of the USB controller followed be the ports of the HUB tree.""" 23 return f"{dev.bus}-{dev_path}" 58 dev = usb.core.find(idVendor=vid, idProduct=pid, custom_match=find_filter) 69 # we have to detach the usb-storage driver from multi gadget since 70 # stall option could be set, which will lead to spontaneous port [all …]
|