Home
last modified time | relevance | path

Searched +full:sink +full:- +full:vdos (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/connector/
H A Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/openbmc/linux/include/linux/usb/
H A Dtypec.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 /* USB Type-C Specification releases */
90 * struct enter_usb_data - Enter_USB Message details
94 * @active_link_training is a flag that should be set with uni-directional SBRX
95 * communication, and left 0 with passive cables and with bi-directional SBRX
104 * struct usb_pd_identity - USB Power Delivery identity data
108 * @vdo: Product Type Specific VDOs
126 * struct typec_altmode_desc - USB Type-C Alternate Mode Descriptor
172 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor
176 * Represents USB Type-C Cable Plug.
[all …]
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2015-2017 Google, Inc
206 VDM_STATE_ERR_BUSY = -3,
207 VDM_STATE_ERR_SEND = -2,
208 VDM_STATE_ERR_TMOUT = -1,
236 * Based on "Table 6-14 Fixed Supply PDO - Sink" of "USB Power Delivery Specification Revision 3.0,
467 /* Sink FRS */
470 /* Sink caps have been queried */
485 * SNK_READY for non-pd link.
521 ((tcpm_cc_is_sink((port)->cc1) && !tcpm_cc_is_sink((port)->cc2)) || \
[all …]
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c1 // SPDX-License-Identifier: GPL-2.0-only
22 #define DRV_NAME "cros-ec-typec"
35 ret = fwnode_property_read_string(fwnode, "power-role", &buf); in cros_typec_parse_port_props()
37 dev_err(dev, "power-role not found: %d\n", ret); in cros_typec_parse_port_props()
44 cap->type = ret; in cros_typec_parse_port_props()
46 ret = fwnode_property_read_string(fwnode, "data-role", &buf); in cros_typec_parse_port_props()
48 dev_err(dev, "data-role not found: %d\n", ret); in cros_typec_parse_port_props()
55 cap->data = ret; in cros_typec_parse_port_props()
57 /* Try-power-role is optional. */ in cros_typec_parse_port_props()
58 ret = fwnode_property_read_string(fwnode, "try-power-role", &buf); in cros_typec_parse_port_props()
[all …]
/openbmc/linux/include/linux/platform_data/
H A 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 …]