/Zephyr-latest/dts/bindings/tcpc/ |
D | nuvoton,numaker-tcpc.yaml | 23 vconn-overcurrent-event-polarity: 26 Polarity of VCONN overcurrent event 31 vconn-discharge-polarity: 34 Polarity of VCONN discharge 39 vconn-enable-polarity: 42 Polarity of VCONN enable 133 "vconn-discharge": GPIO for VCONN discharge (option) 138 EADC channels for measuring VBUS/VCONN voltage 145 "chn-vconn": EADC channel for measuring VCONN voltage (option)
|
D | richtek,rt1715.yaml | 62 vconn-ctrl-gpios: 65 GPIO pin for VCONN control. RT1715 does not have built-in VCONN power supply. If the 66 state of the VCONN power supply need to be toggled, this pin and a switchable power 69 vconn-disc-gpios: 72 GPIO pin for VCONN discharge control. RT1715 does not have VCONN discharge capability. 73 If VCONN discharge is not needed, this pin does not need to be defined in the device
|
/Zephyr-latest/samples/subsys/usb_c/source/src/ |
D | power_ctrl.h | 25 * @brief VCONN control 28 /* VCONN OFF */ 30 /* VCONN ON CC1 */ 32 /* VCONN ON CC2 */ 37 * @brief Control VCONN
|
D | main.c | 42 /** VCONN CC line*/ 108 * @brief PE calls this function to Enable or Disable VCONN 117 /* Disable VCONN on CC1 and CC2 */ in port0_policy_cb_vconn_en() 120 /* set VCONN on CC1 */ in port0_policy_cb_vconn_en() 123 /* set VCONN on CC2 */ in port0_policy_cb_vconn_en() 264 * 1: Vconn should be turned OFF in port0_notify() 268 /* Power off VCONN */ in port0_notify() 298 * 1: Vconn should be turned ON in port0_policy_check() 302 /* Power on VCONN */ in port0_policy_check() 337 /* Register Policy callback to enable or disable vconn */ in main()
|
/Zephyr-latest/subsys/usb/usb_c/ |
D | usbc_tc_src_states.c | 21 * 1: The port shall not drive VBUS or VCONN. 56 * that was providing VCONN in the previous Attached.SRC state. 59 * 1: The port shall not enable VBUS or VCONN. 80 /* Start discharging VCONN */ in tc_unattached_wait_src_entry() 83 /* Start VCONN off timer */ in tc_unattached_wait_src_entry() 92 /* CC Debounce time should be enough time for VCONN to discharge */ in tc_unattached_wait_src_run() 105 /* Stop discharging VCONN */ in tc_unattached_wait_src_exit() 216 * 9: If the port supplies VCONN, it shall do so within t_VCONN_ON. 243 /* Start sourcing VCONN */ in tc_attached_src_entry() 248 LOG_ERR("VCONN can't be enabled\n"); in tc_attached_src_entry() [all …]
|
D | usbc_tc_common.c | 161 /* Stop sourcing VCONN */ in tc_init() 164 LOG_ERR("Couldn't disable vconn: %d", ret); in tc_init() 253 /* Disable VCONN */ in tc_cc_open_entry() 256 LOG_ERR("Couldn't disable vconn: %d", ret); in tc_cc_open_entry()
|
D | usbc_pe_src_states.c | 517 * Data Role to DFP and turn off VCONN. in pe_src_transition_to_default_entry() 519 * NOTE: 1, 2 and VCONN off are done by Device Policy Manager when in pe_src_transition_to_default_entry() 551 * 1: request the Device Policy Manager to turn on VCONN in pe_src_transition_to_default_exit() 554 * NOTE: The Device Policy Manager turns on VCONN when it notifies the in pe_src_transition_to_default_exit()
|
D | usbc_tc_common_internal.h | 23 /** Tracks if VCONN is ON or OFF */
|
D | usbc_stack.c | 313 * @brief Set the callback that controls the sourcing of VCONN from the 326 * @brief Set the callback that discharges VCONN from the
|
/Zephyr-latest/include/zephyr/drivers/usb_c/ |
D | usbc_tc.h | 45 * See Table 4-29 VBUS and VCONN Timing Parameters 52 * See Table 4-29 VBUS and VCONN Timing Parameters 58 * See Table 4-29 VBUS and VCONN Timing Parameters 64 * until the Sink sources minimum VCONN voltage (see Table 4-5) 65 * See Table 4-29 VBUS and VCONN Timing Parameters 70 * @brief From the time that a Sink is detached or as directed until the VCONN supply is 72 * See Table 4-29 VBUS and VCONN Timing Parameters 79 * See Table 4-29 VBUS and VCONN Timing Parameters 207 * VCONN in the previous state. 281 * @brief Minimum time for a Charge-Through VCONN-Powered USB Device to detect that the [all …]
|
D | usbc_tcpc.h | 329 * @brief Sets a callback that can enable or disable VCONN if the TCPC is 331 * the VCONN control capabilities of the TCPC 336 * @param vconn_cb pointer to the callback function that controls vconn 348 * @brief Sets a callback that can enable or discharge VCONN if the TCPC is 350 * the VCONN control capabilities of the TCPC 355 * @param cb pointer to the callback function that discharges vconn 368 * @brief Discharges VCONN 370 * This function uses the TCPC to discharge VCONN if possible or calls the 374 * @param enable VCONN discharge is enabled when true, it's disabled 392 * @brief Enables or disables VCONN [all …]
|
D | tcpci_priv.h | 224 * @brief Function to enable or disable VCONN. 227 * @param enable Boolean flag to enable (true) or disable (false) VCONN
|
/Zephyr-latest/tests/drivers/build_all/usb/ |
D | i2c_devices.overlay | 44 vconn-ctrl-gpios = <&test_gpio 0 0>; 45 vconn-disc-gpios = <&test_gpio 0 0>;
|
/Zephyr-latest/include/zephyr/usb_c/ |
D | tcpci.h | 198 /** Bit for plug orientation and vconn destination */ 234 /** Bit for disabling the vconn over current detection */ 252 * Bit for enabling the vconn power supported. 253 * If set, the TCPC will deliver at least the power indicated in the vconn power supported in 254 * device capabilities register to the vconn. 255 * If unset, at least 1W of power will be delivered to vconn. 258 /** Bit for enabling the vconn sourcing to CC line */ 297 /** Bit for vconn present. Set if vconn is present on CC1 or CC2, threshold is fixed at 2.4V. */ 316 /** Bit for vconn over current */ 427 /** Bit for source vconn - if set, TCPC is capable of switching the vconn source */ [all …]
|
D | usbc.h | 142 /** Check if should control VCONN */ 158 /** The port partner is unable to do a VCONN Swap at this time */ 383 * @brief Set the callback used to set VCONN control 386 * @param cb VCONN control callback 391 * @brief Set the callback used to discharge VCONN 394 * @param cb VCONN discharge callback
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_numaker.c | 30 * 1. UTCPD, interfacing to external circuit on VBUS/VCONN voltage measurement, 31 * VBUS/VCONN overcurrent protection, VBUS overvoltage protection, etc., 35 * 2. For VBUS/VCONN voltage measurement, UTCPD is updated periodically 41 * 3. About VCONN per PCB 42 * (1) Support only VCONN source, no VCONN sink (like Plug Cable) 43 * (2) Separate pins for VCONN enable on CC1/CC2 (VCNEN1/VCNEN2) 44 * (3) Single pin for VCONN discharge (DISCHG) 48 * 5. VCONN discharge precedence 222 /* Trigger source for measuring VBUS/VCONN voltage */ 257 /* VCONN callback function */ [all …]
|
D | rt1715.h | 10 /** VCONN OVP occurs and discharge path turn-on */ 24 /** VCONN over-current control selection */
|
D | rt1715.c | 45 /** VCONN discharge callback set by USB-C stack */ 47 /** VCONN discharge callback data set by USB-C stack */ 49 /** Polarity of CC lines for PD and VCONN */ 69 /** GPIO specification for VCONN power control pin */ 71 /** GPIO specification for VCONN discharge control pin */ 192 /* RT1715 does not have built-in VCONN discharge path */ in rt1715_tcpc_vconn_discharge() 193 LOG_ERR("VCONN discharge GPIO is not defined"); in rt1715_tcpc_vconn_discharge() 211 /* Enable external VCONN power supply */ in rt1715_tcpc_set_vconn() 223 /* Disable external VCONN power supply */ in rt1715_tcpc_set_vconn() 634 /* Disable the vconn and open CC lines to reinitialize the communication with partner */ in rt1715_init_work_cb()
|
D | ucpd_stm32_priv.h | 276 /* VCONN callback function */ 278 /* VCONN Discharge callback function */ 320 /* Track VCONN on/off state */ 322 /* Track CC line that VCONN was active on */
|
D | ucpd_stm32.c | 143 /* Vconn tracking variable */ in stm32_ucpd_state_init() 160 * When VCONN is enabled, it is supplied on the CC line that's in ucpd_get_cc_enable_mask() 167 /* Dissable CC line that's used for VCONN */ in ucpd_get_cc_enable_mask() 258 * @brief Enable or Disable VCONN 275 /* Update VCONN on/off status. Do this before getting cc enable mask */ in ucpd_set_vconn() 289 /* Get CC line that VCONN is active on */ in ucpd_set_vconn() 293 /* Call user supplied callback to set vconn */ in ucpd_set_vconn() 300 * @brief Discharge VCONN 311 /* VCONN should not be discharged while it's enabled */ in ucpd_vconn_discharge() 317 /* Use DPM supplied VCONN Discharge */ in ucpd_vconn_discharge() [all …]
|
D | ps8xxx.c | 42 /** VCONN discharge callback set by USB-C stack */ 44 /** VCONN discharge callback data set by USB-C stack */ 46 /** Polarity of CC lines for PD and VCONN */ 611 /* Disable the vconn and open CC lines to reinitialize the communication with partner */ in ps8xxx_init_work_cb()
|
/Zephyr-latest/samples/subsys/usb_c/source/boards/ |
D | stm32g081b_eval.overlay | 38 /* Pin D4 enables VCONN on CC1 */ 44 /* Pin B9 enables VCONN on CC2 */
|
/Zephyr-latest/doc/hardware/peripherals/ |
D | tcpc.rst | 13 * VBUS and VCONN control `USB Type-C <usb-type-c-specification_>`_: 16 is provided for the control of VCONN.
|
/Zephyr-latest/boards/st/stm32g081b_eval/doc/ |
D | index.rst | 73 - VCONN on Type-C port1
|