Searched +full:typec +full:- +full:power +full:- +full:opmode (Results 1 – 10 of 10) 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/st/ |
H A D | stm32mp153c-lxa-fairytux2-gen2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 6 /dts-v1/; 8 #include "stm32mp153c-lxa-fairytux2.dtsi" 12 compatible = "lxa,stm32mp153c-fairytux2-gen2", "oct,stm32mp153x-osd32", "st,stm32mp153"; 14 gpio-keys { 15 compatible = "gpio-keys"; 17 button-left { 23 button-right { 32 gpio-line-names = "", "", "", "", "", /* 0 */ 39 gpio-line-names = "", "", "", "", "LCD_RESET", /* 0 */ [all …]
|
/linux/arch/arm64/boot/dts/exynos/google/ |
H A D | gs101-pixel-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Device Tree nodes common for all GS101-based Pixel 5 * Copyright 2021-2023 Google LLC 6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org> 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/usb/pd.h> 14 #include "gs101-pinctrl.h" 25 stdout-path = &serial_0; [all …]
|
/linux/drivers/usb/typec/ |
H A D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector Class 26 .name = "typec", 29 /* ------------------------------------------------------------------------- */ 66 return partner->identity; in get_pd_identity() 70 return cable->identity; in get_pd_identity() 77 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type() 85 if (port->data_role == TYPEC_HOST) in get_pd_product_type() 86 ptype = product_type_ufp[PD_IDH_PTYPE(id->id_header)]; in get_pd_product_type() 88 ptype = product_type_dfp[PD_IDH_DFP_PTYPE(id->id_header)]; in get_pd_product_type() [all …]
|
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/arch/arm64/boot/dts/qcom/ |
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/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. 213 VDM_STATE_ERR_BUSY = -3, 214 VDM_STATE_ERR_SEND = -2, 215 VDM_STATE_ERR_TMOUT = -1, 244 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0, 537 * SNK_READY for non-pd link. 625 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2)) 632 ((tcpm_cc_is_source((port)->cc1) && \ [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-pinenote.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pinctrl/rockchip.h> 12 chassis-type = "tablet"; 19 stdout-path = "serial2:1500000n8"; 22 adc-keys { 23 compatible = "adc-keys"; [all …]
|