/Linux-v6.6/Documentation/devicetree/bindings/phy/ |
D | nvidia,tegra194-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra194-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
D | nvidia,tegra186-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra186-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
D | nvidia,tegra210-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra210-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
D | nvidia,tegra124-xusb-padctl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra124-xusb-padctl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 21 Some of the lanes are high-speed lanes, which can be used for PCIe, SATA or 22 super-speed USB. Other lanes are for various types of low-speed, full-speed 23 or high-speed USB (such as UTMI, ULPI and HSIC). The XUSB pad controller 24 contains a software-configurable mux that sits between the I/O controller [all …]
|
D | allwinner,suniv-f1c100s-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,suniv-f1c100s-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner F1C100s USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,suniv-f1c100s-usb-phy 24 reg-names: [all …]
|
D | allwinner,sun8i-v3s-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun8i-v3s-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner V3s USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 18 const: allwinner,sun8i-v3s-usb-phy 22 - description: PHY Control registers [all …]
|
D | allwinner,sun50i-a64-usb-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/phy/allwinner,sun50i-a64-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Allwinner A64 USB PHY 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#phy-cells": 19 - allwinner,sun20i-d1-usb-phy 20 - allwinner,sun50i-a64-usb-phy [all …]
|
/Linux-v6.6/drivers/extcon/ |
D | extcon-usb-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/extcon/extcon-usb-gpio.c - USB GPIO extcon driver 5 * Copyright (C) 2015 Texas Instruments Incorporated - https://www.ti.com 9 #include <linux/extcon-provider.h> 44 * "USB" = VBUS and "USB-HOST" = !ID, so we have: 45 * Both "USB" and "USB-HOST" can't be set as active at the 46 * same time so if "USB-HOST" is active (i.e. ID is 0) we keep "USB" inactive 47 * even if VBUS is on. 49 * State | ID | VBUS 50 * ---------------------------------------- [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/usb/ |
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 …]
|
D | qcom,pmic-typec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm PMIC based USB Type-C block 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Qualcomm PMIC Type-C block 18 - qcom,pm8150b-typec 22 $ref: /schemas/connector/usb-connector.yaml# 26 description: Type-C port and pdphy SPMI register base offsets [all …]
|
D | atmel-usb.txt | 1 Atmel SOC USB controllers 6 - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers 8 - reg: Address and length of the register set for the device 9 - interrupts: Should contain ohci interrupt 10 - clocks: Should reference the peripheral, host and system clocks 11 - clock-names: Should contain three strings 15 - num-ports: Number of ports. 16 - atmel,vbus-gpio: If present, specifies a gpio that needs to be 18 - atmel,oc-gpio: If present, specifies a gpio that needs to be 22 compatible = "atmel,at91rm9200-ohci", "usb-ohci"; [all …]
|
D | fcs,fusb302.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/fcs,fusb302.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fairchild FUSB302 Type-C Port controller 10 - Rob Herring <robh@kernel.org> 22 vbus-supply: 23 description: VBUS power supply 27 $ref: /schemas/connector/usb-connector.yaml# 31 - compatible [all …]
|
D | ohci-da8xx.txt | 1 DA8XX USB OHCI controller 5 - compatible: Should be "ti,da830-ohci" 6 - reg: Should contain one register range i.e. start and length 7 - interrupts: Description of the interrupt line 8 - phys: Phandle for the PHY device 9 - phy-names: Should be "usb-phy" 12 - vbus-supply: phandle of regulator that controls vbus power / over-current 16 ohci: usb@225000 { 17 compatible = "ti,da830-ohci"; 21 phy-names = "usb-phy"; [all …]
|
D | ci-hdrc-usb2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/ci-hdrc-usb2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB2 ChipIdea USB controller 10 - Xu Yang <xu.yang_2@nxp.com> 11 - Peng Fan <peng.fan@nxp.com> 16 - enum: 17 - chipidea,usb2 18 - lsi,zevio-usb [all …]
|
/Linux-v6.6/drivers/usb/common/ |
D | usb-conn-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB GPIO Based Connection Detection Driver 9 * Some code borrowed from drivers/extcon/extcon-usb-gpio.c 22 #include <linux/usb/role.h> 34 struct regulator *vbus; member 49 * "DEVICE" = VBUS and "HOST" = !ID, so we have: 52 * even if VBUS is on. 54 * Role | ID | VBUS 55 * ------------------------------------ 62 * - VBUS only - we want to distinguish between [1] and [2], so ID is always 1 [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/connector/ |
D | usb-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: USB Connector 10 - Rob Herring <robh@kernel.org> 13 A USB connector node represents a physical USB connector. It should be a child 14 of a USB interface controller or a separate node when it is attached to both 15 MUX and USB interface controller. 20 - enum: [all …]
|
/Linux-v6.6/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Allwinner sun4i USB phy driver 5 * Copyright (C) 2014-2015 Hans de Goede <hdegoede@redhat.com> 18 #include <linux/extcon-provider.h> 28 #include <linux/phy/phy-sun4i-usb.h> 34 #include <linux/usb/of.h> 58 /* sunxi has the phy id/vbus pins not connected, so we use the force bits */ 95 * otherwise we get Vbus errors 122 struct regulator *vbus; member 146 container_of((phy), struct sun4i_usb_phy_data, phys[(phy)->index]) [all …]
|
/Linux-v6.6/drivers/phy/motorola/ |
D | phy-cpcap-usb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Motorola CPCAP PMIC USB PHY driver 7 * board-mapphone-usb.c and cpcap-usb-det.c: 8 * Copyright (C) 2007 - 2011 Motorola, Inc. 26 #include <linux/mfd/motorola-cpcap.h> 30 #include <linux/usb/musb.h> 110 CPCAP_UNKNOWN_DISABLED, /* Seems to disable USB lines */ 124 struct iio_channel *vbus; member 136 error = iio_read_channel_processed(ddata->vbus, &value); in cpcap_usb_vbus_valid() 140 dev_err(ddata->dev, "error reading VBUS: %i\n", error); in cpcap_usb_vbus_valid() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/extcon/ |
D | extcon-usb-gpio.txt | 1 USB GPIO Extcon device 3 This is a virtual device used to generate USB cable states from the USB ID pin 7 - compatible: Should be "linux,extcon-usb-gpio" 9 Either one of id-gpio or vbus-gpio must be present. Both can be present as well. 10 - id-gpio: gpio for USB ID pin. See gpio binding. 11 - vbus-gpio: gpio for USB VBUS pin. 13 Example: Examples of extcon-usb-gpio node in dra7-evm.dts as listed below: 15 compatible = "linux,extcon-usb-gpio"; 16 id-gpio = <&gpio6 1 GPIO_ACTIVE_HIGH>;
|
/Linux-v6.6/drivers/usb/phy/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # Physical Layer USB driver configuration 5 menu "USB Physical Layer drivers" 12 # USB Transceiver Drivers 15 tristate "AB8500 USB Transceiver Driver" 19 Enable this to support the USB OTG transceiver in AB8500 chip. 24 tristate "Freescale USB OTG Transceiver Driver" 29 Enable this to support Freescale USB OTG transceiver. 32 tristate "Keystone USB PHY Driver" 36 Enable this to support Keystone USB phy. This driver provides [all …]
|
D | phy-generic.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NOP USB transceiver for all USB transceiver which are either built-in 4 * into USB IP or which are mostly autonomous. 16 #include <linux/dma-mapping.h> 17 #include <linux/usb/gadget.h> 18 #include <linux/usb/otg.h> 19 #include <linux/usb/usb_phy_generic.h> 27 #include "phy-generic.h" 48 struct usb_phy_generic *nop = dev_get_drvdata(x->dev); in nop_set_suspend() 50 if (!IS_ERR(nop->clk)) { in nop_set_suspend() [all …]
|
D | phy-omap-otg.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Based on code from tahvo-usb.c and isp1301_omap.c drivers. 7 * Copyright (C) 2005-2006 Nokia Corporation 19 #include <linux/platform_data/usb-omap1.h> 24 bool vbus; member 44 l = readl(otg_dev->base + OMAP_OTG_CTRL); in omap_otg_ctrl() 47 writel(l, otg_dev->base + OMAP_OTG_CTRL); in omap_otg_ctrl() 52 if (!otg_dev->id && otg_dev->vbus) in omap_otg_set_mode() 53 /* Set B-session valid. */ in omap_otg_set_mode() 55 else if (otg_dev->vbus) in omap_otg_set_mode() [all …]
|
D | phy-gpio-vbus-usb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * gpio-vbus.c - simple GPIO VBUS sensing driver for B peripheral devices 14 #include <linux/usb.h> 19 #include <linux/usb/gadget.h> 20 #include <linux/usb/otg.h> 24 * A simple GPIO VBUS sensing driver for B peripheral only devices 26 * a regulator to limit the current drawn from VBUS. 39 int vbus; member 45 * This driver relies on "both edges" triggering. VBUS has 100 msec to 60 struct regulator *vbus_draw = gpio_vbus->vbus_draw; in set_vbus_draw() [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/mediatek/ |
D | mt2712-evb.dts | 5 * SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt2712-evb", "mediatek,mt2712"; 27 stdout-path = "serial0:921600n8"; 30 cpus_fixed_vproc0: regulator-vproc-buck0 { 31 compatible = "regulator-fixed"; 32 regulator-name = "vproc_buck0"; 33 regulator-min-microvolt = <1000000>; [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/regulator/ |
D | qcom,usb-vbus-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: The Qualcomm PMIC VBUS output regulator driver 10 - Wesley Cheng <quic_wcheng@quicinc.com> 13 This regulator driver controls the VBUS output by the Qualcomm PMIC. This 18 - $ref: regulator.yaml# 23 - qcom,pm8150b-vbus-reg 27 description: VBUS output base address [all …]
|