regulator_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to regulator_enable(9) from the Kernel API Manual πŸ’– this page is all about regulator_enable β€” enable regulator output ✨

✨ SYNOPSIS ✨

the signature is literally giving:

int regulator_enable (struct regulator *regulator );

πŸŽ€ ARGUMENTS πŸŽ€

  • regulator β€” regulator source 🫢

πŸ’… DESCRIPTION πŸ’…

okay so here’s the whole vibe: request that the regulator be enabled with the regulator output at the predefined voltage or current value. that’s the main character move, no cap ✨

and the rule you cannot skip: calls to regulator_enable must be balanced with calls to regulator_disable. like, every enable needs its matching disable, periodt πŸ’–

πŸ™ˆ NOTE πŸ™ˆ

heads up bestie: the output value can be set by other drivers, boot loader or may be hardwired in the regulator. iykyk πŸ’€

πŸ“ RETURN πŸ“

0 on success or a negative error number on failure. that’s it, that’s the tea πŸ“

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/regulator/core.c β€” and the whole regulator friend group is here:


xoxo, from ./drivers/regulator β€” October 2026 πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from