| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/ |
| H A 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# 48 clock-names: [all …]
|
| H A D | usb-xhci.txt | 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) 14 SoC-specific version corresponding to the platform first 17 - reg: should contain address and length of the standard XHCI 19 - interrupts: one XHCI interrupt should be described here. [all …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/usb/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/cdns3/ |
| H A D | gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2019 Cadence. 6 * Copyright (C) 2017-2018 NXP 17 * USBSS-DEV register interface. 22 * struct cdns3_usb_regs - device controller registers. 52 * @buf_addr: Address for On-chip Buffer operations. 53 * @buf_data: Data for On-chip Buffer operations. 54 * @buf_ctrl: On-chip Buffer Access Control. 122 /* USB_CONF - bitmasks */ 131 /* Little Endian access - default */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/cdns3/ |
| H A D | gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2019 Cadence. 6 * Copyright (C) 2017-2018 NXP 17 * USBSS-DEV register interface. 22 * struct cdns3_usb_regs - device controller registers. 52 * @buf_addr: Address for On-chip Buffer operations. 53 * @buf_data: Data for On-chip Buffer operations. 54 * @buf_ctrl: On-chip Buffer Access Control. 122 /* USB_CONF - bitmasks */ 131 /* Little Endian access - default */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A 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 17 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_get_irq() 24 if (irq == -EPROBE_DEFER) in dwc3_host_get_irq() 31 if (irq == -EPROBE_DEFER) in dwc3_host_get_irq() 39 irq = -EINVAL; in dwc3_host_get_irq() 51 struct platform_device *dwc3_pdev = to_platform_device(dwc->dev); in dwc3_host_init() 65 return -ENOMEM; in dwc3_host_init() 67 dwc->xhci_resources[1].start = irq; in dwc3_host_init() [all …]
|
| H A 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 47 #define PCI_INTEL_BXT_DSM_GUID "732b85d5-b7a7-4a1b-9ba0-4bbd00ffd511" 57 * struct dwc3_pci - Driver private structure 78 { "reset-gpios", &reset_gpios, 1 }, 79 { "cs-gpios", &cs_gpios, 1 }, 99 return -ENOMEM; in dwc3_byt_enable_ulpi_refclock() 122 PROPERTY_ENTRY_STRING("linux,extcon-name", "mrfld_bcove_pwrsrc"), 125 PROPERTY_ENTRY_BOOL("snps,usb2-gadget-lpm-disable"), [all …]
|
| H A 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> 278 /* Global USB2 PHY Configuration Register */ 293 /* Global USB2 PHY Vendor Control Register */ 646 * struct dwc3_event_buffer - Software event buffer representation 682 * struct dwc3_ep - device side endpoint representation 695 * @number: endpoint number (1 - 15) 700 * @name: a human readable name e.g. ep1out-bulk [all …]
|
| H A 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> 44 * dwc3_get_dr_mode - Validates and sets dr_mode 50 struct device *dev = dwc->dev; in dwc3_get_dr_mode() 53 if (dwc->dr_mode == USB_DR_MODE_UNKNOWN) in dwc3_get_dr_mode() 54 dwc->dr_mode = USB_DR_MODE_OTG; in dwc3_get_dr_mode() 56 mode = dwc->dr_mode; in dwc3_get_dr_mode() 57 hw_mode = DWC3_GHWPARAMS0_MODE(dwc->hwparams.hwparams0); in dwc3_get_dr_mode() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3566.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 /delete-property/ ethernet0; 15 /delete-node/ opp-1992000000; 41 rockchip,iq-feature = /bits/ 64 <0x1BFBF7FE67FF>; 46 phy-names = "usb2-phy"; 48 maximum-speed = "high-speed"; 50 snps,usb2-lpm-disable; 53 /delete-node/ &combphy0_us; 54 /delete-node/ &gmac0_clkin; 55 /delete-node/ &gmac0_xpcsclk; [all …]
|
| H A D | rk3562-test2-ddr4-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 10 #include "rk3562-evb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 16 compatible = "rockchip,rk3562-test2-ddr4-v10", "rockchip,rk3562"; 18 dc_12v: dc-12v { 19 compatible = "regulator-fixed"; 20 regulator-name = "dc_12v"; 21 regulator-always-on; [all …]
|
| H A D | rk3528-evb2-ddr3-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 10 #include "rk3528-evb.dtsi" 14 compatible = "rockchip,rk3528-evb2-ddr3-v10", "rockchip,rk3528"; 16 pcie20_usb30_avdd0v9: pcie20-usb30-avdd0v9 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pcie20_usb30-avdd0v9"; 19 regulator-boot-on; 20 regulator-always-on; 21 regulator-min-microvolt = <900000>; [all …]
|
| H A D | rk3528-evb3-lp4x-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 10 #include "rk3528-evb.dtsi" 14 compatible = "rockchip,rk3528-evb3-lp4x-v10", "rockchip,rk3528"; 16 vcc5v0_sys_s0: vcc5v0-sys-s0 { 17 compatible = "regulator-fixed"; 18 regulator-name = "vcc5v0_sys_s0"; 19 regulator-always-on; 20 regulator-boot-on; 21 regulator-min-microvolt = <5000000>; [all …]
|
| H A D | rk3562-iotest-lp3-v10-linux.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 10 #include "rk3562-linux.dtsi" 14 compatible = "rockchip,rk3562-iotest-lp3-v10", "rockchip,rk3562"; 16 dc_12v: dc-12v { 17 compatible = "regulator-fixed"; 18 regulator-name = "dc_12v"; 19 regulator-always-on; 20 regulator-boot-on; 21 regulator-min-microvolt = <12000000>; [all …]
|
| H A D | rk3562-evb2-ddr4-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 10 #include "rk3562-evb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/pinctrl/rockchip.h> 13 #include <dt-bindings/sensor-dev.h> 17 compatible = "rockchip,rk3562-evb2-ddr4-v10", "rockchip,rk3562"; 19 dc_12v: dc-12v { 20 compatible = "regulator-fixed"; 21 regulator-name = "dc_12v"; [all …]
|
| H A D | rk3528-demo.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/rk-input.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include "rk-stb-ir-keymap.dtsi" 14 acodec_sound: acodec-sound { 16 compatible = "simple-audio-card"; 17 simple-audio-card,name = "rk3528-acodec"; 18 simple-audio-card,format = "i2s"; 19 simple-audio-card,mclk-fs = <256>; [all …]
|
| H A D | rk3562-evb1-lp4x-v10.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "dt-bindings/usb/pd.h" 11 #include "rk3562-evb.dtsi" 12 #include "rk3562-evb1-cam.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/pinctrl/rockchip.h> 15 #include <dt-bindings/sensor-dev.h> 19 compatible = "rockchip,rk3562-evb1-lp4x-v10", "rockchip,rk3562"; 21 dc_12v: dc-12v { [all …]
|
| H A D | rk3562j-core-ddr4-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include "rk3562j-electric.dtsi" 15 compatible = "rockchip,rk3562j-core-ddr4-v10", "rockchip,rk3562"; 18 …bootargs = "earlycon=uart8250,mmio32,0xff210000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rw roo… 21 fiq-debugger { 22 compatible = "rockchip,fiq-debugger"; 23 rockchip,serial-id = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A 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 …]
|
| H A 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->plat_setup) in xhci_priv_plat_setup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/core/ |
| H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 52 /* Protect struct usb_device->state and ->children members 53 * Note: Both are also protected by ->dev.sem, except that ->state can 61 /* synchronize hub-port add/remove and peering operations */ 71 * 10 seconds to send reply for the initial 64-byte descriptor request. 73 /* define initial 64-byte descriptor request timeout in milliseconds */ 77 "initial 64-byte descriptor request timeout in milliseconds " 78 "(default 5000 - 5.0 seconds)"); 123 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 125 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | usb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #include <linux/errno.h> /* for -ENODEV */ 31 /*-------------------------------------------------------------------------*/ 34 * Host-side wrappers for standard USB descriptors ... these are parsed 38 * - devices have one (usually) or more configs; 39 * - configs have one (often) or more interfaces; 40 * - interfaces have one (usually) or more settings; 41 * - each interface setting has zero or (usually) more endpoints. 42 * - a SuperSpeed endpoint has a companion descriptor 46 * Devices may also have class-specific or vendor-specific descriptors. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/dwc3/ |
| H A D | core.c | 2 * core.c - DesignWare USB3 DRD Controller Core file 4 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 9 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/core.c) and ported 12 * commit cd72f890d2 : usb: dwc3: core: enable phy suspend quirk on non-FPGA 14 * SPDX-License-Identifier: GPL-2.0 20 #include <dwc3-uboot.h> 21 #include <asm/dma-mapping.h> 24 #include <generic-phy.h> 32 #include "linux-compat.h" 37 /* -------------------------------------------------------------------------- */ [all …]
|