| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | generic-xhci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-xhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB xHCI Controller 10 - Mathias Nyman <mathias.nyman@intel.com> 13 - $ref: usb-xhci.yaml# 18 - description: Generic xHCI device 19 const: generic-xhci 20 - description: Armada 37xx/375/38x/8k SoCs [all …]
|
| D | usb-xhci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-xhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic USB xHCI Controller 10 - Mathias Nyman <mathias.nyman@intel.com> 13 - $ref: usb-hcd.yaml# 16 usb2-lpm-disable: 20 usb3-lpm-capable: 24 quirk-broken-port-ped: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | usb-xhci.txt | 1 USB xHCI controllers 4 - compatible: should be one or more of 6 - "generic-xhci" for generic XHCI device 7 - "marvell,armada3700-xhci" for Armada 37xx SoCs 8 - "marvell,armada-375-xhci" for Armada 375 SoCs 9 - "marvell,armada-380-xhci" for Armada 38x SoCs 10 - "brcm,bcm7445-xhci" for Broadcom STB SoCs with XHCI 11 - "xhci-platform" (deprecated) 13 When compatible with the generic version, nodes must list the 14 SoC-specific version corresponding to the platform first [all …]
|
| D | mediatek,mtu3.txt | 4 - compatible : should be "mediatek,<soc-model>-mtu3", "mediatek,mtu3", 5 soc-model is the name of SoC, such as mt8173, mt2712 etc, 8 - "mediatek,mt8173-mtu3" 9 - reg : specifies physical base address and size of the registers 10 - reg-names: should be "mac" for device IP and "ippc" for IP port control 11 - interrupts : interrupt used by the device IP 12 - power-domains : a phandle to USB power domain node to control USB's 14 - vusb33-supply : regulator of USB avdd3.3v 15 - clocks : a list of phandle + clock-specifier pairs, one for each 16 entry in clock-names [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | xhci-dbgcap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xhci-dbgcap.c - xHCI debug capability support 9 #include <linux/dma-mapping.h> 13 #include "xhci.h" 14 #include "xhci-trace.h" 15 #include "xhci-dbgcap.h" 21 dma_free_coherent(dev, ctx->size, ctx->bytes, ctx->dma); in dbc_free_ctx() 31 if (ring->first_seg && ring->first_seg->trbs) { in dbc_ring_free() 33 ring->first_seg->trbs, in dbc_ring_free() 34 ring->first_seg->dma); in dbc_ring_free() [all …]
|
| D | xhci-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 26 * until you reach a non-link TRB. 57 #include <linux/dma-mapping.h> 58 #include "xhci.h" 59 #include "xhci-trace.h" 60 #include "xhci-mtk.h" 71 if (!seg || !trb || trb < seg->trbs) in xhci_trb_virt_to_dma() 74 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma() 77 return seg->dma + (segment_offset * sizeof(*trb)); in xhci_trb_virt_to_dma() [all …]
|
| D | xhci-debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xhci-debugfs.c - xHCI debugfs interface 13 #include "xhci.h" 14 #include "xhci-debugfs.h" 86 static struct xhci_regset *xhci_debugfs_alloc_regset(struct xhci_hcd *xhci) in xhci_debugfs_alloc_regset() argument 98 INIT_LIST_HEAD(®set->list); in xhci_debugfs_alloc_regset() 99 list_add_tail(®set->list, &xhci->regset_list); in xhci_debugfs_alloc_regset() 109 list_del(®set->list); in xhci_debugfs_free_regset() 114 static void xhci_debugfs_regset(struct xhci_hcd *xhci, u32 base, in xhci_debugfs_regset() argument 122 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_debugfs_regset() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 11 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role 21 tristate "xHCI HCD (USB 3.0) support" 24 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 28 module will be called xhci-hcd. 32 bool "xHCI support for debug capability" 35 Say 'Y' to enable the support for the xHCI debug capability. Make 36 sure that your xHCI host supports the extended debug capability and 37 you want a TTY serial device based on the xHCI debug capability 47 tristate "Support for additional Renesas xHCI controller with firmware" [all …]
|
| D | xhci-plat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xhci-plat.c - xHCI host controller driver platform Bus Glue. 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com 8 * A lot of code borrowed from the Linux xHCI driver. 12 #include <linux/dma-mapping.h> 23 #include "xhci.h" 24 #include "xhci-plat.h" 25 #include "xhci-mvebu.h" 26 #include "xhci-rcar.h" 43 if (priv->plat_start) in xhci_priv_plat_start() [all …]
|
| D | xhci-histb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver for HiSilicon STB SoCs 5 * Copyright (C) 2017-2018 HiSilicon Co., Ltd. http://www.hisilicon.com 11 #include <linux/dma-mapping.h> 19 #include "xhci.h" 46 return dev_get_drvdata(hcd->self.controller); in hcd_to_histb() 51 struct device_node *np = histb->dev->of_node; in xhci_histb_config() 54 if (of_property_match_string(np, "phys-names", "inno") >= 0) { in xhci_histb_config() 56 regval = readl(histb->ctrl + REG_GUSB2PHYCFG0); in xhci_histb_config() 60 writel(regval, histb->ctrl + REG_GUSB2PHYCFG0); in xhci_histb_config() [all …]
|
| D | xhci-mtk.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MediaTek xHCI Host Controller Driver 11 #include <linux/dma-mapping.h> 22 #include "xhci.h" 23 #include "xhci-mtk.h" 78 struct mu3c_ippc_regs __iomem *ippc = mtk->ippc_regs; in xhci_mtk_host_enable() 84 if (!mtk->has_ippc) in xhci_mtk_host_enable() 88 value = readl(&ippc->ip_pw_ctr1); in xhci_mtk_host_enable() 90 writel(value, &ippc->ip_pw_ctr1); in xhci_mtk_host_enable() 93 for (i = 0; i < mtk->num_u3_ports; i++) { in xhci_mtk_host_enable() [all …]
|
| D | xhci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 15 #include <linux/dma-mapping.h> 17 #include "xhci.h" 18 #include "xhci-trace.h" 19 #include "xhci-debugfs.h" 22 * Allocates a generic ring segment from the ring pool, sets the dma address, 28 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc() argument 36 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc() 42 seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); in xhci_segment_alloc() [all …]
|
| D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * xHCI host controller driver 19 #include <linux/io-64-nonatomic-lo-hi.h> 21 /* Code sharing between pci-quirks and xhci hcd */ 22 #include "xhci-ext-caps.h" 23 #include "pci-quirks.h" 28 /* xHCI PCI Configuration Registers */ 31 /* Max number of USB devices for any host controller - limit in section 6.1 */ 33 /* Section 5.3.3 - MaxPorts */ 37 * xHCI register interface. [all …]
|
| D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 20 #include <linux/dma-mapping.h> 22 #include "xhci.h" 23 #include "xhci-trace.h" 24 #include "xhci-mtk.h" 25 #include "xhci-debugfs.h" 26 #include "xhci-dbgcap.h" 44 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 46 if (!td || !td->start_seg) in td_on_ring() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | xhci-dbgcap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xhci-dbgcap.c - xHCI debug capability support 9 #include <linux/dma-mapping.h> 13 #include "xhci.h" 14 #include "xhci-trace.h" 15 #include "xhci-dbgcap.h" 21 dma_free_coherent(dev, ctx->size, ctx->bytes, ctx->dma); in dbc_free_ctx() 31 if (ring->first_seg && ring->first_seg->trbs) { in dbc_ring_free() 33 ring->first_seg->trbs, in dbc_ring_free() 34 ring->first_seg->dma); in dbc_ring_free() [all …]
|
| D | xhci-ring.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 26 * until you reach a non-link TRB. 58 #include <linux/dma-mapping.h> 59 #include "xhci.h" 60 #include "xhci-trace.h" 62 static int queue_command(struct xhci_hcd *xhci, struct xhci_command *cmd, 75 if (!seg || !trb || trb < seg->trbs) in xhci_trb_virt_to_dma() 78 segment_offset = trb - seg->trbs; in xhci_trb_virt_to_dma() 81 return seg->dma + (segment_offset * sizeof(*trb)); in xhci_trb_virt_to_dma() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 11 The Cypress C67x00 (EZ-Host/EZ-OTG) chips are dual-role 21 tristate "xHCI HCD (USB 3.0) support" 24 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 28 module will be called xhci-hcd. 32 bool "xHCI support for debug capability" 35 Say 'Y' to enable the support for the xHCI debug capability. Make 36 sure that your xHCI host supports the extended debug capability and 37 you want a TTY serial device based on the xHCI debug capability 47 tristate "Support for additional Renesas xHCI controller with firmware" [all …]
|
| D | xhci-debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xhci-debugfs.c - xHCI debugfs interface 13 #include "xhci.h" 14 #include "xhci-debugfs.h" 86 static struct xhci_regset *xhci_debugfs_alloc_regset(struct xhci_hcd *xhci) in xhci_debugfs_alloc_regset() argument 98 INIT_LIST_HEAD(®set->list); in xhci_debugfs_alloc_regset() 99 list_add_tail(®set->list, &xhci->regset_list); in xhci_debugfs_alloc_regset() 109 list_del(®set->list); in xhci_debugfs_free_regset() 114 static void xhci_debugfs_regset(struct xhci_hcd *xhci, u32 base, in xhci_debugfs_regset() argument 122 struct usb_hcd *hcd = xhci_to_hcd(xhci); in xhci_debugfs_regset() [all …]
|
| D | xhci-plat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xhci-plat.c - xHCI host controller driver platform Bus Glue. 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com 8 * A lot of code borrowed from the Linux xHCI driver. 12 #include <linux/dma-mapping.h> 24 #include "xhci.h" 25 #include "xhci-plat.h" 26 #include "xhci-mvebu.h" 43 if (priv->plat_start) in xhci_priv_plat_start() 44 priv->plat_start(hcd); in xhci_priv_plat_start() [all …]
|
| D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * xHCI host controller driver 19 #include <linux/io-64-nonatomic-lo-hi.h> 20 #include <linux/io-64-nonatomic-hi-lo.h> 22 /* Code sharing between pci-quirks and xhci hcd */ 23 #include "xhci-ext-caps.h" 24 #include "pci-quirks.h" 26 #include "xhci-port.h" 27 #include "xhci-caps.h" 32 /* xHCI PCI Configuration Registers */ [all …]
|
| D | xhci-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 16 #include <linux/dma-mapping.h> 18 #include "xhci.h" 19 #include "xhci-trace.h" 20 #include "xhci-debugfs.h" 23 * Allocates a generic ring segment from the ring pool, sets the dma address, 29 static struct xhci_segment *xhci_segment_alloc(struct xhci_hcd *xhci, in xhci_segment_alloc() argument 38 struct device *dev = xhci_to_hcd(xhci)->self.sysdev; in xhci_segment_alloc() 44 seg->trbs = dma_pool_zalloc(xhci->segment_pool, flags, &dma); in xhci_segment_alloc() [all …]
|
| D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * xHCI host controller driver 21 #include <linux/dma-mapping.h> 23 #include "xhci.h" 24 #include "xhci-trace.h" 25 #include "xhci-debugfs.h" 26 #include "xhci-dbgcap.h" 44 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 46 if (!td || !td->start_seg) in td_on_ring() 49 if (seg == td->start_seg) in td_on_ring() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/broadcom/stingray/ |
| D | stingray-usb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 compatible = "simple-bus"; 7 #address-cells = <2>; 8 #size-cells = <2>; 13 * to 40-bit 15 dma-ranges = <0 0 0 0 0x100 0x0>; 17 usbphy0: usb-phy@0 { 18 compatible = "brcm,sr-usb-combo-phy"; 20 #phy-cells = <1>; 25 compatible = "generic-xhci"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/broadcom/stingray/ |
| D | stingray-usb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 or BSD-3-Clause) 6 compatible = "simple-bus"; 7 #address-cells = <2>; 8 #size-cells = <2>; 13 * to 40-bit 15 dma-ranges = <0 0 0 0 0x100 0x0>; 17 usbphy0: usb-phy@0 { 18 compatible = "brcm,sr-usb-combo-phy"; 20 #phy-cells = <1>; 25 compatible = "generic-xhci"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/marvell/ |
| D | armada-cp11x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/interrupt-controller/mvebu-icu.h> 9 #include <dt-bindings/thermal/thermal.h> 11 #include "armada-common.dtsi" 27 thermal-zones { 28 CP11X_LABEL(thermal_ic): CP11X_NODE_NAME(thermal-ic) { 29 polling-delay-passive = <0>; /* Interrupt driven */ 30 polling-delay = <0>; /* Interrupt driven */ 32 thermal-sensors = <&CP11X_LABEL(thermal) 0>; 42 cooling-maps { }; [all …]
|