/Zephyr-latest/drivers/usb_c/ppc/ |
D | Kconfig | 7 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
|
D | shell.c | 10 /** 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 …]
|
D | usbc_ppc_numaker.c | 24 /* 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 …]
|
D | Kconfig.numaker | 1 # 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.
|
D | nxp_nx20p3483.c | 53 /** 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 …]
|
D | Kconfig.nxp | 11 Enable USB-C PPC support for NXP nx20p3483 chip
|
D | nxp_nx20p3483_priv.h | 8 * @brief NX20P3483 PPC registers definitions
|
/Zephyr-latest/include/zephyr/drivers/usb_c/ |
D | usbc_ppc.h | 71 * @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/ |
D | usbc_tc_snk_states.c | 222 /* 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()
|
D | usbc_tc_src_states.c | 258 /* 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()
|
D | usbc_stack.c | 83 .ppc = COND_CODE_1(DT_INST_NODE_HAS_PROP(inst, ppc), \ 84 (DEVICE_DT_GET(DT_INST_PROP(inst, ppc))), (NULL)), \
|
D | usbc_tc_common.c | 156 /* 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()
|
D | usbc_stack.h | 105 const struct device *ppc; member
|
/Zephyr-latest/drivers/usb_c/ |
D | CMakeLists.txt | 5 add_subdirectory_ifdef(CONFIG_USBC_PPC_DRIVER ppc)
|
D | Kconfig | 8 source "drivers/usb_c/ppc/Kconfig"
|
/Zephyr-latest/drivers/clock_control/ |
D | Kconfig.rv32m1 | 1 # OpenISA RV32M1 PPC
|
/Zephyr-latest/dts/bindings/ppc/ |
D | nuvoton,numaker-ppc.yaml | 6 compatible: "nuvoton,numaker-ppc"
|
/Zephyr-latest/drivers/usb_c/vbus/ |
D | usbc_vbus_numaker.c | 24 /* 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/ |
D | ucpd_numaker.h | 13 /* TCPC exported for PPC */
|
D | ucpd_numaker.c | 28 /* 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/ |
D | numaker_m2l31ki.overlay | 19 ppc = <&ppc0>;
|
/Zephyr-latest/dts/bindings/usb-c/ |
D | usb-c-connector.yaml | 57 ppc:
|
/Zephyr-latest/boards/arm/v2m_musca_b1/doc/ |
D | index.rst | 245 (PPC). Peripherals can be assigned as secure or non-secure accessible. 277 - AHB5 TrustZone Peripheral Protection Controller (PPC).
|
/Zephyr-latest/scripts/ |
D | checkstack.pl | 83 } elsif ($arch eq 'ppc') {
|
/Zephyr-latest/soc/arm/musca/b1/ |
D | system_cmsdk_musca_b1.h | 46 …S_PPC_COMBINED_IRQn = 10, /* Secure Combined PPC Interrupt …
|