| /kernel/linux/linux-6.6/drivers/usb/misc/ |
| D | onboard_usb_hub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for onboard USB hubs 23 #include <linux/usb.h> 24 #include <linux/usb/hcd.h> 25 #include <linux/usb/onboard_hub.h> 32 * hub requires more than the currently supported supplies, add a new one here. 65 static int onboard_hub_power_on(struct onboard_hub *hub) in onboard_hub_power_on() argument 69 err = regulator_bulk_enable(hub->pdata->num_supplies, hub->supplies); in onboard_hub_power_on() 71 dev_err(hub->dev, "failed to enable supplies: %d\n", err); in onboard_hub_power_on() 75 fsleep(hub->pdata->reset_us); in onboard_hub_power_on() [all …]
|
| D | onboard_usb_hub_pdevs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * API for creating and destroying USB onboard hub platform devices 15 #include <linux/usb.h> 16 #include <linux/usb/hcd.h> 17 #include <linux/usb/of.h> 18 #include <linux/usb/onboard_hub.h> 33 * onboard_hub_create_pdevs -- create platform devices for onboard USB hubs 34 * @parent_hub : parent hub to scan for connected onboard hubs 35 * @pdev_list : list of onboard hub platform devices owned by the parent hub 37 * Creates a platform device for each supported onboard hub that is connected to [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/usb/ |
| D | ch11.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * This file holds Hub protocol constants and data structures that are 4 * defined in chapter 11 (Hub Specification) of the USB 2.0 specification. 6 * It is used/shared between the USB core, the HCDs and couple of other USB 16 * From USB 2.0 spec Table 11-13, offset 7, a hub can 19 * Because the arrays need to add a bit for hub status data, we 24 /* See USB 3.1 spec Table 10-5 */ 28 * Hub request types 35 * Port status type for GetPortStatus requests added in USB 3.1 36 * See USB 3.1 spec Table 10-12 [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/usb/ |
| D | ch11.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * This file holds Hub protocol constants and data structures that are 4 * defined in chapter 11 (Hub Specification) of the USB 2.0 specification. 6 * It is used/shared between the USB core, the HCDs and couple of other USB 16 * From USB 2.0 spec Table 11-13, offset 7, a hub can 19 * Current Wireless USB host hardware (Intel i1480 for example) allows 21 * limit. Because the arrays need to add a bit for hub status data, we 26 /* See USB 3.1 spec Table 10-5 */ 30 * Hub request types 37 * Port status type for GetPortStatus requests added in USB 3.1 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | microchip,usb5744.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/microchip,usb5744.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB5744 4-port Hub Controller 10 Microchip's USB5744 SmartHubTM IC is a 4 port, SuperSpeed (SS)/Hi-Speed (HS), 11 low power, low pin count configurable and fully compliant with the USB 3.1 13 (LS) USB signaling, offering complete coverage of all defined USB operating 14 speeds. The new SuperSpeed hubs operate in parallel with the USB 2.0 16 USB 2.0 traffic. [all …]
|
| 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 …]
|
| 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# 8 title: ASPEED USB 2.0 Virtual Hub Controller 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 14 The ASPEED USB 2.0 Virtual Hub Controller implements 1 set of USB Hub 16 the Virtual Hub's downstream USB devices. 19 revisions. AST2400 and AST2500 Virtual Hub supports 5 downstream devices 20 and 15 generic endpoints, while AST2600 Virtual Hub supports 7 downstream [all …]
|
| D | realtek,rts5411.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/realtek,rts5411.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Realtek RTS5411 USB 3.0 hub controller 10 - Matthias Kaehlcke <mka@chromium.org> 13 - $ref: usb-device.yaml# 18 - enum: 19 - usbbda,5411 20 - usbbda,411 [all …]
|
| D | ti,usb8041.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/ti,usb8041.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI USB8041 USB 3.0 hub controller 10 - Alexander Stein <alexander.stein@ew.tq-group.com> 13 - $ref: usb-device.yaml# 18 - usb451,8140 19 - usb451,8142 23 reset-gpios: [all …]
|
| D | vialab,vl817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/vialab,vl817.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Via labs VL817 USB 3.1 hub controller 10 - Anand Moon <linux.amoon@gmail.com> 13 - $ref: usb-device.yaml# 18 - usb2109,2817 19 - usb2109,817 23 reset-gpios: [all …]
|
| 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 …]
|
| D | cypress,hx3.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/cypress,hx3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Cypress HX3 USB 3.0 hub controller family 10 - Benjamin Bara <benjamin.bara@skidata.com> 13 - $ref: usb-device.yaml# 18 - enum: 19 - usb4b4,6504 20 - usb4b4,6506 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| 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 …]
|
| 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# 8 title: ASPEED USB 2.0 Virtual Hub Controller 11 - Benjamin Herrenschmidt <benh@kernel.crashing.org> 14 The ASPEED USB 2.0 Virtual Hub Controller implements 1 set of USB Hub 16 the Virtual Hub's downstream USB devices. 19 revisions. AST2400 and AST2500 Virtual Hub supports 5 downstream devices 20 and 15 generic endpoints, while AST2600 Virtual Hub supports 7 downstream [all …]
|
| 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. 13 for devices of class 0 or 9 (hub) with a single configuration and a single 16 A "hub node" is a combined node or an interface node that represents a USB 17 hub. [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/core/ |
| D | usb-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB-ACPI glue code 8 #include <linux/usb.h> 14 #include <linux/usb/hcd.h> 16 #include "hub.h" 19 * usb_acpi_power_manageable - check whether usb port has 21 * @hdev: USB device belonging to the usb hub 40 #define UUID_USB_CONTROLLER_DSM "ce2ee385-00e6-48cb-9f05-2edb927c4899" 44 * usb_acpi_port_lpm_incapable - check if lpm should be disabled for a port. 45 * @hdev: USB device belonging to the usb hub [all …]
|
| D | hub.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * usb hub driver head file 14 #include <linux/usb.h> 15 #include <linux/usb/ch11.h> 16 #include <linux/usb/hcd.h> 17 #include "usb.h" 28 struct usb_hub_status hub; member 48 #if USB_MAXCHILDREN > 31 /* 8*sizeof(unsigned long) - 1 */ 81 * struct usb port - kernel's representation of a usb port 82 * @child: usb device attached to the port [all …]
|
| D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB hub driver. 23 #include <linux/usb.h> 25 #include <linux/usb/hcd.h> 26 #include <linux/usb/onboard_hub.h> 27 #include <linux/usb/otg.h> 28 #include <linux/usb/quirks.h> 39 #include "hub.h" 71 * assuming no port activity and allowing hub to runtime suspend back. 75 /* Protect struct usb_device->state and ->children members [all …]
|
| D | of.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/usb/of.h> 14 * usb_of_get_device_node() - get a USB device node 15 * @hub: hub to which device is connected 16 * @port1: one-based index of port 18 * Look up the node of a USB device given its parent hub device and one-based 24 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument 29 for_each_child_of_node(hub->dev.of_node, node) { in usb_of_get_device_node() 42 * usb_of_has_combined_node() - determine whether a device has a combined node 43 * @udev: USB device [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/core/ |
| D | usb-acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB-ACPI glue code 8 #include <linux/usb.h> 14 #include <linux/usb/hcd.h> 16 #include "hub.h" 19 * usb_acpi_power_manageable - check whether usb port has 21 * @hdev: USB device belonging to the usb hub 40 #define UUID_USB_CONTROLLER_DSM "ce2ee385-00e6-48cb-9f05-2edb927c4899" 44 * usb_acpi_port_lpm_incapable - check if lpm should be disabled for a port. 45 * @hdev: USB device belonging to the usb hub [all …]
|
| D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB hub driver. 23 #include <linux/usb.h> 25 #include <linux/usb/hcd.h> 26 #include <linux/usb/otg.h> 27 #include <linux/usb/quirks.h> 38 #include "hub.h" 56 /* Protect struct usb_device->state and ->children members 57 * Note: Both are also protected by ->dev.sem, except that ->state can 61 /* workqueue to process hub events */ [all …]
|
| D | hub.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * usb hub driver head file 14 #include <linux/usb.h> 15 #include <linux/usb/ch11.h> 16 #include <linux/usb/hcd.h> 17 #include "usb.h" 28 struct usb_hub_status hub; member 48 #if USB_MAXCHILDREN > 31 /* 8*sizeof(unsigned long) - 1 */ 79 * struct usb port - kernel's representation of a usb port 80 * @child: usb device attached to the port [all …]
|
| D | of.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/usb/of.h> 15 * usb_of_get_device_node() - get a USB device node 16 * @hub: hub to which device is connected 17 * @port1: one-based index of port 19 * Look up the node of a USB device given its parent hub device and one-based 25 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1) in usb_of_get_device_node() argument 30 for_each_child_of_node(hub->dev.of_node, node) { in usb_of_get_device_node() 43 * usb_of_has_combined_node() - determine whether a device has a combined node 44 * @udev: USB device [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/amlogic/ |
| D | meson-sm1-odroid-c4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-sm1-odroid.dtsi" 11 compatible = "hardkernel,odroid-c4", "amlogic,sm1"; 12 model = "Hardkernel ODROID-C4"; 15 compatible = "gpio-leds"; 17 led-blue { 21 linux,default-trigger = "heartbeat"; 22 panic-indicator; 27 model = "ODROID-C4"; [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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 …]
|