Lines Matching +full:vbus +full:- +full:detect
3 * SPDX-License-Identifier: Apache-2.0
15 * Registers and fields are compliant to the Type-C Port Controller Interface
19 /** Register address - vendor id */
22 /** Register address - product id */
25 /** Register address - version of TCPC */
28 /** Register address - USB TypeC version */
30 /** Mask for major part of type-c release supported */
32 /** Macro to extract the major part of type-c release supported */
34 /** Mask for minor part of type-c release supported */
36 /** Macro to extract the minor part of type-c release supported */
39 /** Register address - Power delivery revision */
58 /** Register address - interface revision and version */
77 /** Register address - alert */
91 /** Bit for vbus disconnection alert */
97 /** Bit for low vbus alarm */
99 /** Bit for high vbus alarm */
120 * Register address - alert mask
126 * Register address - power status mask
133 * Register address - fault status mask
140 * Register address - extended status mask
147 * Register address - extended alert mask
153 /** Register address - configure standard output */
165 /** Value for mux - no connection */
167 /** Value for mux - USB3.1 connected */
169 /** Value for mux - DP alternate mode with 4 lanes */
171 /** Value for mux - USB3.1 + DP 0&1 lines */
178 /** Register address - TCPC control */
201 /** Register address - role control */
203 /** Bit for dual-role port */
224 /** Register address - fault control */
226 /** Bit for block the standard input signal force off vbus control */
228 /** Bit for disabling the vbus discharge fault detection timer */
230 /** Bit for disabling the vbus over current detection */
232 /** Bit for disabling the vbus over voltage detection */
237 /** Register address - power control */
241 /** Bit for disabling the vbus voltage monitoring */
245 /** Bit for enabling the automatic vbus discharge based on the vbus voltage */
247 /** Bit for enabling the bleed discharge of vbus */
249 /** Bit for enabling the forced vbus discharge */
261 /** Register address - CC lines status */
280 /** Register address - power status */
284 /** Bit for internal initialization in-progress. If set, only registers 00-0F contain valid data. */
288 /** Bit for sourcing vbus. If set, sourcing vbus is enabled. */
290 /** Bit for vbus detection enabled. */
293 * Bit for vbus present.
294 * If set, the vbus shall be above 4V. If unset, the vbus shall be below 3.5V.
299 /** Bit for sinking vbus. If set, the TCPC is sinking vbus to the system load. */
302 /** Register address - fault status */
306 /** Bit for force vbus off due to external fault */
312 /** Bit for internal or external vbus over current */
314 /** Bit for internal or external vbus over voltage */
321 /** Register address - extended status */
323 /** Bit for vbus at vSafe0V. Set when the TCPC detects that VBUS is below 0.8V. */
326 /** Register address - alert extended */
335 /** Register address - command */
339 /** Value for disable vbus detect command - disable vbus present and vSafe0V detection */
341 /** Value for enable vbus detect command - enable vbus present and vSafe0V detection */
343 /** Value for disable sink vbus - disable sinking power over vbus */
345 /** Value for sink vbus - enable sinking power over vbus and vbus present detection */
347 /** Value for disable source vbus - disable sourcing power over vbus */
349 /** Value for source vbus default voltage - enable sourcing vSafe5V over vbus */
351 /** Value for source vbus high voltage - enable sourcing high voltage over vbus */
353 /** Value for look for connection - start DRP toggling if DRP role is set */
365 /** Value for reset transmit buffer - TCPC resets the pointer of transmit buffer to offset 1 */
375 /** Register address - device capabilities 1 */
377 /** Bit for vbus high voltage target - if set, VBUS_HV_TARGET register is implemented */
379 /** Bit for vbus over current reporting - if set, vbus over current is reported by TCPC */
381 /** Bit for vbus over voltage reporting - if set, vbus over voltage is reported by TCPC */
383 /** Bit for bleed discharge - if set, bleed discharge is implemented in TCPC */
385 /** Bit for force discharge - if set, force discharge is implemented in TCPC */
388 * Bit for vbus measurement and alarm capable
389 * If set, TCPC supports vbus voltage measurement and vbus voltage alarms
401 /** Value for Rp default only - only default amperage is supported */
403 /** Value for Rp 1.5A and default - support for 1.5A and for default amperage*/
405 /** Value for Rp 3.0A, 1.5A and default - support for 3.0A, 1.5A and default amperage */
419 /** Value for support dual-role port only */
421 /** Value for support source, sink, dual-role port, adapter and cable */
423 /** Value for support source, sink and dual-role port */
425 /** Bit for debug SOP' and SOP'' support - if set, all SOP* messages are supported */
427 /** Bit for source vconn - if set, TCPC is capable of switching the vconn source */
429 /** Bit for sink vbus - if set, TCPC is capable of controling the sink path to the system load */
432 * Bit for source high voltage vbus.
433 * If set, TCPC can control the source high voltage path to vbus
436 /** Bit for source vbus - if set, TCPC is capable of controlling the source path to vbus */
439 /** Register address - device capabilities 2 */
456 /** Bit for source fast-role swap support. If set, TCPC is capable of sending FRS as source. */
458 /** Bit for sink fast-role swap support. If set, TCPC is capable of sending FRS as sink. */
464 * If set, the sink disconnect threshold can be set. Otherwise, the vbus present value from
470 * the forced vbus discharge will be disabled, into the vbus stop discharge threshold register.
505 /** Bit for vconn overcurrent fault capable - if set, TCPC can detect the vconn over current */
508 /** Register address - standard input capabilities */
520 /** Bit for vbus external over voltage fault. If set, input pin is present in TCPC. */
522 /** Bit for vbus external over current fault. If set, input pin is present in TCPC. */
524 /** Bit for force off vbus present. If set, input pin is present in TCPC. */
527 /** Register address - standard output capabilities */
529 /** Bit for vbus sink disconnect detect indicator */
533 /** Bit for vbus present monitor */
546 /** Register address - configure extended 1 */
563 * Register address - generic timer
565 * This register is 16-bit wide and has a resolution of 0.1ms.
569 /** Register address - message header info */
601 * non-cable plug
608 /** Register address - receive detect */
614 * If unset, sink TCPC disables the PD message delivery when vbus sink disconnect detected in
618 /** Bit for enable cable reset. If set, TCPC will detect the cable reset signal. */
620 /** Bit for enable hard reset. If set, TCPC will detect the hard reset signal. */
622 /** Bit for enable SOP_DBG'' message. If set, TCPC will detect the SOP_DBG'' messages. */
624 /** Bit for enable SOP_DBG' message. If set, TCPC will detect the SOP_DBG' messages. */
626 /** Bit for enable SOP'' message. If set, TCPC will detect the SOP'' messages. */
628 /** Bit for enable SOP' message. If set, TCPC will detect the SOP' messages. */
630 /** Bit for enable SOP message. If set, TCPC will detect the SOP messages. */
640 * Register address - receive buffer (readable byte count, rx buf frame type, rx buf byte x)
647 /** Register address - transmit */
671 * Register address - transmit buffer
679 /** Register address - vbus voltage */
681 /** Mask for vbus voltage measurement */
683 /** Macro to extract the vbus measurement from the register value */
687 /** Macro to extract the vbus voltage scale from the register value */
690 /** Resolution of vbus voltage measurement. It's specified as 25mV. */
700 /** Register address - vbus sink disconnect threshold */
711 /** Default value for vbus sink disconnect threshold */
714 /** Register address - vbus sink disconnect threshold */
725 /** Default value for vbus stop discharge threshold */
728 /** Register address - vbus voltage alarm - high */
740 /** Register address - vbus voltage alarm - low */
753 * Register address - vbus nondefault target
754 * Available only if vbus nondefault target is asserted in device capabilities 1 register.
755 * Purpose of this register is to provide value for nondefault voltage over vbus when sending
756 * the source vbus nondefault voltage command to command register.
767 /** Register address - device capabilities 3 */
769 /** Mask for vbus voltage support */
771 /** Macro to extract the vbus voltage support from register value */