/linux/Documentation/devicetree/bindings/usb/ |
H A D | willsemi,wusb3801.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: WUSB3801 Type-C port controller 10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which 12 compatible with the USB Type-C Cable and Connector Specification v1.2. 15 - Samuel Holland <samuel@sholland.org> 20 - willsemi,wusb3801 28 connector: [all …]
|
H A D | realtek,rtd-type-c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/realtek,rtd-type-c.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Realtek DHC RTD SoCs USB Type-C Connector detection 11 - Stanley Chang <stanley_chang@realtek.com> 14 Realtek digital home center (DHC) RTD series SoCs include a type c module. 15 This module is able to detect the state of type c connector. 20 - realtek,rtd1295-type-c 21 - realtek,rtd1312c-type-c [all …]
|
H A D | richtek,rt1719.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/richtek,rt1719.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Richtek RT1719 sink-only Type-C PD controller 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RT1719 is a sink-only USB Type-C controller that complies with the latest 14 USB Type-C and PD standards. It does the USB Type-C detection including attach 15 and orientation. It integrates the physical layer of the USB BMC power 17 support for alternative interfaces of the Type-C specification. [all …]
|
H A D | st,typec-stm32g0.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/st,typec-stm32g0.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STM32G0 USB Type-C PD controller 10 The STM32G0 MCU can be programmed to control Type-C connector(s) through I2C 15 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 19 const: st,stm32g0-typec 27 connector: 29 $ref: /schemas/connector/usb-connector.yaml# [all …]
|
H A D | mediatek,musb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2020 MediaTek 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 [all …]
|
H A D | ti,tps6598x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/ti,tps6598x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments 6598x Type-C Port Switch and Power Delivery controller 10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org> 13 Texas Instruments 6598x Type-C Port Switch and Power Delivery controller 21 - ti,tps6598x 22 - apple,cd321x 23 - ti,tps25750 [all …]
|
H A D | st,stusb160x.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/st,stusb160x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: STMicroelectronics STUSB160x Type-C controller 10 - Amelie Delaunay <amelie.delaunay@foss.st.com> 15 - st,stusb1600 23 vdd-supply: 24 description: main power supply (4.1V-22V) 26 vsys-supply: [all …]
|
H A D | analogix,anx7411.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/usb/analogix,anx7411.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analogix ANX7411 Type-C controller 10 - Xin Ji <xji@analogixsemi.com> 15 - analogix,anx7411 23 connector: 25 $ref: ../connector/usb-connector.yaml 29 const: usb-c-connector [all …]
|
H A D | richtek,rt1711h.txt | 4 - compatible : Must be "richtek,rt1711h". 5 - reg : Must be 0x4e, it's slave address of RT1711H. 6 - interrupts : <a b> where a is the interrupt number and b represents an 9 Required sub-node: 10 - connector: The "usb-c-connector" attached to the tcpci chip, the bindings 11 of connector node are specified in 12 Documentation/devicetree/bindings/connector/usb-connector.yaml 18 interrupt-parent = <&gpio26>; 21 usb_con: connector { 22 compatible = "usb-c-connector"; [all …]
|
H A 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: 25 connector: 27 $ref: /schemas/connector/usb-connector.yaml# 31 - compatible [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, 15 This document only describes MT6360 Type-C Port Switch and Power Delivery controller. 20 - mediatek,mt6360-tcpc 25 interrupt-names: [all …]
|
H A D | mediatek,mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2020 MediaTek 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 [all …]
|
H A D | nxp,ptn5110.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/nxp,ptn5110.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP PTN5110 Type-C Port Controller 10 - Li Jun <jun.li@nxp.com> 15 - const: nxp,ptn5110 16 - const: tcpci 24 connector: 26 $ref: /schemas/connector/usb-connector.yaml# [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 …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-driver-typec-displayport | 5 Shows the current DisplayPort configuration for the connector. 6 Valid values are USB, source and sink. Source means DisplayPort 14 USB [source] sink 18 Note. USB configuration does not equal to Exit Mode. It is 20 USB Type-C Standard. Functionally it equals to the situation 22 Documentation/ABI/testing/sysfs-bus-typec, and use file 29 VESA DisplayPort Alt Mode on USB Type-C Standard defines six 30 different pin assignments for USB Type-C connector that are 31 labeled A, B, C, D, E, and F. The supported pin assignments are 37 C [D] [all …]
|
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 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 23 What: /sys/class/usb_role/<switch>/connector 27 Optional symlink to the USB Type-C connector.
|
/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 …]
|
H A D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers 6 ------------ 9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications. 13 USB Type-C bus allows binding a driver to the discovered partner alternate 16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate 36 ------ 43 space (See Documentation/ABI/testing/sysfs-class-typec). Port drivers should not 46 ``->vdm`` is the most important callback in the operation callbacks vector. It 49 the SVID specific commands to each other using :c:func:`typec_altmode_vdm()`. 52 in need to reconfigure the pins on the connector, the alternate mode driver [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-friendlyelec-cm3588-nas.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2021 Rockchip Electronics Co., Ltd. 4 * Copyright (c) 2023 Thomas McKahan 5 * Copyright (c) 2024 Sebastian Kropatsch 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/rockchip.h> 14 #include <dt-bindings/soc/rockchip,vop2.h> 15 #include <dt-bindings/usb/pd.h> [all …]
|
/linux/drivers/usb/typec/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Type-C Support" 6 USB Type-C Specification defines a cable and connector for USB where 8 be Type-A plug on one end of the cable and Type-B plug on the other. 9 Determination of the host-to-device relationship happens through a 10 specific Configuration Channel (CC) which goes through the USB Type-C 12 Accessory Modes - Analog Audio and Debug - and if USB Power Delivery 13 is supported, the Alternate Modes, where the connector is used for 14 something else then USB communication. 16 USB Power Delivery Specification defines a protocol that can be used [all …]
|
H A D | port-mapper.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector Class Port Mapping Utility 5 * Copyright (C) 2021, Intel Corporation 12 #include <linux/usb.h> 20 return component_bind_all(dev, &port->con); in typec_aggregate_bind() 27 component_unbind_all(dev, &port->con); in typec_aggregate_unbind() 56 con_adev = ACPI_COMPANION(&arg->port->dev); in typec_port_match() 60 if (con_adev->pld_crc == adev->pld_crc) { in typec_port_match() 63 component_match_add(&arg->port->dev, &arg->match, typec_port_compare, in typec_port_match() 67 * If dev is USB 3.x port, it may have reference to the in typec_port_match() [all …]
|
/linux/include/linux/ |
H A D | extcon.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * External Connector (extcon) framework 4 * - linux/include/linux/extcon.h for extcon consumer device driver. 6 * Copyright (C) 2015 Samsung Electronics 9 * Copyright (C) 2012 Samsung Electronics 14 * Copyright (C) 2008 Google, Inc. 26 #define EXTCON_TYPE_USB BIT(0) /* USB connector */ 27 #define EXTCON_TYPE_CHG BIT(1) /* Charger connector */ 28 #define EXTCON_TYPE_JACK BIT(2) /* Jack connector */ 29 #define EXTCON_TYPE_DISP BIT(3) /* Display connector */ [all …]
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | intel-pmc-mux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel North Mux-Agent 10 North Mux-Agent is a function of the Intel PMC firmware that is supported on 12 configuring the various USB Multiplexer/DeMultiplexers on the system. The 13 platforms that allow the mux-agent to be configured from the operating system 16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver 18 (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C 19 Mux Class which allows the USB Type-C Controller and Interface drivers to 21 also registers with the USB Role Class in order to support both USB Host and 22 Device modes. The driver is located here: drivers/usb/typec/mux/intel_pmc_mux.c. [all …]
|
/linux/drivers/usb/core/ |
H A D | hub.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * usb hub driver head file 5 * Copyright (C) 1999 Linus Torvalds 6 * Copyright (C) 1999 Johannes Erdfelt 7 * Copyright (C) 1999 Gregory P. Smith 8 * Copyright (C) 2001 Brad Hards (bhards@bigpond.net.au) 9 * Copyright (C) 2012 Intel Corp (tianyu.lan@intel.com) 14 #include <linux/usb.h> 15 #include <linux/usb/ch11.h> 16 #include <linux/usb/hcd.h> [all …]
|
/linux/drivers/usb/roles/ |
H A D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Role Switch Support 5 * Copyright (C) 2018 Intel Corporation 11 #include <linux/usb/role.h> 42 static int connector_bind(struct device *dev, struct device *connector, void *data) in connector_bind() argument 46 ret = sysfs_create_link(&dev->kobj, &connector->kobj, "connector"); in connector_bind() 50 ret = sysfs_create_link(&connector->kobj, &dev->kobj, "usb-role-switch"); in connector_bind() 52 sysfs_remove_link(&dev->kobj, "connector"); in connector_bind() 57 static void connector_unbind(struct device *dev, struct device *connector, void *data) in connector_unbind() argument 59 sysfs_remove_link(&connector->kobj, "usb-role-switch"); in connector_unbind() [all …]
|