Home
last modified time | relevance | path

Searched +full:vconn +full:- +full:supply (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dst,stusb160x.yaml1 # 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 bindings
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 …]
/Linux-v6.1/drivers/usb/typec/
Dstusb160x.c1 // SPDX-License-Identifier: GPL-2.0
3 * STMicroelectronics STUSB160x Type-C controller family driver
38 #define STUSB1600_REG_MAX 0x2F /* RO - Reserved */
245 ret = regmap_read(chip->regmap, STUSB160X_CC_CAPABILITY_CTRL, &val); in stusb160x_get_vconn()
247 dev_err(chip->dev, "Unable to get Vconn status: %d\n", ret); in stusb160x_get_vconn()
258 /* Manage VCONN input supply */ in stusb160x_set_vconn()
259 if (chip->vconn_supply) { in stusb160x_set_vconn()
261 ret = regulator_enable(chip->vconn_supply); in stusb160x_set_vconn()
263 dev_err(chip->dev, in stusb160x_set_vconn()
264 "failed to enable vconn supply: %d\n", in stusb160x_set_vconn()
[all …]
/Linux-v6.1/include/dt-bindings/usb/
Dpd.h1 /* SPDX-License-Identifier: GPL-2.0 */
64 #define PDO_APDO_TYPE_SHIFT 28 /* Only valid value currently is 0x0 - PPS */
89 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
99 * --------------------
107 * <15:0> :: USB-IF assigned VID for this cable vendor
139 * -------------
140 * <31:0> : USB-IF assigned XID for this cable
146 * -----------
154 * --------
160 * <10:8> :: Vconn power (AMA only)
[all …]
/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
205 VDM_STATE_ERR_BUSY = -3,
206 VDM_STATE_ERR_SEND = -2,
207 VDM_STATE_ERR_TMOUT = -1,
235 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
483 * SNK_READY for non-pd link.
512 ((tcpm_cc_is_sink((port)->cc1) && !tcpm_cc_is_sink((port)->cc2)) || \
513 (tcpm_cc_is_sink((port)->cc2) && !tcpm_cc_is_sink((port)->cc1)))
520 ((tcpm_cc_is_source((port)->cc1) && \
[all …]
/Linux-v6.1/include/linux/platform_data/
Dcros_ec_commands.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from
52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff
77 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */
78 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */
79 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */
81 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */
82 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */
83 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */
84 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */
[all …]