/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | usb-drd.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-drd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 otg-rev: 16 which the device and its descriptors are compliant, in binary-coded 18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be 25 Tells Dual-Role USB controllers that we want to work on a particular 31 hnp-disable: [all …]
|
D | dwc2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: usb-drd.yaml# 14 - $ref: usb-hcd.yaml# 19 - const: brcm,bcm2835-usb 20 - const: hisilicon,hi6220-usb 21 - const: ingenic,jz4775-otg 22 - const: ingenic,jz4780-otg [all …]
|
/Linux-v6.1/Documentation/usb/ |
D | chipidea.rst | 5 1. How to test OTG FSM(HNP and SRP) 6 ----------------------------------- 8 To show how to demo OTG HNP and SRP functions via sys input files 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. [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | imx7ulp-com.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 8 #include <dt-bindings/input/input.h> 12 compatible = "ea,imx7ulp-com", "fsl,imx7ulp"; 15 stdout-path = &lpuart4; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_lpuart4>; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&pinctrl_usbotg1_id>; 33 srp-disable; [all …]
|
D | imx7d-mba7.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 3 * Device Tree Source for TQ-Systems TQMa7D board on MBa7 carrier board. 5 * Copyright (C) 2016 TQ-Systems GmbH 6 * Author: Markus Niebel <Markus.Niebel@tq-group.com> 10 /dts-v1/; 12 #include "imx7d-tqma7.dtsi" 13 #include "imx7-mba7.dtsi" 16 model = "TQ-Systems TQMa7D board on MBa7 carrier board"; 17 compatible = "tq,imx7d-mba7", "tq,imx7d-tqma7", "fsl,imx7d"; 21 pinctrl-names = "default"; [all …]
|
D | imx7ulp-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 8 /dts-v1/; 14 compatible = "fsl,imx7ulp-evk", "fsl,imx7ulp"; 17 stdout-path = &lpuart4; 26 compatible = "pwm-backlight"; 28 brightness-levels = <0 20 25 30 35 40 100>; 29 default-brightness-level = <6>; 33 reg_usb_otg1_vbus: regulator-usb-otg1-vbus { 34 compatible = "regulator-fixed"; [all …]
|
D | imx6ulz-bsh-smm-m2.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull", "fsl,imx6ulz"; 16 stdout-path = &uart4; 19 usdhc2_pwrseq: usdhc2-pwrseq { 20 compatible = "mmc-pwrseq-simple"; 21 reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_gpmi_nand>; [all …]
|
D | imx6q-var-dt6customboard.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Support for Variscite DART-MX6 Carrier-board 9 /dts-v1/; 12 #include "imx6qdl-var-dart.dtsi" 13 #include <dt-bindings/input/linux-event-codes.h> 16 model = "Variscite DART-MX6 Carrier-board"; 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 4 8 16 32 64 128 248>; 23 default-brightness-level = <7>; 27 gpio-keys { [all …]
|
D | qcom-apq8074-dragonboard.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/gpio/gpio.h> 3 #include "qcom-msm8974.dtsi" 4 #include "qcom-pm8841.dtsi" 5 #include "qcom-pm8941.dtsi" 9 compatible = "qcom,apq8074-dragonboard", "qcom,apq8074"; 18 stdout-path = "serial0:115200n8"; 28 clock-frequency = <200000>; 34 read-only; 42 phy-select = <&tcsr 0xb000 1>; [all …]
|
D | e70k02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and 14 #include <dt-bindings/input/input.h> 23 stdout-path = &uart1; 26 gpio_keys: gpio-keys { 27 compatible = "gpio-keys"; 29 key-power { 33 wakeup-source; 36 key-cover { 40 linux,input-type = <EV_SW>; [all …]
|
D | e60k02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 * found in ebook-readers like the Kobo Clara HD (with i.MX6SLL) and 14 #include <dt-bindings/input/input.h> 19 stdout-path = &uart1; 22 gpio_keys: gpio-keys { 23 compatible = "gpio-keys"; 25 key-power { 29 wakeup-source; 32 key-cover { 36 linux,input-type = <EV_SW>; [all …]
|
D | imx7d-remarkable2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright (C) 2019 reMarkable AS - http://www.remarkable.com/ 8 /dts-v1/; 14 compatible = "remarkable,imx7d-remarkable2", "fsl,imx7d"; 17 stdout-path = &uart6; 25 reg_brcm: regulator-brcm { 26 compatible = "regulator-fixed"; 27 regulator-name = "brcm_reg"; 28 regulator-min-microvolt = <3300000>; 29 regulator-max-microvolt = <3300000>; [all …]
|
D | imx6ul-kontron-bl-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 11 gpio-leds { 12 compatible = "gpio-leds"; 13 pinctrl-names = "default"; 14 pinctrl-0 = <&pinctrl_gpio_leds>; 17 label = "debug-led1"; 19 default-state = "off"; 20 linux,default-trigger = "heartbeat"; 24 label = "debug-led2"; [all …]
|
D | imx7d-flex-concentrator.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "imx7d-tqma7.dtsi" 14 /delete-node/ &ds1339; 18 compatible = "kam,imx7d-flex-concentrator", "fsl,imx7d"; 22 /* 1024 MB - TQMa7D board configuration */ 26 reg_usb_otg2_vbus: regulator-usb-otg2-vbus { 27 compatible = "regulator-fixed"; 28 regulator-name = "VBUS_USBOTG2"; 29 regulator-min-microvolt = <5000000>; [all …]
|
D | qcom-msm8974pro-fairphone-fp2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974pro.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; [all …]
|
D | qcom-msm8974-sony-xperia-rhine.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-msm8974.dtsi" 3 #include "qcom-pm8841.dtsi" 4 #include "qcom-pm8941.dtsi" 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 15 stdout-path = "serial0:115200n8"; 18 gpio-keys { 19 compatible = "gpio-keys"; [all …]
|
/Linux-v6.1/drivers/usb/dwc2/ |
D | core_intr.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core_intr.c - DesignWare HS OTG Controller common interrupt handling 5 * Copyright (C) 2004-2013 Synopsys, Inc. 16 #include <linux/dma-mapping.h> 29 switch (hsotg->op_state) { in dwc2_op_state_str() 46 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts. 63 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message 72 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr() 77 * dwc2_handle_otg_intr() - Handles the OTG Interrupts. It reads the OTG 90 dev_dbg(hsotg->dev, "++OTG Interrupt gotgint=%0x [%s]\n", gotgint, in dwc2_handle_otg_intr() [all …]
|
D | core.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * core.h - DesignWare HS OTG Controller common declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 21 * - no_printk: Disable tracing 22 * - pr_info: Print this info to the console 23 * - trace_printk: Print this info to trace buffer (good for verbose logging) 32 dev_name(hsotg->dev), ##__VA_ARGS__) 37 dev_name(hsotg->dev), ##__VA_ARGS__) 42 /* dwc2-hsotg declarations */ 74 * struct dwc2_hsotg_ep - driver endpoint definition. [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8mm-var-som-symphony.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx8mm-var-som.dtsi" 11 model = "Variscite VAR-SOM-MX8MM Symphony evaluation board"; 12 compatible = "variscite,var-som-mx8mm-symphony", "variscite,var-som-mx8mm", "fsl,imx8mm"; 14 reg_usdhc2_vmmc: regulator-usdhc2-vmmc { 15 compatible = "regulator-fixed"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; 18 regulator-name = "VSD_3V3"; [all …]
|
D | imx8mm-tqma8mqml-mba8mx.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2020-2021 TQ-Systems GmbH 6 /dts-v1/; 8 #include "imx8mm-tqma8mqml.dtsi" 12 model = "TQ-Systems GmbH i.MX8MM TQMa8MxML on MBa8Mx"; 13 compatible = "tq,imx8mm-tqma8mqml-mba8mx", "tq,imx8mm-tqma8mqml", "fsl,imx8mm"; 24 reg_usdhc2_vmmc: regulator-vmmc { 25 compatible = "regulator-fixed"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>; [all …]
|
D | imx8mq-tqma8mq-mba8mx.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) 3 * Copyright 2019-2021 TQ-Systems GmbH 6 /dts-v1/; 8 #include "imx8mq-tqma8mq.dtsi" 12 model = "TQ-Systems GmbH i.MX8MQ TQMa8MQ on MBa8Mx"; 13 compatible = "tq,imx8mq-tqma8mq-mba8mx", "tq,imx8mq-tqma8mq", "fsl,imx8mq"; 23 extcon_usbotg: extcon-usbotg0 { 24 compatible = "linux,extcon-usb-gpio"; 25 pinctrl-names = "default"; 26 pinctrl-0 = <&pinctrl_usbcon0>; [all …]
|
D | imx8mn-evk.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/usb/pd.h> 11 stdout-path = &uart2; 14 gpio-leds { 15 compatible = "gpio-leds"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_gpio_led>; 22 default-state = "on"; 31 reg_usdhc2_vmmc: regulator-usdhc2 { 32 compatible = "regulator-fixed"; [all …]
|
/Linux-v6.1/drivers/usb/musb/ |
D | musb_core.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 11 * Inventra (Multipoint) Dual-Role Controller Driver for Linux. 15 * in the works. These are normal Linux-USB controller drivers which 29 * - Lack of host-side transaction scheduling, for all transfer types. 35 * includes DaVinci EVM in a common non-OTG mode. 59 * - Kconfig for everything user-configurable 60 * - platform_device for addressing, irq, and platform_data 61 * - platform_data is mostly for board-specific information [all …]
|
/Linux-v6.1/drivers/usb/dwc3/ |
D | drd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drd.c - DesignWare USB3 DRD Controller Dual-role support 5 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com 21 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_disable_events() 24 dwc3_writel(dwc->regs, DWC3_OEVTEN, reg); in dwc3_otg_disable_events() 29 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_enable_events() 32 dwc3_writel(dwc->regs, DWC3_OEVTEN, reg); in dwc3_otg_enable_events() 37 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVT); in dwc3_otg_clear_events() 39 dwc3_writel(dwc->regs, DWC3_OEVTEN, reg); in dwc3_otg_clear_events() 56 spin_lock(&dwc->lock); in dwc3_otg_thread_irq() [all …]
|
/Linux-v6.1/drivers/usb/chipidea/ |
D | otg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * otg.c - ChipIdea USB IP core OTG driver 11 * This file mainly handles otgsc register, OTG fsm operations for HNP and SRP 25 * hw_read_otgsc - returns otgsc register bits value. 38 cable = &ci->platdata->vbus_extcon; in hw_read_otgsc() 39 if (!IS_ERR(cable->edev) || ci->role_switch) { in hw_read_otgsc() 40 if (cable->changed) in hw_read_otgsc() 45 if (cable->connected) in hw_read_otgsc() 50 if (cable->enabled) in hw_read_otgsc() 56 cable = &ci->platdata->id_extcon; in hw_read_otgsc() [all …]
|