Home
last modified time | relevance | path

Searched full:vconn (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/dts/bindings/tcpc/
Dnuvoton,numaker-tcpc.yaml23 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)
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.h25 * @brief VCONN control
28 /* VCONN OFF */
30 /* VCONN ON CC1 */
32 /* VCONN ON CC2 */
37 * @brief Control VCONN
Dmain.c42 /** 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/
Dusbc_tc_src_states.c21 * 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 …]
Dusbc_tc_common.c161 /* 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()
Dusbc_pe_src_states.c517 * 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()
Dusbc_tc_common_internal.h23 /** Tracks if VCONN is ON or OFF */
Dusbc_stack.c313 * @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/
Dusbc_tc.h45 * 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 …]
Dusbc_tcpc.h327 * @brief Sets a callback that can enable or disable VCONN if the TCPC is
329 * the VCONN control capabilities of the TCPC
334 * @param vconn_cb pointer to the callback function that controls vconn
346 * @brief Sets a callback that can enable or discharge VCONN if the TCPC is
348 * the VCONN control capabilities of the TCPC
353 * @param cb pointer to the callback function that discharges vconn
366 * @brief Discharges VCONN
368 * This function uses the TCPC to discharge VCONN if possible or calls the
372 * @param enable VCONN discharge is enabled when true, it's disabled
390 * @brief Enables or disables VCONN
[all …]
/Zephyr-latest/include/zephyr/usb_c/
Dtcpci.h198 /** 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 …]
Dusbc.h142 /** 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/
Ducpd_numaker.c30 * 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 …]
Ducpd_stm32_priv.h276 /* VCONN callback function */
278 /* VCONN Discharge callback function */
320 /* Track VCONN on/off state */
322 /* Track CC line that VCONN was active on */
Ducpd_stm32.c143 /* 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 …]
Dps8xxx.c42 /** 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 */
703 /* 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/
Dstm32g081b_eval.overlay38 /* Pin D4 enables VCONN on CC1 */
44 /* Pin B9 enables VCONN on CC2 */
/Zephyr-latest/doc/hardware/peripherals/
Dtcpc.rst13 * 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/
Dindex.rst73 - VCONN on Type-C port1