Searched +full:typec +full:- +full:power +full:- +full:opmode (Results 1 – 8 of 8) sorted by relevance
/linux/Documentation/devicetree/bindings/usb/ |
H A D | st,stusb160x.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 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: 27 description: low power supply (3.0V-5.5V) [all …]
|
H A D | willsemi,wusb3801.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 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 30 $ref: ../connector/usb-connector.yaml# 33 The managed USB Type-C connector. Since WUSB3801 does not support [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-bletchley.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/i2c/i2c.h> 14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600"; 29 iio-hwmon { [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm632-fairphone-fp3.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 7 #include <dt-bindings/leds/common.h> 15 chassis-type = "handset"; 16 qcom,msm-id = <349 0>; 17 qcom,board-id = <8 0x10000>; 26 stdout-path = "serial0:115200n8"; 29 gpio-keys { 30 compatible = "gpio-keys"; 32 key-volume-up { [all …]
|
H A D | sm6115-fxtec-pro1x.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (c) 2023 - 2024, Dang Huynh <danct12@riseup.net> 6 /dts-v1/; 11 #include <dt-bindings/arm/qcom,ids.h> 12 #include <dt-bindings/leds/common.h> 13 #include <dt-bindings/usb/pd.h> 18 chassis-type = "handset"; 20 qcom,msm-id = <QCOM_ID_SM6115 0x10000>; 23 #address-cells = <2>; 24 #size-cells = <2>; [all …]
|
/linux/drivers/usb/typec/ |
H A D | wusb3801.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Willsemi WUSB3801 Type-C port controller driver 12 #include <linux/usb/typec.h> 101 switch (wusb3801->port_type) { in wusb3801_get_default_role() 108 if (wusb3801->cap.prefer_role == TYPEC_SOURCE) in wusb3801_get_default_role() 185 return regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_try_role() 196 ret = regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_port_type_set() 202 wusb3801->port_type = type; in wusb3801_port_type_set() 214 return regmap_write(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_hw_init() 215 wusb3801_map_try_role(wusb3801->cap.prefer_role) | in wusb3801_hw_init() [all …]
|
/linux/drivers/extcon/ |
H A D | extcon-usbc-tusb320.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/extcon/extcon-tusb320.c - TUSB320 extcon driver 10 #include <linux/extcon-provider.h> 17 #include <linux/usb/typec.h> 108 ret = regmap_read(priv->regmap, sizeof(sig) - 1 - i, &val); in tusb320_check_signature() 112 dev_err(priv->dev, "signature mismatch!\n"); in tusb320_check_signature() 113 return -ENODEV; in tusb320_check_signature() 125 if (priv->state != TUSB320_ATTACHED_STATE_NONE) in tusb320_set_mode() 126 return -EBUSY; in tusb320_set_mode() 129 ret = regmap_write_bits(priv->regmap, TUSB320_REGA, in tusb320_set_mode() [all …]
|
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2015-2017 Google, Inc 5 * USB Power Delivery protocol stack. 212 VDM_STATE_ERR_BUSY = -3, 213 VDM_STATE_ERR_SEND = -2, 214 VDM_STATE_ERR_TMOUT = -1, 243 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0, 532 * SNK_READY for non-pd link. 611 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2)) 618 ((tcpm_cc_is_source((port)->cc1) && \ [all …]
|