| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | nvidia,tegra124-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra124-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 20 - description: NVIDIA Tegra124 21 const: nvidia,tegra124-xusb 23 - description: NVIDIA Tegra132 25 - const: nvidia,tegra132-xusb [all …]
|
| H A D | ti,hd3ss3220.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/ti,hd3ss3220.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Biju Das <biju.das.jz@bp.renesas.com> 12 description: |- 13 HD3SS3220 is a USB SuperSpeed (SS) 2:1 mux with DRP port controller. The device provides Channel 14 Configuration (CC) logic and 5V VCONN sourcing for ecosystems implementing USB Type-C. The 28 id-gpios: 30 An input gpio for USB ID pin. Upon detecting a UFP device, HD3SS3220 [all …]
|
| H A D | nvidia,tegra-xudc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra-xudc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Tegra XUDC controller supports both USB 2.0 HighSpeed/FullSpeed and 11 USB 3.0 SuperSpeed protocols. 14 - Nagarjuna Kristam <nkristam@nvidia.com> 15 - JC Kuo <jckuo@nvidia.com> 16 - Thierry Reding <treding@nvidia.com> 21 - enum: [all …]
|
| H A D | mediatek,mtk-xhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/mediatek,mtk-xhci.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 - $ref: usb-xhci.yaml 19 case 2: supports dual-role mode, and the host is based on xHCI driver. 25 - enum: 26 - mediatek,mt2701-xhci 27 - mediatek,mt2712-xhci [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 23 - enum: 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 26 - mediatek,mt8183-mtu3 [all …]
|
| H A D | snps,dwc3-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 vendor-specific implementation or as a standalone component. 17 - $ref: usb-drd.yaml# 18 - if: 24 - dr_mode 26 $ref: usb.yaml# [all …]
|
| H A D | usb-switch-ports.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-switch-ports.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB Orientation and Mode Switches Ports Graph Properties 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 Ports Graph properties for devices handling USB mode and orientation switching. 17 $ref: /schemas/graph.yaml#/$defs/port-base 24 $ref: /schemas/graph.yaml#/$defs/endpoint-base 27 data-lanes: [all …]
|
| H A D | nxp,ptn36502.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/nxp,ptn36502.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP PTN36502 Type-C USB 3.1 Gen 1 and DisplayPort v1.2 combo redriver 10 - Luca Weiss <luca.weiss@fairphone.com> 15 - nxp,ptn36502 20 vdd18-supply: 23 orientation-switch: true 24 retimer-switch: true [all …]
|
| H A D | nvidia,tegra194-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra194-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 18 const: nvidia,tegra194-xusb 22 - description: base and length of the xHCI host registers 23 - description: base and length of the XUSB FPCI registers 25 reg-names: [all …]
|
| H A D | nvidia,tegra186-xusb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nvidia,tegra186-xusb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 18 const: nvidia,tegra186-xusb 22 - description: base and length of the xHCI host registers 23 - description: base and length of the XUSB FPCI registers 25 reg-names: [all …]
|
| H A D | parade,ps8830.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/parade,ps8830.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Parade PS883x USB and DisplayPort Retimer 10 - Abel Vesa <abel.vesa@linaro.org> 15 - items: 16 - const: parade,ps8833 17 - const: parade,ps8830 18 - const: parade,ps8830 [all …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdns3-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2019 Cadence. 6 * Copyright (C) 2017-2018 NXP 14 #include <linux/usb/gadget.h> 15 #include <linux/dma-direction.h> 18 * USBSS-DEV register interface. 23 * struct cdns3_usb_regs - device controller registers. 29 * @usb_ien: USB Interrupt Enable. 30 * @usb_ists: USB Interrupt Status. 53 * @buf_addr: Address for On-chip Buffer operations. [all …]
|
| H A D | Kconfig | 2 tristate "Cadence USB Support" 3 depends on USB_SUPPORT && (USB || USB_GADGET) && HAS_DMA 8 dual-role controller. 9 It supports: dual-role switch, Host-only, and Peripheral-only. 17 tristate "Cadence USB3 Dual-Role Controller" 20 Say Y here if your system has a Cadence USB3 dual-role controller. 21 It supports: dual-role switch, Host-only, and Peripheral-only. 34 Cadence USBSS-DEV driver. 36 This controller supports FF, HS and SS mode. It doesn't support 41 depends on USB=y || USB=USB_CDNS3 [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | qcom,ipq806x-usb-phy-ss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER 10 - Ansuel Smith <ansuelsmth@gmail.com> 13 DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer 19 const: qcom,ipq806x-usb-phy-ss 21 "#phy-cells": 31 clock-names: [all …]
|
| H A D | nvidia,tegra210-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-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 | qcom,usb-ss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,usb-ss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY 18 - qcom,usb-ss-28nm-phy 23 "#phy-cells": 28 - description: rpmcc clock [all …]
|
| H A D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-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 | qcom-usb-ipq4019-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom-usb-ipq4019-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcom IPQ40xx Dakota HS/SS USB PHY 10 - Robert Marko <robert.marko@sartura.hr> 15 - qcom,usb-ss-ipq4019-phy 16 - qcom,usb-hs-ipq4019-phy 24 reset-names: 26 - const: por_rst [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | f_sourcesink.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * f_sourcesink.c - USB peripheral source/sink configuration driver 5 * Copyright (C) 2003-2008 David Brownell 15 #include <linux/usb/composite.h> 16 #include <linux/usb/func_utils.h> 22 * SOURCE/SINK FUNCTION ... a primary testing vehicle for USB peripheral 30 * plus two that support control-OUT tests. If the optional "autoresume" 32 * test harness from USB-IF. 59 /*-------------------------------------------------------------------------*/ 272 /* function-specific strings: */ [all …]
|
| /linux/drivers/usb/storage/ |
| H A D | onetouch.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Support for the Maxtor OneTouch USB hard drive's button 18 #include <linux/usb/input.h> 19 #include "usb.h" 23 #define DRV_NAME "ums-onetouch" 25 MODULE_DESCRIPTION("Maxtor USB OneTouch hard drive button driver"); 33 static int onetouch_connect_input(struct us_data *ss); 40 struct usb_device *udev; /* usb device */ 62 MODULE_DEVICE_TABLE(usb, onetouch_usb_ids); 90 struct usb_onetouch *onetouch = urb->context; in usb_onetouch_irq() [all …]
|
| /linux/drivers/usb/gadget/ |
| H A D | config.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * usb/gadget/config.c -- simplify building config descriptors 16 #include <linux/usb/ch9.h> 17 #include <linux/usb/gadget.h> 18 #include <linux/usb/composite.h> 19 #include <linux/usb/otg.h> 22 * usb_descriptor_fillbuf - fill buffer with descriptors 40 return -EINVAL; in usb_descriptor_fillbuf() 44 unsigned len = (*src)->bLength; in usb_descriptor_fillbuf() 47 return -EINVAL; in usb_descriptor_fillbuf() [all …]
|
| /linux/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 …]
|
| /linux/drivers/usb/gadget/legacy/ |
| H A D | audio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * audio.c -- Audio gadget driver 13 #include <linux/usb/composite.h> 15 #define DRIVER_DESC "Linux USB Audio Gadget" 23 /* Playback(USB-IN) Default Stereo - Fl/Fr */ 39 /* Playback bInterval for HS/SS (1-4: fixed, 0: auto) */ 43 "Playback bInterval for HS/SS (1-4: fixed, 0: auto)"); 45 /* Capture(USB-OUT) Default Stereo - Fl/Fr */ 61 /* capture bInterval for HS/SS (1-4: fixed, 0: auto) */ 65 "Capture bInterval for HS/SS (1-4: fixed, 0: auto)"); [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | net2280.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NetChip 2280 high/full speed USB device controller. 10 * Copyright (C) 2014 Ricardo Ribalda - Qtechnology/AS 13 #include <linux/usb/net2280.h> 14 #include <linux/usb/usb338x.h> 16 /*-------------------------------------------------------------------------*/ 26 writel(index, ®s->idxaddr); in get_idx_reg() 28 return readl(®s->idxdata); in get_idx_reg() 34 writel(index, ®s->idxaddr); in set_idx_reg() 35 writel(value, ®s->idxdata); in set_idx_reg() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | configfs-usb-gadget-sourcesink | 1 What: /config/usb-gadget/gadget/functions/SourceSink.name 10 isoc_maxpacket 0 - 1023 (fs), 0 - 1024 (hs/ss) 11 isoc_mult 0..2 (hs/ss only) 12 isoc_maxburst 0..15 (ss only)
|