Searched +full:vhub +full:- +full:generic +full:- +full:endpoints (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | aspeed,usb-vhub.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/aspeed,usb-vhub.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 18 Supported number of devices and endpoints vary depending on hardware 20 and 15 generic endpoints, while AST2600 Virtual Hub supports 7 downstream 21 devices and 21 generic endpoints. 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/aspeed-vhub/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * core.c - Top level support 26 #include <linux/dma-mapping.h> 28 #include "vhub.h" 33 bool internal = req->internal; in ast_vhub_done() 34 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done() local 38 list_del_init(&req->queue); in ast_vhub_done() 40 if (req->req.status == -EINPROGRESS) in ast_vhub_done() 41 req->req.status = status; in ast_vhub_done() [all …]
|
D | vhub.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 10 * VHUB register definitions * 107 * per-device register definitions * 136 * matching corresponding vHub EP0 control bits 146 * per-endpoint register definitions * 210 * existing AST2400/AST2500 platforms. AST2600 and future vhub revisions 211 * should define number of downstream ports and endpoints in device tree. 213 #define AST_VHUB_NUM_GEN_EPs 15 /* Generic non-0 EPs */ 214 #define AST_VHUB_NUM_PORTS 5 /* vHub ports */ 216 #define AST_VHUB_EPn_MAX_PACKET 1024 /* Generic EPs max packet size */ [all …]
|
D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * dev.c - Individual device/gadget management (ie, a port = a gadget) 26 #include <linux/dma-mapping.h> 30 #include "vhub.h" 34 u32 istat = readl(d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 36 writel(istat, d->regs + AST_VHUB_DEV_ISR); in ast_vhub_dev_irq() 39 ast_vhub_ep0_handle_ack(&d->ep0, true); in ast_vhub_dev_irq() 41 ast_vhub_ep0_handle_ack(&d->ep0, false); in ast_vhub_dev_irq() 43 ast_vhub_ep0_handle_setup(&d->ep0); in ast_vhub_dev_irq() [all …]
|
D | epn.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * epn.c - Generic endpoints management 26 #include <linux/dma-mapping.h> 28 #include "vhub.h" 43 unsigned int act = req->req.actual; in ast_vhub_epn_kick() 44 unsigned int len = req->req.length; in ast_vhub_epn_kick() 48 WARN_ON(req->active); in ast_vhub_epn_kick() 51 chunk = len - act; in ast_vhub_epn_kick() 52 if (chunk > ep->ep.maxpacket) in ast_vhub_epn_kick() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | aspeed-bmc-inventec-transformers.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 7 #include "aspeed-g6-pinctrl.dtsi" 8 #include <dt-bindings/i2c/i2c.h> 9 #include <dt-bindings/gpio/aspeed-gpio.h> 13 compatible = "inventec,transformer-bmc", "aspeed,ast2600"; 20 stdout-path = &uart5; 30 compatible = "gpio-leds"; 49 ethphy0: ethernet-phy@0 { [all …]
|
D | aspeed-g4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 7 #address-cells = <1>; 8 #size-cells = <1>; 9 interrupt-parent = <&vic>; 35 #address-cells = <1>; 36 #size-cells = <0>; 39 compatible = "arm,arm926ej-s"; 51 compatible = "simple-bus"; 52 #address-cells = <1>; [all …]
|
D | aspeed-g6.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 6 #include <dt-bindings/clock/ast2600-clock.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 13 interrupt-parent = <&gic>; 43 #address-cells = <1>; 44 #size-cells = <0>; 45 enable-method = "aspeed,ast2600-smp"; [all …]
|
D | aspeed-g5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 2 #include <dt-bindings/clock/aspeed-clock.h> 3 #include <dt-bindings/interrupt-controller/aspeed-scu-ic.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 10 interrupt-parent = <&vic>; 36 #address-cells = <1>; 37 #size-cells = <0>; 40 compatible = "arm,arm1176jzf-s"; 52 compatible = "simple-bus"; [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|