/openbmc/linux/Documentation/usb/ |
H A D | chipidea.rst | 6 ----------------------------------- 12 ------------------------- 29 otg-rev = <0x0200>; 30 adp-disable; 33 ------------------- 41 The A-device (with micro A plug inserted) should enumerate B-device. 45 On B-device:: 49 B-device should take host role and enumerate A-device. 51 4) A-device switch back to host. 53 On B-device:: [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | marvell-bt-8xxx.txt | 2 ------ 9 - compatible : should be one of the following: 10 * "marvell,sd8897-bt" (for SDIO) 11 * "marvell,sd8997-bt" (for SDIO) 16 - marvell,cal-data: Calibration data downloaded to the device during 20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip. 21 firmware will use the pin to wakeup host system (u16). 22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host 25 - interrupt-names: Used only for USB based devices (See below) 26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the [all …]
|
H A D | broadcom-bluetooth.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/broadcom-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 13 This binding describes Broadcom UART-attached bluetooth chips. 18 - brcm,bcm20702a1 19 - brcm,bcm4329-bt 20 - brcm,bcm4330-bt 21 - brcm,bcm4334-bt [all …]
|
H A D | nokia-bluetooth.txt | 2 --------------------- 8 UART status lines for wakeup of UART transceivers to improve power management 13 - compatible: should contain "nokia,h4p-bluetooth" as well as one of the following: 14 * "brcm,bcm2048-nokia" 15 * "ti,wl1271-bluetooth-nokia" 16 - reset-gpios: GPIO specifier, used to reset the BT module (active low) 17 - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high) 18 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor (active high) 19 - clock-names: should be "sysclk" 20 - clocks: should contain a clock specifier for every name in clock-names [all …]
|
H A D | realtek-bluetooth.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vasily Khoruzhick <anarsoul@gmail.com> 11 - Alistair Francis <alistair@alistair23.me> 22 - enum: 23 - realtek,rtl8723bs-bt 24 - realtek,rtl8723cs-bt 25 - realtek,rtl8723ds-bt [all …]
|
H A D | btusb.txt | 2 --------------------------------------------------- 6 - compatible : should comply with the format "usbVID,PID" specified in 7 Documentation/devicetree/bindings/usb/usb-device.yaml 13 "usb4ca,301a" (Qualcomm QCA6174A (Lite-On)) 17 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt 21 - interrupt-names: (see below) 22 - interrupts : The interrupt specified by the name "wakeup" is the interrupt 23 that shall be used for out-of-band wake-on-bt. Driver will 24 request this interrupt for wakeup. During system suspend, the 25 irq will be enabled so that the bluetooth chip can wakeup host [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | marvell-8xxx.txt | 2 ------ 10 - compatible : should be one of the following: 21 - marvell,caldata* : A series of properties with marvell,caldata prefix, 23 initialization. This is an array of unsigned 8-bit values. 26 "marvell,caldata-txpwrlimit-2g" (length = 566). 27 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502). 28 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688). 29 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750). 30 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502). 31 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 - $ref: usb-drd.yaml 17 The DRD controller has a glue layer IPPC (IP Port Control), and its host is 23 - enum: 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 26 - mediatek,mt8183-mtu3 [all …]
|
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c.txt | 8 ----------------------------- 10 - #address-cells - should be <1>. Read more about addresses below. 11 - #size-cells - should be <0>. 12 - compatible - name of I2C bus controller 21 ----------------------------- 26 - clock-frequency 29 - i2c-bus 31 devices and non-I2C devices, the 'i2c-bus' subnode can be used for 32 populating I2C devices. If the 'i2c-bus' subnode is present, only 34 '#address-cells' and '#size-cells' must be defined under this subnode [all …]
|
/openbmc/linux/Documentation/virt/kvm/ |
H A D | halt-polling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 of a guest can, under some circumstances, be reduced by polling in the host 11 vcpus of a single vcore have ceded, the host kernel polls for wakeup conditions 16 the order of a few micro-seconds, although performance benefits are workload 17 dependent. In the event that no wakeup source arrives during the polling 20 wakeup periods where the time spent halt polling is minimised and the time 27 The powerpc kvm-hv specific case is implemented in: 39 kvm_vcpu->halt_poll_ns 41 or in the case of powerpc kvm-hv, in the vcore struct: 43 kvmppc_vcore->halt_poll_ns [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | btmrvl.rst | 13 These commands are used to configure the host sleep parameters:: 14 bit 8:0 -- Gap 15 bit 16:8 -- GPIO 17 where GPIO is the pin number of GPIO used to wake up the host. 18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface 19 wakeup will be used instead). 21 where Gap is the gap in milli seconds between wakeup signal and 22 wakeup event, or 0xff for special host sleep setting. 26 # Use SDIO interface to wake up the host and set GAP to 0x80: 30 # Use GPIO pin #3 to wake up the host and set GAP to 0xff: [all …]
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | README | 2 # Copyright 2011-2020 NXP 9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 38 Following are some useful iw commands:- 45 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a] 55 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde] 79 mount -t debugfs debugfs /debugfs 98 bss_mode = "Ad-hoc" | "Managed" | "Auto" | "Unknown" 100 mac_address = <6-byte adapter MAC address> [all …]
|
/openbmc/linux/drivers/usb/fotg210/ |
H A D | fotg210-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * whether to proceed with probing the host or the peripheral 23 #define FOTG210_RR_ID BIT(21) /* 1 = B-device, 0 = A-device */ 24 #define FOTG210_RR_CROLE BIT(20) /* 1 = device, 0 = host */ 27 * Gemini-specific initialization function, only executed on the 30 * The gemini USB blocks are connected to either Mini-A (host mode) or 31 * Mini-B (peripheral mode) plugs. There is no role switch support on the 32 * Gemini SoC, just either-or. 45 struct device *dev = fotg->dev; in fotg210_gemini_init() 46 struct device_node *np = dev->of_node; in fotg210_gemini_init() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ul-phytec-segin-peb-wlbt-05.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 11 reg_wl_en: regulator-wl-en { 12 compatible = "regulator-fixed"; 13 regulator-name = "wlan_en"; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_wl>; [all …]
|
H A D | imx6qdl-phytec-mira-peb-wlbt-05.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 11 reg_wl_en: regulator-wl-en { 12 compatible = "regulator-fixed"; 13 regulator-name = "wlan_en"; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_wl>; [all …]
|
/openbmc/linux/drivers/usb/cdns3/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 NXP 6 * Copyright (C) 2018-2019 Cadence. 20 * struct cdns_role_driver - host/gadget role driver 26 * @name: role name string (host/gadget) 44 bool suspend, bool wakeup); 51 * struct cdns - Representation of Cadence USB3 DRD controller. 64 * @wakeup_irq: irq number for wakeup event, it is optional 67 * @host_dev: the child host device pointer for cdns core 72 * @dr_mode: supported mode of operation it can be only Host, only Device [all …]
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 13 * What is Remote Wakeup? 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 66 What is Remote Wakeup? 67 ---------------------- [all …]
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mtu3.h - MediaTek USB3 DRD header 35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) 36 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10)) 37 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10)) 39 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10)) 40 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10)) 41 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10)) 43 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4)) 44 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4)) [all …]
|
H A D | mtu3_host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * mtu3_dr.c - dual role switch and host glue layer 50 * ip-sleep wakeup mode: 57 switch (ssusb->uwk_vers) { in ssusb_wakeup_ip_sleep_set() 59 reg = ssusb->uwk_reg_base + PERI_WK_CTRL1; in ssusb_wakeup_ip_sleep_set() 64 reg = ssusb->uwk_reg_base + PERI_WK_CTRL0; in ssusb_wakeup_ip_sleep_set() 69 reg = ssusb->uwk_reg_base + PERI_WK_CTRL0; in ssusb_wakeup_ip_sleep_set() 74 reg = ssusb->uwk_reg_base + PERI_SSUSB_SPM_CTRL; in ssusb_wakeup_ip_sleep_set() 81 regmap_update_bits(ssusb->uwk, reg, msk, val); in ssusb_wakeup_ip_sleep_set() 90 /* wakeup function is optional */ in ssusb_wakeup_of_property_parse() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3399-rock-4se.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "rk3399-rock-pi-4.dtsi" 9 #include "rk3399-t-opp.dtsi" 13 compatible = "radxa,rock-4se", "rockchip,rk3399"; 22 vcc5v0_host_en: vcc5v0-host-en { 32 compatible = "brcm,bcm4329-fmac"; 34 interrupt-parent = <&gpio0>; 36 interrupt-names = "host-wake"; 37 pinctrl-names = "default"; [all …]
|
H A D | rk3399-rock-pi-4b.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "rk3399-rock-pi-4.dtsi" 9 #include "rk3399-opp.dtsi" 24 compatible = "brcm,bcm4329-fmac"; 26 interrupt-parent = <&gpio0>; 28 interrupt-names = "host-wake"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&wifi_host_wake_l>; 38 compatible = "jedec,spi-nor"; [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-palmas.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com 12 #include <linux/devm-helpers.h> 44 struct extcon_dev *edev = palmas_usb->edev; in palmas_vbus_irq_handler() 47 palmas_read(palmas_usb->palmas, PALMAS_INTERRUPT_BASE, in palmas_vbus_irq_handler() 51 if (palmas_usb->linkstat != PALMAS_USB_STATE_VBUS) { in palmas_vbus_irq_handler() 52 palmas_usb->linkstat = PALMAS_USB_STATE_VBUS; in palmas_vbus_irq_handler() 54 dev_dbg(palmas_usb->dev, "USB cable is attached\n"); in palmas_vbus_irq_handler() 56 dev_dbg(palmas_usb->dev, in palmas_vbus_irq_handler() 60 if (palmas_usb->linkstat == PALMAS_USB_STATE_VBUS) { in palmas_vbus_irq_handler() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mmc/ |
H A D | mtk-sd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mmc/mtk-sd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MTK MSDC Storage Host Controller 10 - Chaotian Jing <chaotian.jing@mediatek.com> 11 - Wenbin Mei <wenbin.mei@mediatek.com> 16 - enum: 17 - mediatek,mt2701-mmc 18 - mediatek,mt2712-mmc [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | uhci-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * UHCI HCD (Host Controller Driver) PCI Bus Glue. 5 * Extracted from uhci-hcd.c: 9 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com 16 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com). 17 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) 18 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 21 #include "pci-quirks.h" 29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() 41 uhci->io_addr); in uhci_pci_check_and_reset_hc() [all …]
|