omap2_wd_timer_reset(9)
π
omap2_wd_timer_reset β thatβs the Kernel API Manual, bestie π
π NAME π
omap2_wd_timer_reset β reset and disable the WDTIMER IP block. slay.
β¨ SYNOPSIS β¨
int omap2_wd_timer_reset (struct omap_hwmod *oh );
πΈ ARGUMENTS πΈ
ohβ itβs astruct omap_hwmod *. thatβs the whole argument, no cap.
π¦ DESCRIPTION π¦
okay so after the WDTIMER IP blocks are reset on OMAP2/3, we must also take care to execute the special watchdog disable sequence. why? because the watchdog is re-armed upon OCP softreset. iconic behavior, honestly. (on OMAP4, this behavior was apparently changed and the watchdog is no longer re-armed after an OCP soft-reset. good for OMAP4, i guess π )
it returns -ETIMEDOUT if the reset did not complete, or 0 upon success.
XXX Most of this code should be moved toomap_hwmod.clayer during a normal merge window.omap_hwmod_softresetshould be renamed toomap_hwmod_set_ocp_softreset, andomap_hwmod_softresetshould call the hwmod_ocp_softresetcode. noted, bestie π«Ά
π RETURN π
0 on success or -errno value on error. periodt.
π SEE ALSO π
- Kernel file
./arch/arm/mach-omap2/wd_timer.c
π xoxo bestie β source/version ./arch/arm/mach-omap2, dated October 2026, for omap2_wd_timer_reset(9) π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms