/linux/Documentation/ABI/testing/ |
H A D | usb-charger-uevent | 1 What: Raise a uevent when a USB charger is inserted or removed 2 Date: 2020-01-14 4 Contact: linux-usb@vger.kernel.org 5 Description: There are two USB charger states: 7 - USB_CHARGER_ABSENT 8 - USB_CHARGER_PRESENT 10 There are five USB charger types: 20 https://www.usb.org/document-library/battery-charging-v12-spec-and-adopters-agreement 22 Here are two examples taken using ``udevadm monitor -p`` when 23 USB charger is online:: [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-nop-xceiv.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/usb-nop-xceiv.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB NOP PHY 10 - Rob Herring <robh@kernel.org> 14 const: usb-nop-xceiv 19 clock-names: 22 clock-frequency: true 24 '#phy-cells': [all …]
|
H A D | ingenic,musb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/ingenic,musb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Ingenic JZ47xx USB IP 10 - Paul Cercueil <paul@crapouillou.net> 14 pattern: '^usb@.*' 18 - enum: 19 - ingenic,jz4770-musb 20 - ingenic,jz4740-musb [all …]
|
/linux/arch/arm/boot/dts/xilinx/ |
H A D | zynq-cc108.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2007-2018 Xilinx, Inc. 6 * (C) Copyright 2007-2013 Michal Simek 7 * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd 11 /dts-v1/; 12 /include/ "zynq-7000.dtsi" 16 compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000"; 25 stdout-path = "serial0:115200n8"; 34 compatible = "usb-nop-xceiv"; 35 #phy-cells = <0>; [all …]
|
H A D | zynq-zed.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2011 - 2014 Xilinx 6 /dts-v1/; 7 #include "zynq-7000.dtsi" 11 compatible = "avnet,zynq-zed", "xlnx,zynq-zed", "xlnx,zynq-7000"; 26 stdout-path = "serial0:115200n8"; 30 compatible = "usb-nop-xceiv"; 31 #phy-cells = <0>; 36 ps-clk-frequency = <33333333>; 41 phy-mode = "rgmii-id"; [all …]
|
H A D | zynq-zybo.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2011 - 2014 Xilinx 6 /dts-v1/; 7 #include "zynq-7000.dtsi" 11 compatible = "digilent,zynq-zybo", "xlnx,zynq-7000"; 26 stdout-path = "serial0:115200n8"; 30 #phy-cells = <0>; 31 compatible = "usb-nop-xceiv"; 32 reset-gpios = <&gpio0 46 1>; 37 ps-clk-frequency = <50000000>; [all …]
|
H A D | zynq-zc770-xm011.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2013-2018 Xilinx, Inc. 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-zc770-xm011", "xlnx,zynq-7000"; 22 stdout-path = "serial0:115200n8"; 31 compatible = "usb-nop-xceiv"; 32 #phy-cells = <0>; 42 clock-frequency = <400000>; 52 num-cs = <4>; [all …]
|
H A D | zynq-zybo-z7.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "zynq-7000.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 8 compatible = "digilent,zynq-zybo-z7", "xlnx,zynq-7000"; 22 stdout-path = "serial0:115200n8"; 25 gpio-leds { 26 compatible = "gpio-leds"; 28 led-ld4 { 29 label = "zynq-zybo-z7:green:ld4"; [all …]
|
H A D | zynq-microzed.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2011 - 2014 Xilinx 6 /dts-v1/; 7 /include/ "zynq-7000.dtsi" 11 compatible = "avnet,zynq-microzed", "xlnx,zynq-microzed", "xlnx,zynq-7000"; 25 stdout-path = "serial0:115200n8"; 29 compatible = "usb-nop-xceiv"; 30 #phy-cells = <0>; 35 ps-clk-frequency = <33333333>; 40 phy-mode = "rgmii-id"; [all …]
|
H A D | zynq-zc770-xm010.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2013-2018 Xilinx, Inc. 7 /dts-v1/; 8 #include "zynq-7000.dtsi" 12 compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000"; 23 stdout-path = "serial0:115200n8"; 32 compatible = "usb-nop-xceiv"; 33 #phy-cells = <0>; 43 phy-mode = "rgmii-id"; 44 phy-handle = <ðernet_phy>; [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx27-phytec-phycard-s-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 Sascha Hauer, Uwe Kleine-König, Steffen Trumtrar 7 /dts-v1/; 12 compatible = "phytec,imx27-pca100", "fsl,imx27"; 20 compatible = "usb-nop-xceiv"; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_usbotgphy>; 23 reset-gpios = <&gpio2 25 GPIO_ACTIVE_LOW>; 24 #phy-cells = <0>; 28 compatible = "usb-nop-xceiv"; [all …]
|
H A D | imx35.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include "imx35-pinfunc.h" 10 #address-cells = <1>; 11 #size-cells = <1>; 14 * pre-existing /chosen node to be available to insert the 38 #address-cells = <1>; 39 #size-cells = <0>; 42 compatible = "arm,arm1136jf-s"; 48 avic: avic-interrupt-controller@68000000 { 49 compatible = "fsl,imx35-avic", "fsl,avic"; [all …]
|
H A D | imx51-digi-connectcore-jsk.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include "imx51-digi-connectcore-som.dtsi" 9 model = "Digi ConnectCore CC(W)-MX51 JSK"; 10 compatible = "digi,connectcore-ccxmx51-jsk", 11 "digi,connectcore-ccxmx51-som", "fsl,imx51"; 14 stdout-path = &uart1; 18 compatible = "usb-nop-xceiv"; 20 clock-names = "main_clk"; 21 #phy-cells = <0>; 30 pinctrl-names = "default"; [all …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | cn9132-db.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Device tree for the CN9132-DB board. 8 #include "cn9131-db.dtsi" 12 "marvell,armada-ap807-quad", "marvell,armada-ap807"; 20 cp2_reg_usb3_vbus0: regulator-7 { 21 compatible = "regulator-fixed"; 22 regulator-name = "cp2-xhci0-vbus"; 23 regulator-min-microvolt = <5000000>; 24 regulator-max-microvolt = <5000000>; 25 enable-active-high; [all …]
|
H A D | armada-8040-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include "armada-8040.dtsi" 13 compatible = "marvell,armada8040-db", "marvell,armada8040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17 stdout-path = "serial0:115200n8"; 34 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { 35 compatible = "regulator-fixed"; 36 regulator-name = "cp0-usb3h0-vbus"; 37 regulator-min-microvolt = <5000000>; [all …]
|
H A D | ac5-98dx35xx-rd.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree For RD-AC5X. 13 /dts-v1/; 15 #include "ac5-98dx35xx.dtsi" 18 model = "Marvell RD-AC5X Board"; 19 compatible = "marvell,rd-ac5x", "marvell,ac5x", "marvell,ac5"; 35 usb1phy: usb-phy { 36 compatible = "usb-nop-xceiv"; 37 #phy-cells = <0>; 42 phy0: ethernet-phy@0 { [all …]
|
H A D | cn9130-crb.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <dt-bindings/gpio/gpio.h> 12 stdout-path = "serial0:115200n8"; 29 ap0_reg_mmc_vccq: regulator-1 { 30 compatible = "regulator-gpio"; 31 regulator-name = "ap0_mmc_vccq"; 32 regulator-min-microvolt = <1800000>; 33 regulator-max-microvolt = <3300000>; 39 cp0_reg_usb3_vbus1: regulator-2 { 40 compatible = "regulator-fixed"; [all …]
|
H A D | cn9130-db.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Device tree for the CN9130-DB board. 10 #include <dt-bindings/gpio/gpio.h> 14 stdout-path = "serial0:115200n8"; 33 ap0_reg_sd_vccq: regulator-1 { 34 compatible = "regulator-gpio"; 35 regulator-name = "ap0_sd_vccq"; 36 regulator-min-microvolt = <1800000>; 37 regulator-max-microvolt = <3300000>; 42 cp0_reg_usb3_vbus0: regulator-2 { [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-388-helios4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 /dts-v1/; 11 #include "armada-388.dtsi" 12 #include "armada-38x-solidrun-microsom.dtsi" 25 /* So that mvebu u-boot can update the MAC addresses */ 30 stdout-path = "serial0:115200n8"; 33 reg_12v: regulator-12v { 34 compatible = "regulator-fixed"; 35 regulator-name = "power_brick_12V"; 36 regulator-min-microvolt = <12000000>; [all …]
|
H A D | armada-385-synology-ds116.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include "armada-385.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 14 compatible = "marvell,a385-gp", "marvell,armada385", "marvell,armada380"; 17 stdout-path = "serial0:115200n8"; 32 internal-regs { 34 pinctrl-names = "default"; 35 pinctrl-0 = <&i2c0_pins>; 37 clock-frequency = <100000>; [all …]
|
H A D | armada-388-gp.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * (RD-88F6820-GP) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 11 /dts-v1/; 12 #include "armada-388.dtsi" 13 #include <dt-bindings/gpio/gpio.h> 16 model = "Marvell Armada 388 DB-88F6820-GP"; 17 compatible = "marvell,a388-gp", "marvell,armada388", "marvell,armada380"; 20 stdout-path = "serial0:115200n8"; 35 internal-regs { [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-cm-t3x.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Common support for CompuLab CM-T3x CoMs 14 compatible = "gpio-leds"; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&green_led_pins>; 18 label = "cm-t3x:green"; 20 linux,default-trigger = "heartbeat"; 24 /* HS USB Port 1 Power */ 26 compatible = "regulator-fixed"; 27 regulator-name = "hsusb1_vbus"; [all …]
|
H A D | motorola-mapphone-handset.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "motorola-mapphone-common.dtsi" 7 /* FS USB Host PHY on port 1 for mdm6600 */ 8 fsusb1_phy: usb-phy@1 { 9 compatible = "motorola,mapphone-mdm6600"; 10 pinctrl-0 = <&usb_mdm6600_pins>; 11 pinctrl-1 = <&usb_mdm6600_sleep_pins>; 12 pinctrl-names = "default", "sleep"; 13 enable-gpios = <&gpio3 31 GPIO_ACTIVE_LOW>; /* gpio_95 */ [all …]
|
/linux/arch/arm/boot/dts/nspire/ |
H A D | nspire.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #address-cells = <1>; 8 #size-cells = <1>; 9 interrupt-parent = <&intc>; 12 #address-cells = <1>; 13 #size-cells = <0>; 16 compatible = "arm,arm926ej-s"; 27 compatible = "mmio-sram"; 29 #address-cells = <1>; 30 #size-cells = <1>; [all …]
|
/linux/drivers/usb/musb/ |
H A D | musb_dsps.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/dma-mapping.h> 24 #include <linux/usb/usb_phy_generic.h> 25 #include <linux/platform_data/usb-omap.h> 30 #include <linux/usb/of.h> 135 struct musb *musb = platform_get_drvdata(glue->musb); in dsps_mod_timer() 139 wait = msecs_to_jiffies(glue->wrp->poll_timeout); in dsps_mod_timer() 143 mod_timer(&musb->dev_timer, jiffies + wait); in dsps_mod_timer() 151 if (glue->vbus_irq) in dsps_mod_timer_optional() 154 dsps_mod_timer(glue, -1); in dsps_mod_timer_optional() [all …]
|