omap4_prmins...rt_hardreset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ omap4_prminst_deassert_hardreset(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” this is the page for omap4_prminst_deassert_hardreset, and no, the title isn't a typo, it's just that long πŸ’…


✨ NAME ✨

omap4_prminst_deassert_hardreset β€” deassert a submodule hardreset line and wait 🫢


🌸 SYNOPSIS 🌸

int omap4_prminst_deassert_hardreset (u8 shift , u8 st_shift , u8 part ,
       s16 inst , u16 rstctrl_offs , u16 rstst_offs );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • shift β€” the register bit shift that corresponds to the reset line you're deasserting, iykyk
  • st_shift β€” the status bit offset that corresponds to that reset line
  • part β€” the PRM partition, fr fr
  • inst β€” the PRM instance offset
  • rstctrl_offs β€” the reset register offset
  • rstst_offs β€” the reset status register offset

πŸ’– DESCRIPTION πŸ’–

So like, some IPs β€” think dsp, ipu or iva β€” contain processors that require an HW reset line to be asserted / deasserted in order to fully enable the IP. no cap. 🧚

These modules may have multiple hard-reset lines that reset different 'submodules' inside the IP block, which is giving very main-character-with-lore energy honestly.

This function will take the submodule out of reset and wait until the PRCM indicates that the reset has completed before returning. periodt. ✨

Returns 0 upon success, or -EINVAL upon an argument error, -EEXIST if the submodule was already out of reset, or -EBUSY if the submodule did not exit reset promptly. 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./arch/arm/mach-omap2/prminst44xx.c, plus the whole friend group:


🌈 cute sign-off time: this iconic lil page lives in ./arch/arm/mach-omap2 and it's dated October 2026. slay. πŸ’œ

πŸ“¦ where this page comes from