Lines Matching full:for

11  * @brief Registers and fields definitions for TypeC Port Controller Interface
30 /** Mask for major part of type-c release supported */
34 /** Mask for minor part of type-c release supported */
41 /** Mask for major part of USB PD revision supported */
45 /** Mask for minor part of USB PD revision supported */
49 /** Mask for major part of USB PD version supported */
53 /** Mask for minor part of USB PD version supported */
60 /** Mask for major part of USB Port Controller Interface revision supported */
64 /** Mask for minor part of USB Port Controller Interface revision supported */
68 /** Mask for major part of USB Port Controller Interface version supported */
72 /** Mask for minor part of USB Port Controller Interface version supported */
79 /** Value for clear alert */
81 /** Value mask for all alert bits */
83 /** Bit for vendor defined alert */
85 /** Bit for extended alert */
87 /** Bit for extended status alert */
89 /** Bit for beginning of data receive */
91 /** Bit for vbus disconnection alert */
93 /** Bit for receive buffer overflow alert */
95 /** Bit for fault alert */
97 /** Bit for low vbus alarm */
99 /** Bit for high vbus alarm */
101 /** Bit for transmission success */
103 /** Bit for transmission discard alert */
105 /** Bit for transmission fail alert */
107 /** Bit for received hard reset alert */
109 /** Bit for data received alert */
111 /** Bit for power status alert */
113 /** Bit for CC lines status alert */
115 /** Bits for any of transmission status alert */
121 * The bits for specific masks are on the same positions as for the @see TCPC_REG_ALERT register.
127 * The bits for specific masks are on the same positions as for the @see TCPC_REG_POWER_STATUS
134 * The bits for specific masks are on the same positions as for the @see TCPC_REG_FAULT_STATUS
141 * The bits for specific masks are on the same positions as for the @see TCPC_REG_EXT_STATUS
148 * The bits for specific masks are on the same positions as for the @see TCPC_REG_ALERT_EXT
155 /** Bit for high impedance outputs */
157 /** Bit for debug accessory connected# */
159 /** Bit for audio accessory connected# */
161 /** Bit for active cable */
163 /** Value mask for mux control */
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 */
173 /** Bit for connection present */
175 /** Bit for connector orientation */
180 /** Bit for SMBus PEC enabled */
182 /** Bit for enabling the alert assertion when a connection is found */
184 /** Bit for watchdog monitoring */
186 /** Bit for enable debug accessory control by TCPM */
190 /** Value for clock stretching disabled */
192 /** Value for limited clock stretching enabled */
194 /** Value for clock stretching enabled only when alert is NOT asserted */
196 /** Bit for BIST test mode enabled */
198 /** Bit for plug orientation and vconn destination */
203 /** Bit for dual-role port */
219 /** Macro to extract the enum tc_cc_pull for CC2 from register value */
221 /** Macro to extract the enum tc_cc_pull for CC1 from register value */
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 */
234 /** Bit for disabling the vconn over current detection */
239 /** Bit for fast role swap enable */
241 /** Bit for disabling the vbus voltage monitoring */
243 /** Bit for disabling the voltage alarms */
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 */
252 * Bit for enabling the vconn power supported.
258 /** Bit for enabling the vconn sourcing to CC line */
263 /** Bit for active looking for a connection by TCPC, both DRP and sink/source only */
265 /** Bit for connection result, set if presenting Rd, unset if presenting Rp*/
267 /** Mask for CC2 line state */
272 * For value interpretation look at the CC_STATUS Register Definition in the TCPCI specification.
275 /** Mask for CC1 line state */
282 /** Bit for debug accessory connected */
284 /** Bit for internal initialization in-progress. If set, only registers 00-0F contain valid data. */
286 /** Bit for sourcing high voltage. If set, the voltage sourced is above the vSafe5V. */
288 /** Bit for sourcing vbus. If set, sourcing vbus is enabled. */
290 /** Bit for vbus detection enabled. */
293 * Bit for vbus present.
297 /** Bit for vconn present. Set if vconn is present on CC1 or CC2, threshold is fixed at 2.4V. */
299 /** Bit for sinking vbus. If set, the TCPC is sinking vbus to the system load. */
304 /** Bit for all registers reset to default */
306 /** Bit for force vbus off due to external fault */
308 /** Bit for auto discharge failed */
310 /** Bit for force discharge failed */
312 /** Bit for internal or external vbus over current */
314 /** Bit for internal or external vbus over voltage */
316 /** Bit for vconn over current */
318 /** Bit for I2C interface error */
323 /** Bit for vbus at vSafe0V. Set when the TCPC detects that VBUS is below 0.8V. */
328 /** Bit for timer expired */
330 /** Bit for source fast role swap. Set when FRS signal sent due to standard input being low. */
332 /** Bit for sink fast role swap. If set, the fast role swap signal was received. */
337 /** Value for wake i2c 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 */
356 * Value for rx one more
361 * Value for send fast role swap signal
365 /** Value for reset transmit buffer - TCPC resets the pointer of transmit buffer to offset 1 */
368 * Value for reset receive buffer
372 /** Value for i2c idle */
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
392 /** Mask for source resistor supported */
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 */
407 /** Mask for power roles supported */
411 /** Value for support both source and sink only (no DRP) */
413 /** Value for support source role only */
415 /** Value for support sink role only */
417 /** Value for support sink role with accessory */
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.
436 /** Bit for source vbus - if set, TCPC is capable of controlling the source path to vbus */
441 /** Bit for device capabilities 3 support */
443 /** Bit for message disable disconnect */
445 /** Bit for generic timer support */
448 * Bit for long message support
454 /** Bit for SMBus PEC support. If set, SMBus PEC can be enabled in the TCPC control register. */
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. */
460 /** Bit for watchdog timer support. If set, watchdog can be enabled in the TCPC control register. */
463 * Bit for sink disconnect detection.
469 * Bit for stop discharge threshold. If set, the TCPM can set the voltage threshold at which
473 /** Mask for resolution of voltage alarm */
478 /** Value for 25mV resolution of voltage alarm, all 10 bits of voltage alarm registers are used. */
480 /** Value for 50mV resolution of voltage alarm, only 9 bits of voltage alarm registers are used. */
482 /** Value for 100mV resolution of voltage alarm, only 8 bits of voltage alarm registers are used. */
484 /** Mask for vconn power supported */
489 /** Value for vconn power supported of 1.0W */
491 /** Value for vconn power supported of 1.5W */
493 /** Value for vconn power supported of 2.0W */
495 /** Value for vconn power supported of 3.0W */
497 /** Value for vconn power supported of 4.0W */
499 /** Value for vconn power supported of 5.0W */
501 /** Value for vconn power supported of 6.0W */
503 /** Value for external vconn power supported */
505 /** Bit for vconn overcurrent fault capable - if set, TCPC can detect the vconn over current */
510 /** Mask for source fast role swap */
514 /** Value for no source fast role swap pin present in TCPC */
516 /** Value for source fast role swap input only pin present in TCPC */
518 /** Value for source fast role swap both input and output pin present in TCPC */
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. */
529 /** Bit for vbus sink disconnect detect indicator */
531 /** Bit for debug accessory indicator */
533 /** Bit for vbus present monitor */
535 /** Bit for audio adapter accessory indicator */
537 /** Bit for active cable indicator */
539 /** Bit for mux configuration control */
541 /** Bit for connection present */
543 /** Bit for connector orientation */
549 * Bit for fr swap bidirectional pin.
555 * Bit for standard input source FR swap.
571 /** Bit for cable plug. If set, the message originated from a cable plug. */
573 /** Mask for data role */
577 /** Value for data role set as UFP */
579 /** Value for data role set as DFP */
581 /** Mask for Power Delivery Specification Revision */
585 /** Value for Power Delivery Specification Revision 1.0 */
587 /** Value for Power Delivery Specification Revision 2.0 */
589 /** Value for Power Delivery Specification Revision 3.0 */
591 /** Mask for power role */
595 /** Value for power role set as sink */
597 /** Value for power role set as source */
605 /** Mask for PD revision and power and data role */
611 * Bit for message disable disconnect.
613 * is detected for debounce time specified in specification.
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. */
632 /** Mask for detecting the SOP messages and hard reset signals */
634 /** Mask for detecting the SOP, SOP' and SOP'' messages and hard reset signals */
653 /** Value for transmit SOP type message */
655 /** Value for transmit SOP' type message */
657 /** Value for transmit SOP'' type message */
659 /** Value for transmit SOP_DBG' type message */
661 /** Value for transmit SOP_DBG'' type message */
663 /** Value for transmit hard reset signal */
665 /** Value for transmit cable reset signal */
667 /** Value for transmit BIST carrier mode 2 */
681 /** Mask for vbus voltage measurement */
685 /** Mask for scale factor */
709 /** Mask for the valid bits of voltage trip point */
711 /** Default value for vbus sink disconnect threshold */
723 /** Mask for the valid bits of voltage trip point */
725 /** Default value for vbus stop discharge threshold */
737 /** Mask for the valid bits of voltage trip point */
749 /** Mask for the valid bits of voltage trip point */
755 * Purpose of this register is to provide value for nondefault voltage over vbus when sending
769 /** Mask for vbus voltage support */
773 /** Value for nominal voltage supported of 5V */
775 /** Value for nominal voltage supported of 9V */
777 /** Value for nominal voltage supported of 15V */
779 /** Value for nominal voltage supported of 20V */
781 /** Value for nominal voltage supported of 28V */
783 /** Value for nominal voltage supported of 36V */
785 /** Value for nominal voltage supported of 48V */