am33xx_prm_...rt_hardreset(9)
β¨ am33xx_prm_deassert_hardreset β¨
okay so bestie, you found the kernel API manual for am33xx_prm_deassert_hardreset β the vibe is "Kernel API Manual," and honestly? it's giving main character energy for the AM33xx platform. let's get into it π
π SYNOPSIS π
int am33xx_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part,
s16 inst, u16 rstctrl_offs,
u16 rstst_offs);
πΈ ARGUMENTS πΈ
shiftβ the register bit shift that points at the reset line you wanna deassert. this is the one you're actually pulling out of reset, bestie π«Άst_shiftβ the bit shift inside the reset status register that corresponds to that same reset line. yes, there are two shifts. no, they're not the same. keep up πpartβ the PRM partition. lowkey important on other platforms, but for AM33xx it's literally not used. iconic of it honestly πinstβ the CM instance register offset (that's the*_INSTmacro, iykyk).rstctrl_offsβ the docs literally say-- undescribed --and ngl, we're just gonna respect that. this is the reset control offset, and that's all the manual's giving us πrstst_offsβ also-- undescribed --. same energy. this is the reset status offset. that's the whole note π
π¦ DESCRIPTION π¦
so some IPs β think dsp, ipu, or iva β contain processors that need an HW reset line asserted and deasserted before the IP can fully enable. like, you can't just vibe your way in, the hardware wants the whole reset ritual β¨
these modules can have multiple hard-reset lines, each one resetting a different "submodule" inside the IP block. and this function? it takes the submodule out of reset β that's the deassert β and then it waits until the PRCM indicates the reset has completed before it returns. no skipping the wait, no cap π
returns:
0β success, slay π-EINVALβ argument error, aka you passed something bad-EEXISTβ the submodule was already out of reset, bestie it was already free π-EBUSYβ the submodule did not exit reset promptly. it's stuck. not it being late to the party π
π₯ SEE ALSO π₯
- Kernel file
./arch/arm/mach-omap2/prm33xx.c am33xx_prm_is_hardreset_asserted(9)am33xx_prm_assert_hardreset(9)
like, go read the friends too, they're all in the same friend group fr fr π«Ά
and that's the whole page, babe πΈ β this beauty lives in ./arch/arm/mach-omap2 and was dated October 2026. go off, kernel docs πβ¨
π¦ 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