/openbmc/linux/drivers/usb/roles/ |
H A D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Role Switch Support 10 #include <linux/usb/role.h> 40 * usb_role_switch_set_role - Set USB role for a switch 41 * @sw: USB role switch 42 * @role: USB role to be switched to 44 * Set USB role @role for @sw. 53 if (!sw->registered) in usb_role_switch_set_role() 54 return -EOPNOTSUPP; in usb_role_switch_set_role() 56 mutex_lock(&sw->lock); in usb_role_switch_set_role() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Role Switch Support" 6 USB Role Switch is a device that can select the USB role - host or 7 device - for a USB port (connector). In most cases dual-role capable 8 USB controller will also represent the switch, but on some platforms 9 multiplexer/demultiplexer switch is used to route the data lines on 10 the USB connector between separate USB host and device controllers. 12 Say Y here if your USB connectors support both device and host roles. 19 tristate "Intel XHCI USB Role Switch" 22 Driver for the internal USB role switch for switching the USB data [all …]
|
/openbmc/linux/drivers/extcon/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 host USB ports. Many of 30-pin connectors including PDMI are 25 tristate "X-Power AXP288 EXTCON support" 29 Say Y here to enable support for USB peripheral detection 30 and USB MUX switching by X-Power AXP288 PMIC. 39 FSA9480 microUSB switch and accessory detector chip. The FSA9480 is a USB 40 port accessory detector and switch. The FSA9480 is fully controlled using 41 I2C and enables USB data, stereo and mono audio, video, microphone 55 Say Y here to enable extcon support for USB OTG ports controlled by 85 Maxim MAX14577/77836. The MAX14577/77836 MUIC is a USB port accessory [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 --- 5 $id: http://devicetree.org/schemas/usb/mediatek,mtu3.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chunfeng Yun <chunfeng.yun@mediatek.com> 14 - $ref: usb-drd.yaml 23 - enum: 24 - mediatek,mt2712-mtu3 25 - mediatek,mt8173-mtu3 26 - mediatek,mt8183-mtu3 [all …]
|
H A D | dwc2.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/dwc2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DesignWare HS OTG USB 2.0 controller 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 [all …]
|
H A D | mediatek,musb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/mediatek,musb.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Min Guo <min.guo@mediatek.com> 15 pattern: '^usb@[0-9a-f]+$' 19 - enum: 20 - mediatek,mt8516-musb 21 - mediatek,mt2701-musb 22 - mediatek,mt7623-musb [all …]
|
H A 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# 7 title: Generic USB OTG Controller 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 otg-rev: 15 Tells usb driver the release number of the OTG and EH supplement with 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 [all …]
|
H A D | renesas,usb3-peri.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/usb/renesas,usb3-peri.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas USB 3.0 Peripheral controller 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 15 - items: 16 - enum: 17 - renesas,r8a774a1-usb3-peri # RZ/G2M 18 - renesas,r8a774b1-usb3-peri # RZ/G2N [all …]
|
H A D | mediatek,mt6360-tcpc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/mediatek,mt6360-tcpc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek MT6360 Type-C Port Switch and Power Delivery controller 10 - ChiYuan Huang <cy_huang@richtek.com> 13 Mediatek MT6360 is a multi-functional device. It integrates charger, ADC, flash, RGB indicators, 14 regulators (BUCKs/LDOs), and TypeC Port Switch with Power Delivery controller. 15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller. 20 - mediatek,mt6360-tcpc [all …]
|
/openbmc/linux/drivers/usb/phy/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/typec/mux/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "USB Type-C Multiplexer/DeMultiplexer Switch support" 6 tristate "ON Semi FSA4480 Analog Audio Switch driver" 10 Driver for the ON Semiconductor FSA4480 Analog Audio Switch, which 12 common USB Type-C connector. 16 tristate "Generic GPIO based SBU mux for USB Type-C applications" 19 connected state and the swapping of the SBU lines in a Type-C port. 22 tristate "Pericom PI3USB30532 Type-C cross switch driver" 25 Say Y or M if your system has a Pericom PI3USB30532 Type-C cross 26 switch / mux chip found on some devices with a Type-C port. [all …]
|
/openbmc/linux/drivers/usb/typec/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Multiplexer/DeMultiplexer Switch support 45 * property is named "orientation-switch" (@id). The value of the device in typec_switch_match() 52 * At this point we are sure that @fwnode is a typec switch in all in typec_switch_match() 53 * cases. If the switch hasn't yet been registered for some reason, the in typec_switch_match() 59 return dev ? to_typec_switch_dev(dev) : ERR_PTR(-EPROBE_DEFER); in typec_switch_match() 63 * fwnode_typec_switch_get - Find USB Type-C orientation switch 66 * Finds a switch linked with @dev. Returns a reference to the switch on 68 * ERR_PTR(-EPROBE_DEFER) when a connection was found but the switch 81 return ERR_PTR(-ENOMEM); in fwnode_typec_switch_get() [all …]
|
/openbmc/u-boot/arch/mips/mach-bmips/ |
H A D | Kconfig | 136 Between its different peripherals there's an integrated switch with 4 137 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and 141 bool "Comtrend AR-5315u" 145 Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16 147 Between its different peripherals there's an integrated switch with 4 148 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and 152 bool "Comtrend AR-5387un" 156 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16 158 Between its different peripherals there's an integrated switch with 4 159 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-usb_role | 5 Place in sysfs for USB Role Switches. USB Role Switch is a 6 device that can select the data role (host or device) for USB 9 What: /sys/class/usb_role/<switch>/role 13 The current role of the switch. This attribute can be used for 14 requesting role swapping with non-USB Type-C ports. With USB 15 Type-C ports, the ABI defined for USB Type-C connector class 19 - none 20 - host 21 - device
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | qcom,usb-8x16-phy.txt | 1 Qualcomm's APQ8016/MSM8916 USB transceiver controller 3 - compatible: 6 Definition: Should contain "qcom,usb-8x16-phy". 8 - reg: 10 Value type: <prop-encoded-array> 11 Definition: USB PHY base address and length of the register map 13 - clocks: 15 Value type: <prop-encoded-array> 16 Definition: See clock-bindings.txt section "consumers". List of 20 - clock-names: [all …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | fhci-hub.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Freescale QUICC Engine USB Host Controller Driver 7 * Jerry Huang <Chang-Ming.Huang@freescale.com> 20 #include <linux/usb.h> 21 #include <linux/usb/hcd.h> 29 USB_DT_HUB, /* bDescriptorType;hub-descriptor */ 32 0x00, /* per-port power, no overcurrent */ 41 struct gpio_desc *gpiod = fhci->gpiods[gpio_nr]; in fhci_gpio_set_value() 53 fhci_dbg(fhci, "-> %s: %d\n", __func__, status); in fhci_config_transceiver() 55 switch (status) { in fhci_config_transceiver() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-rt8973a.txt | 2 * Richtek RT8973A - Micro USB Switch device 4 The Richtek RT8973A is Micro USB Switch with OVP and I2C interface. The RT8973A 5 is a USB port accessory detector and switch that is optimized to protect low 7 speed USB operation. Also, RT8973A support 'auto-configuration' mode. 8 If auto-configuration mode is enabled, RT8973A would control internal h/w patch 9 for USB D-/D+ switching. 12 - compatible: Should be "richtek,rt8973a-muic" 13 - reg: Specifies the I2C slave address of the MUIC block. It should be 0x14 14 - interrupts: Interrupt specifiers for detection interrupt sources. 19 compatible = "richtek,rt8973a-muic"; [all …]
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | typec.rst | 3 USB Type-C connector class 7 ------------ 9 The typec class is meant for describing the USB Type-C ports in a system to the 14 The platforms are expected to register every USB Type-C port they have with the 15 class. In a normal case the registration will be done by a USB Type-C or PD PHY 17 USB PD controller or even driver for Thunderbolt3 controller. This document 18 considers the component registering the USB Type-C ports with the class as "port 26 attributes are described in Documentation/ABI/testing/sysfs-class-typec. 29 -------------------- 36 "port0-partner". Full path to the device would be [all …]
|
/openbmc/u-boot/cmd/ |
H A D | usb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Adapted for U-Boot driver model 9 * Most of this source has been derived from the Linux USB 17 #include <dm/uclass-internal.h> 22 #include <usb.h> 25 static int usb_stor_curr_dev = -1; /* current device */ 28 static int __maybe_unused usb_ether_curr_dev = -1; /* current ethernet device */ 34 switch (dclass) { in usb_get_class_desc() 61 switch (dclass) { in usb_display_class_sub() 67 switch (subclass) { in usb_display_class_sub() [all …]
|
/openbmc/linux/Documentation/usb/ |
H A D | chipidea.rst | 6 ----------------------------------- 12 ------------------------- 29 otg-rev = <0x0200>; 30 adp-disable; 33 ------------------- 38 2) Connect 2 boards with usb cable: one end is micro A plug, the other end 41 The A-device (with micro A plug inserted) should enumerate B-device. 43 3) Role switch 45 On B-device:: 49 B-device should take host role and enumerate A-device. [all …]
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/flash/ |
H A D | phosphor-software-manager_git.bb | 7 phosphor-dbus-interfaces \ 8 phosphor-logging \ 9 ${PYTHON_PN}-sdbus++-native \ 12 PACKAGECONFIG[verify_signature] = "-Dverify-signature=enabled, -Dverify-signature=disabled" 13 PACKAGECONFIG[sync_bmc_files] = "-Dsync-bmc-files=enabled, -Dsync-bmc-files=disabled" 14 PACKAGECONFIG[usb_code_update] = "-Dusb-code-update=enabled, -Dusb-code-update=disabled, cli11" 15 PACKAGECONFIG[side_switch_on_boot] = "-Dside-switch-on-boot=enabled, -Dside-switch-on-boot=disabled… 16 PACKAGECONFIG[ubifs_layout] = "-Dbmc-layout=ubi" 17 PACKAGECONFIG[mmc_layout] = "-Dbmc-layout=mmc" 18 PACKAGECONFIG[flash_bios] = "-Dhost-bios-upgrade=enabled, -Dhost-bios-upgrade=disabled" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | marvell,mvusb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell USB to MDIO Controller 10 - Tobias Waldekranz <tobias@waldekranz.com> 14 family of Ethernet switches. It allows you to configure the switch's registers 17 Since the device is connected over USB, there is no strict requirement of 19 the mv88e6xxx driver, you need a device tree node in which to place the switch 23 - $ref: mdio.yaml# 30 description: The USB port number on the host controller [all …]
|