| /OK3568_Linux_fs/kernel/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_SIO_PID 0x8372 /* Product Id SIO application of 8U100AX */ 29 #define FTDI_232RL_PID 0xFBFA /* Product ID for FT232RL */ 32 /*** third-party PIDs (using FTDI_VID) ***/ [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 | usb-serial.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Serial Converter driver 5 * Copyright (C) 2009 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2012 Greg Kroah-Hartman (greg@kroah.com) 13 * See Documentation/usb/usb-serial.rst for more information on using this 34 #include <linux/usb.h> 35 #include <linux/usb/serial.h> 39 #define DRIVER_AUTHOR "Greg Kroah-Hartman <gregkh@linuxfoundation.org>" 40 #define DRIVER_DESC "USB Serial Driver core" 57 * Look up the serial port structure. If it is found and it hasn't been [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 …]
|
| 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 …]
|
| /OK3568_Linux_fs/kernel/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> 49 unsigned int id; member 79 #define is_typec_partner(_dev_) (_dev_->type == &typec_partner_dev_type) 80 #define is_typec_cable(_dev_) (_dev_->type == &typec_cable_dev_type) 81 #define is_typec_plug(_dev_) (_dev_->type == &typec_plug_dev_type) 86 /* ------------------------------------------------------------------------- */ 95 /* Product types defined in USB PD Specification R3.0 V2.0 */ 123 return partner->identity; in get_pd_identity() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A D | usb251xb.txt | 1 Microchip USB 2.0 Hi-Speed Hub Controller 3 The device node for the configuration of a Microchip USB251x/xBi USB 2.0 4 Hi-Speed Controller. 7 - compatible : Should be "microchip,usb251xb" or one of the specific types: 11 - reg : I2C address on the selected bus (default is <0x2C>) 14 - reset-gpios : Should specify the gpio for hub reset 15 - vdd-supply : Should specify the phandle to the regulator supplying vdd 16 - skip-config : Skip Hub configuration, but only send the USB-Attach command 17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424) 18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type) [all …]
|
| H A D | usb-device.txt | 1 Generic USB Device Properties 3 Usually, we only use device tree for hard wired USB device. 5 http://www.devicetree.org/open-firmware/bindings/usb/usb-1_0.ps 7 Four types of device-tree nodes are defined: "host-controller nodes" 8 representing USB host controllers, "device nodes" representing USB devices, 9 "interface nodes" representing USB interfaces and "combined nodes" 10 representing simple USB devices. 16 A "hub node" is a combined node or an interface node that represents a USB 21 - compatible: "usbVID,PID", where VID is the vendor id and PID the product id. 26 - reg: the number of the USB hub port or the USB host-controller port to which [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 <narmstrong@baylibre.com> 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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB Connector 10 - Rob Herring <robh@kernel.org> 13 A USB connector node represents a physical USB connector. It should be a child 14 of a USB interface controller or a separate node when it is attached to both 15 MUX and USB interface controller. 20 - enum: [all …]
|
| /OK3568_Linux_fs/kernel/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> 11 - Enric Balletbo i Serra <enric.balletbo@collabora.com> 14 On ChromeOS systems with USB Type C ports, the ChromeOS Embedded Controller is 16 or USB devices when said accessories are attached or detached. 17 The node for this device must be under a cros-ec node like google,cros-ec-spi [all …]
|
| /OK3568_Linux_fs/kernel/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 Certified Wireless USB devices are not authorized 35 What: /sys/bus/usb/device/.../wusb_cdid 40 For Certified Wireless USB devices only. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/misc/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # USB Miscellaneous driver configuration 5 comment "USB Miscellaneous drivers" 8 tristate "EMI 6|2m USB Audio interface support" 10 This driver loads firmware to Emagic EMI 6|2m low latency USB 14 USB Audio driver. 22 tristate "EMI 2|6 USB Audio interface support" 24 This driver loads firmware to Emagic EMI 2|6 low latency USB 28 USB Audio driver. 43 tristate "USB 7-Segment LED Display" [all …]
|
| /OK3568_Linux_fs/u-boot/include/power/power_delivery/ |
| H A D | typec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /* USB Type-C Specification releases */ 77 * struct enter_usb_data - Enter_USB Message details 81 * @active_link_training is a flag that should be set with uni-directional SBRX 82 * communication, and left 0 with passive cables and with bi-directional SBRX 91 * struct usb_pd_identity - USB Power Delivery identity data 92 * @id_header: ID Header VDO 97 * USB power delivery Discover Identity command response data. 99 * REVISIT: This is USB Power Delivery specific information, so this structure 100 * probable belongs to USB Power Delivery header file once we have them. [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | typec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 /* USB Type-C Specification releases */ 78 * struct enter_usb_data - Enter_USB Message details 82 * @active_link_training is a flag that should be set with uni-directional SBRX 83 * communication, and left 0 with passive cables and with bi-directional SBRX 92 * struct usb_pd_identity - USB Power Delivery identity data 93 * @id_header: ID Header VDO 98 * USB power delivery Discover Identity command response data. 100 * REVISIT: This is USB Power Delivery specific information, so this structure 101 * probable belongs to USB Power Delivery header file once we have them. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * hub.c - virtual hub handling 27 #include <linux/usb/gadget.h> 31 #include <linux/dma-mapping.h> 34 #include <linux/usb.h> 35 #include <linux/usb/hcd.h> 39 /* usb 2.0 hub device descriptor 43 * - We may need to indicate TT support 44 * - We may need a device qualifier descriptor [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/clock/ |
| H A D | mvebu-gated-clock.txt | 5 should specify the desired clock by having the clock ID in its 6 "clocks" phandle cell. The clock ID is directly mapped to the 11 ID Clock Peripheral 12 ----------------------------------- 28 ID Clock Peripheral 29 ----------------------------------- 41 18 usb USB Host 49 28 crypto0_enc Cryptographic Unit Port 0 Encryption 50 29 crypto0_core Cryptographic Unit Port 0 Core 51 30 crypto1_enc Cryptographic Unit Port 1 Encryption [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/ |
| H A D | phy-rockchip-inno-usb2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-rockchip-inno-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 15 - rockchip,px30-usb2phy 16 - rockchip,rk1808-usb2phy 17 - rockchip,rk3128-usb2phy 18 - rockchip,rk3228-usb2phy 19 - rockchip,rk3308-usb2phy [all …]
|
| /OK3568_Linux_fs/kernel/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/gadget.h> 34 #include <linux/usb/audio.h> 35 #include <linux/usb/midi.h> 48 * stored in 4-bit fields. And as the interface currently only holds one 68 * USB -> OUT endpoint -> rawmidi [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/arch/mips/alchemy/common/ |
| H A D | platform.c | 15 #include <linux/dma-mapping.h> 21 #include <linux/usb/ehci_pdriver.h> 22 #include <linux/usb/ohci_pdriver.h> 24 #include <asm/mach-au1x00/au1000.h> 25 #include <asm/mach-au1x00/au1xxx_dbdma.h> 26 #include <asm/mach-au1x00/au1100_mmc.h> 27 #include <asm/mach-au1x00/au1xxx_eth.h> 31 static void alchemy_8250_pm(struct uart_port *port, unsigned int state, in alchemy_8250_pm() argument 37 alchemy_uart_enable(CPHYSADDR(port->membase)); in alchemy_8250_pm() 38 serial8250_do_pm(port, state, old_state); in alchemy_8250_pm() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/m68k/include/asm/ |
| H A D | immap_5445x.h | 4 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. 5 * TsiChung Liew (Tsi-Chung.Liew@freescale.com) 7 * SPDX-License-Identifier: GPL-2.0+ 90 u16 ccr; /* Chip Configuration Register (256 TEPBGA, Read-only) */ 92 u16 rcon; /* Reset Configuration (256 TEPBGA, Read-only) */ 93 u16 cir; /* Chip Identification Register (Read-only) */ 97 u16 uocsr; /* USB On-the-Go Controller Status Register */ 102 u8 podr_fec0h; /* FEC0 High Port Output Data Register */ 103 u8 podr_fec0l; /* FEC0 Low Port Output Data Register */ 104 u8 podr_ssi; /* SSI Port Output Data Register */ [all …]
|
| /OK3568_Linux_fs/kernel/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 */ 46 * the USB connector, which means EXTCON_CHG_USB_SDP should always 54 #define EXTCON_CHG_USB_SDP 5 /* Standard Downstream Port */ 55 #define EXTCON_CHG_USB_DCP 6 /* Dedicated Charging Port */ 56 #define EXTCON_CHG_USB_CDP 7 /* Charging Downstream Port */ 61 #define EXTCON_CHG_USB_PD 12 /* USB Power Delivery */ [all …]
|
| /OK3568_Linux_fs/kernel/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
|