max77802_set...pend_disable(9)
π 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
- 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