Home
last modified time | relevance | path

Searched full:ppc (Results 1 – 25 of 30) sorted by relevance

12

/Zephyr-latest/drivers/usb_c/ppc/
DKconfig7 bool "USB-C PPC drivers"
14 int "USBC PPC driver init priority"
17 Initialization priority of the USB-C PPC drivers in POST_KERNEL.
20 bool "Shell commands for PPC"
24 source "drivers/usb_c/ppc/Kconfig.nxp"
25 source "drivers/usb_c/ppc/Kconfig.numaker"
28 module-str = usbc-ppc
Dshell.c10 /** Macro used to iterate over USB-C connector and call a function if the node has PPC property */
12 COND_CODE_1(DT_NODE_HAS_PROP(usb_node, ppc), \
13 (ret |= func(DEVICE_DT_GET(DT_PHANDLE_BY_IDX(usb_node, ppc, 0)));), ())
39 * @brief Function used to pretty print status of the PPC
41 * @param dev Pointer to the PPC device structure
45 printk("PPC %s:\n", dev->name); in print_status()
121 "Dump PPC registers\n"
122 "Usage: ppc dump [<ppc device>]",
125 "Write PPC power status\n"
126 "Usage: ppc status [<ppc device>]",
[all …]
Dusbc_ppc_numaker.c24 /* Implementation notes on NuMaker TCPC/PPC/VBUS
26 * PPC and VBUS rely on TCPC/UTCPD and are just pseudo. They are completely
38 * @brief Initializes the usb-c ppc driver
58 * @brief Check if PPC is in the dead battery mode
60 * @retval 1 if PPC is in the dead battery mode
61 * @retval 0 if PPC is not in the dead battery mode
73 * @brief Request the PPC to exit from the dead battery mode
87 * @brief Check if the PPC is sourcing the VBUS
89 * @retval 1 if the PPC is sourcing the VBUS
90 * @retval 0 if the PPC is not sourcing the VBUS
[all …]
DKconfig.numaker1 # Nuvoton NuMaker USB-C PPC device configuration options
7 bool "Nuvoton NuMaker USB-C PPC"
12 Enable USB-C PPC support for Nuvoton NuMaker chip with UTCPD.
Dnxp_nx20p3483.c53 /** Callback used to notify about PPC events, like overcurrent or short */
218 LOG_INF("PPC %s:%s registers:", cfg->bus.bus->name, dev->name); in nx20p3483_dump_regs()
316 LOG_INF("PPC dead battery exit failed"); in nx20p3483_irq_worker()
321 LOG_INF("PPC over temperature"); in nx20p3483_irq_worker()
326 LOG_INF("PPC source and sink enabled"); in nx20p3483_irq_worker()
332 LOG_INF("PPC source overvoltage"); in nx20p3483_irq_worker()
337 LOG_INF("PPC source reverse current"); in nx20p3483_irq_worker()
342 LOG_INF("PPC source overcurrent"); in nx20p3483_irq_worker()
347 LOG_INF("PPC source short"); in nx20p3483_irq_worker()
353 LOG_INF("PPC sink reverse current"); in nx20p3483_irq_worker()
[all …]
DKconfig.nxp11 Enable USB-C PPC support for NXP nx20p3483 chip
Dnxp_nx20p3483_priv.h8 * @brief NX20P3483 PPC registers definitions
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_ppc.h71 * @brief Check if PPC is in the dead battery mode
73 * @param dev PPC device structure
74 * @retval 1 if PPC is in the dead battery mode
75 * @retval 0 if PPC is not in the dead battery mode
91 * @brief Request the PPC to exit from the dead battery mode
92 * Return from this call doesn't mean that the PPC is not in the dead battery anymore.
94 * USBC_PPC_EVENT_DEAD_BATTERY_ERROR enum. To check if the PPC disabled the dead battery mode,
97 * @param dev PPC device structure
114 * @brief Check if the PPC is sourcing the VBUS
116 * @param dev PPC device structure
[all …]
/Zephyr-latest/subsys/usb/usb_c/
Dusbc_tc_snk_states.c222 /* Enable sink path for the PPC */ in tc_attached_snk_entry()
223 if (data->ppc != NULL) { in tc_attached_snk_entry()
224 ret = ppc_set_snk_ctrl(data->ppc, true); in tc_attached_snk_entry()
226 LOG_ERR("Couldn't enable PPC sink path: %d", ret); in tc_attached_snk_entry()
266 /* Disable sink path for the PPC */ in tc_attached_snk_exit()
267 if (data->ppc != NULL) { in tc_attached_snk_exit()
268 ret = ppc_set_snk_ctrl(data->ppc, false); in tc_attached_snk_exit()
270 LOG_ERR("Couldn't disable PPC sink path: %d", ret); in tc_attached_snk_exit()
Dusbc_tc_src_states.c258 /* Enable the VBUS sourcing by the PPC */ in tc_attached_src_entry()
259 if (data->ppc != NULL) { in tc_attached_src_entry()
260 ret = ppc_set_src_ctrl(data->ppc, true); in tc_attached_src_entry()
262 LOG_ERR("Couldn't disable PPC source"); in tc_attached_src_entry()
315 /* Disable the VBUS sourcing by the PPC */ in tc_attached_src_exit()
316 if (data->ppc != NULL) { in tc_attached_src_exit()
317 ret = ppc_set_src_ctrl(data->ppc, false); in tc_attached_src_exit()
319 LOG_ERR("Couldn't disable PPC source"); in tc_attached_src_exit()
Dusbc_stack.c83 .ppc = COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, ppc), \
84 (DEVICE_DT_GET(DT_INST_PROP(inst, ppc))), (NULL)), \
Dusbc_tc_common.c156 /* Disable VBUS sourcing by the PPC */ in tc_init()
157 if (data->ppc != NULL) { in tc_init()
158 ppc_set_src_ctrl(data->ppc, false); in tc_init()
Dusbc_stack.h105 const struct device *ppc; member
/Zephyr-latest/drivers/usb_c/
DCMakeLists.txt5 add_subdirectory_ifdef(CONFIG_USBC_PPC_DRIVER ppc)
DKconfig8 source "drivers/usb_c/ppc/Kconfig"
/Zephyr-latest/drivers/clock_control/
DKconfig.rv32m11 # OpenISA RV32M1 PPC
/Zephyr-latest/dts/bindings/ppc/
Dnuvoton,numaker-ppc.yaml6 compatible: "nuvoton,numaker-ppc"
/Zephyr-latest/drivers/usb_c/vbus/
Dusbc_vbus_numaker.c24 /* Implementation notes on NuMaker TCPC/PPC/VBUS
26 * PPC and VBUS rely on TCPC/UTCPD and are just pseudo. They are completely
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.h13 /* TCPC exported for PPC */
Ducpd_numaker.c28 /* Implementation notes on NuMaker TCPC/PPC/VBUS
32 * can implement all functions defined in TCPC, PPC, and VBUS. For this,
33 * TCPC is implemented in UTCPD majorly; PPC and VBUS rely on TCPC for
249 /* PPC event */
843 * @brief Notify PPC event
2170 /* Functions below with name pattern "*_tcpc_ppc_*" are to invoke by NuMaker PPC driver */
/Zephyr-latest/samples/subsys/usb_c/sink/boards/
Dnumaker_m2l31ki.overlay19 ppc = <&ppc0>;
/Zephyr-latest/dts/bindings/usb-c/
Dusb-c-connector.yaml57 ppc:
/Zephyr-latest/boards/arm/v2m_musca_b1/doc/
Dindex.rst245 (PPC). Peripherals can be assigned as secure or non-secure accessible.
277 - AHB5 TrustZone Peripheral Protection Controller (PPC).
/Zephyr-latest/scripts/
Dcheckstack.pl83 } elsif ($arch eq 'ppc') {
/Zephyr-latest/soc/arm/musca/b1/
Dsystem_cmsdk_musca_b1.h46 …S_PPC_COMBINED_IRQn = 10, /* Secure Combined PPC Interrupt …

12