/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
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# 10 - Mathias Nyman <mathias.nyman@intel.com> 13 - $ref: "usb-hcd.yaml#" 16 usb2-lpm-disable: 17 description: Indicates if we don't want to enable USB2 HW LPM 20 usb3-lpm-capable: 21 description: Determines if platform is USB3 LPM capable [all …]
|
D | snps,dwc3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 be presented as a standalone DT node with an optional vendor-specific 18 - $ref: usb-drd.yaml# 19 - if: 25 - dr_mode 29 $ref: usb-xhci.yaml# 35 - const: snps,dwc3 [all …]
|
D | hisilicon,histb-xhci.txt | 6 - compatible: should be "hisilicon,hi3798cv200-xhci" 7 - reg: specifies physical base address and size of the registers 8 - interrupts : interrupt used by the controller 9 - clocks: a list of phandle + clock-specifier pairs, one for each 10 entry in clock-names 11 - clock-names: must contain 16 - resets: a list of phandle and reset specifier pairs as listed in 17 reset-names property. 18 - reset-names: must contain 20 - phys: a list of phandle + phy specifier pairs [all …]
|
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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/mediatek/ |
D | mt8195-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 11 compatible = "mediatek,mt8195-evb", "mediatek,mt8195"; 18 stdout-path = "serial0:921600n8"; 32 pinctrl-names = "default"; 33 pinctrl-0 = <&i2c0_pin>; 34 clock-frequency = <100000>; 39 pinctrl-names = "default"; 40 pinctrl-0 = <&i2c1_pin>; 41 clock-frequency = <400000>; [all …]
|
D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 26 stdout-path = "serial0:115200n8"; 35 pp3300_z5: regulator-pp3300-ldo-z5 { 36 compatible = "regulator-fixed"; 37 regulator-name = "pp3300_ldo_z5"; 38 regulator-always-on; 39 regulator-boot-on; 40 regulator-min-microvolt = <3300000>; [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-usb | 10 This allows to avoid side-effects with drivers 28 drivers, non-authorized one are not. By default, wired 42 A devices's CDID, as 16 space-separated hex octets. 53 space-separated hex octets. 67 Contact: linux-usb@vger.kernel.org 101 What: /sys/bus/usb-serial/drivers/.../new_id 103 Contact: linux-usb@vger.kernel.org 106 extra bus folder "usb-serial" in sysfs; apart from that 131 If CONFIG_PM is set and a USB 2.0 lpm-capable device is plugged 132 in to a xHCI host which support link PM, it will perform a LPM [all …]
|
/Linux-v6.1/Documentation/driver-api/usb/ |
D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 17 * Changing the default idle-delay time 31 ------------------------- 35 component is ``suspended`` it is in a nonfunctional low-power state; it 37 ``resumed`` (returned to a functional full-power state) when the kernel 67 ---------------------- 85 -------------------------- 101 ------------------- [all …]
|
/Linux-v6.1/drivers/usb/cdns3/ |
D | cdns3-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2019 Cadence. 6 * Copyright (C) 2017-2018 NXP 15 #include <linux/dma-direction.h> 18 * USBSS-DEV register interface. 23 * struct cdns3_usb_regs - device controller registers. 53 * @buf_addr: Address for On-chip Buffer operations. 54 * @buf_data: Data for On-chip Buffer operations. 55 * @buf_ctrl: On-chip Buffer Access Control. 123 /* USB_CONF - bitmasks */ [all …]
|
D | cdnsp-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #include <linux/io-64-nonatomic-lo-hi.h> 19 /* Max number slots - only 1 is allowed. */ 43 * struct cdnsp_cap_regs - CDNSP Registers. 46 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1 47 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2 48 * @hcs_params3: HCSPARAMS3 - Structural Parameters 3 49 * @hcc_params: HCCPARAMS - Capability Parameters 50 * @db_off: DBOFF - Doorbell array offset 51 * @run_regs_off: RTSOFF - Runtime register space offset [all …]
|
/Linux-v6.1/drivers/usb/dwc3/ |
D | host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * host.c - DesignWare USB3 DRD Controller Host Glue 5 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com 19 struct platform_device *pdev = to_platform_device(dwc->dev); in dwc3_host_fill_xhci_irq_res() 20 struct device_node *np = dev_of_node(&pdev->dev); in dwc3_host_fill_xhci_irq_res() 22 dwc->xhci_resources[1].start = irq; in dwc3_host_fill_xhci_irq_res() 23 dwc->xhci_resources[1].end = irq; in dwc3_host_fill_xhci_irq_res() 24 dwc->xhci_resources[1].flags = IORESOURCE_IRQ | irq_get_trigger_type(irq); in dwc3_host_fill_xhci_irq_res() 26 dwc->xhci_resources[1].name = of_node_full_name(pdev->dev.of_node); in dwc3_host_fill_xhci_irq_res() 28 dwc->xhci_resources[1].name = name; in dwc3_host_fill_xhci_irq_res() [all …]
|
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * core.h - DesignWare USB3 DRD Core Header 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 20 #include <linux/dma-mapping.h> 280 /* Global USB2 PHY Configuration Register */ 295 /* Global USB2 PHY Vendor Control Register */ 656 * struct dwc3_event_buffer - Software event buffer representation 690 * struct dwc3_ep - device side endpoint representation 703 * @number: endpoint number (1 - 15) 708 * @name: a human readable name e.g. ep1out-bulk [all …]
|
D | dwc3-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dwc3-pci.c - PCI Specific glue layer 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 55 #define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511" 65 * struct dwc3_pci - Driver private structure 86 { "reset-gpios", &reset_gpios, 1 }, 87 { "cs-gpios", &cs_gpios, 1 }, 107 return -ENOMEM; in dwc3_byt_enable_ulpi_refclock() 145 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"), 148 PROPERTY_ENTRY_BOOL("snps,usb2-gadget-lpm-disable"), [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * core.c - DesignWare USB3 DRD Controller Core file 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 24 #include <linux/dma-mapping.h> 46 * dwc3_get_dr_mode - Validates and sets dr_mode 52 struct device *dev = dwc->dev; in dwc3_get_dr_mode() 55 if (dwc->dr_mode == USB_DR_MODE_UNKNOWN) in dwc3_get_dr_mode() 56 dwc->dr_mode = USB_DR_MODE_OTG; in dwc3_get_dr_mode() 58 mode = dwc->dr_mode; in dwc3_get_dr_mode() 59 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode() [all …]
|
/Linux-v6.1/drivers/usb/host/ |
D | xhci-histb.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017-2018 HiSilicon Co., Ltd. http://www.hisilicon.com 11 #include <linux/dma-mapping.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() 55 /* USB2 PHY chose ulpi 8bit interface */ 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() 63 if (of_property_match_string(np, "phys-names", "combo") >= 0) { in xhci_histb_config() [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 12 #include <linux/dma-mapping.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() 44 priv->plat_start(hcd); in xhci_priv_plat_start() 51 if (!priv->init_quirk) in xhci_priv_init_quirk() [all …]
|
D | xhci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 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" 31 /* Max number of USB devices for any host controller - limit in section 6.1 */ 33 /* Section 5.3.3 - MaxPorts */ 43 * struct xhci_cap_regs - xHCI Host Controller Capability Registers. 45 * @hcs_params1: HCSPARAMS1 - Structural Parameters 1 46 * @hcs_params2: HCSPARAMS2 - Structural Parameters 2 [all …]
|
D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include <linux/dma-mapping.h> 22 #include "xhci-trace.h" 23 #include "xhci-debugfs.h" 24 #include "xhci-dbgcap.h" 42 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 44 if (!td || !td->start_seg) in td_on_ring() 47 if (seg == td->start_seg) in td_on_ring() 49 seg = seg->next; in td_on_ring() 50 } while (seg && seg != ring->first_seg); in td_on_ring() [all …]
|
D | xhci-mtk.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/dma-mapping.h> 24 #include "xhci-mtk.h" 135 struct device *dev = mtk->dev; in xhci_mtk_set_frame_interval() 136 struct usb_hcd *hcd = mtk->hcd; in xhci_mtk_set_frame_interval() 139 if (!of_device_is_compatible(dev->of_node, "mediatek,mt8195-xhci")) in xhci_mtk_set_frame_interval() 142 value = readl(hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval() 145 writel(value, hcd->regs + HFCNTR_CFG); in xhci_mtk_set_frame_interval() 147 value = readl(hcd->regs + LS_EOF_CFG); in xhci_mtk_set_frame_interval() 150 writel(value, hcd->regs + LS_EOF_CFG); in xhci_mtk_set_frame_interval() [all …]
|
/Linux-v6.1/include/linux/ |
D | usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <linux/errno.h> /* for -ENODEV */ 30 /*-------------------------------------------------------------------------*/ 33 * Host-side wrappers for standard USB descriptors ... these are parsed 37 * - devices have one (usually) or more configs; 38 * - configs have one (often) or more interfaces; 39 * - interfaces have one (usually) or more settings; 40 * - each interface setting has zero or (usually) more endpoints. 41 * - a SuperSpeed endpoint has a companion descriptor 45 * Devices may also have class-specific or vendor-specific descriptors. [all …]
|
/Linux-v6.1/drivers/usb/core/ |
D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 54 /* Protect struct usb_device->state and ->children members 55 * Note: Both are also protected by ->dev.sem, except that ->state can 63 /* synchronize hub-port add/remove and peering operations */ 73 * 10 seconds to send reply for the initial 64-byte descriptor request. 75 /* define initial 64-byte descriptor request timeout in milliseconds */ 79 "initial 64-byte descriptor request timeout in milliseconds " 80 "(default 5000 - 5.0 seconds)"); 125 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 127 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
D | port.c | 1 // SPDX-License-Identifier: GPL-2.0 24 struct usb_device *hdev = to_usb_device(dev->parent->parent); in disable_show() 26 struct usb_interface *intf = to_usb_interface(hub->intfdev); in disable_show() 27 int port1 = port_dev->portnum; in disable_show() 37 if (hub->disconnected) { in disable_show() 38 rc = -ENODEV; in disable_show() 59 struct usb_device *hdev = to_usb_device(dev->parent->parent); in disable_store() 61 struct usb_interface *intf = to_usb_interface(hub->intfdev); in disable_store() 62 int port1 = port_dev->portnum; in disable_store() 75 if (hub->disconnected) { in disable_store() [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | msm8996-xiaomi-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 18 compatible = "simple-bus"; 21 compatible = "gpio-gate-clock"; 23 #clock-cells = <0>; 24 enable-gpios = <&pm8994_gpios 15 GPIO_ACTIVE_HIGH>; [all …]
|
D | msm8953.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 4 #include <dt-bindings/clock/qcom,gcc-msm8953.h> 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/power/qcom-rpmpd.h> 8 #include <dt-bindings/thermal/thermal.h> 11 interrupt-parent = <&intc>; 13 #address-cells = <2>; 14 #size-cells = <2>; 19 sleep_clk: sleep-clk { [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | at91-sama5d2_icp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 11 /dts-v1/; 13 #include "sama5d2-pinfunc.h" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 model = "Microchip SAMA5D2-ICP"; 20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 32 stdout-path = "serial0:115200n8"; [all …]
|