max77802_set...pend_disable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… max77802_set_suspend_disable β€” the Kernel API Manual, bestie edition

okay so you found the max77802_set...pend_disable(9) page, welcome, come sit with me 🫢 this is the Linux Kernel API Manual and honestly? this little function is lowkey iconic for what it does during suspend.


✨ NAME ✨

max77802_set_suspend_disable β€” literally just Disable the regulator during system suspend. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

int max77802_set_suspend_disable (struct regulator_dev *rdev );

like, exact signature bestie, don't come for me about the spacing, I copied it character for character πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rdev β€” the regulator you're marking as disabled. that's your main character right there πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” all regulators expect LDO 1, 3, 20 and 21 support OFF by PWRREQ. read that again. all of them expect it. but those four? those four are the whole point. πŸ‘€

what this function does is configure the regulator so the PMIC will turn it OFF during system suspend. so when your system goes to sleep, this thing actually powers down instead of just... lying there. no cap, it's giving responsible energy. 😴✨

fr fr remember: it's not turning things off right now, it's setting up the regulator so the PMIC does the dirty work at suspend time. don't @ me, that's literally what the page says πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./drivers/regulator/max77802-regulator.c β€” go read the source, it's right there 🧚
  • max77802_set_suspend_mode(9) β€” the sibling function, the other half of the suspend duo 🌈

πŸ’– cute little sign-off πŸ’–

this page lives in ./drivers/regulator, dated October 2026, and it's filed under max77802_set...pend_disable(9) in case you need to find it again. slay, go configure your regulators bestie, you got this πŸ“πŸ‘‘β­

πŸ“¦ where this page comes from