pf9453_regul...nable_regmap(9)
π NAME π
pf9453_regulator_enable_regmap β the glow-up that turns your regulator on, specially made for the regmap girlies β¨
Okay so bestie, this is a kernel API manual page (Kernel API Manual, to be exact π) and the whole thing is literally about one lil function that flips a regulator on. Let's get into it π
π¦ SYNOPSIS π¦
int pf9453_regulator_enable_regmap (struct regulator_dev *rdev );
That's it, that's the whole signature β not me keeping it short, it's genuinely that clean π
πΈ ARGUMENTS πΈ
rdevβ the regulator you're operating on. Like, the actualstruct regulator_devyou want to mess with. Main character energy fr fr π«Ά
β¨ DESCRIPTION β¨
So here's the vibe: some regulators do their register I/O through regmap (iykyk). If that's your fave, you can set the enable_reg and enable_mask fields in your descriptor β yes, both of them, don't skip one π β and then just use this function as your enable operation.
The way that saves you some codeβ¦ obsessed π it's literally free real estate. No cap.
π₯ RETURN π₯
0on success β slay, she's enabled π- negative errno if things went sideways β so like, check it, bestie, don't just assume the vibes are immaculate π
β SEE ALSO β
- Kernel file
./drivers/regulator/pf9453-regulator.cβ the source, go read it, it's giving lore π pf9453_regulator_disable_regmap(9)β the opposite vibes πpf9453_regulator_set_voltage_sel_regmap(9)β voltage selection, regmap style β‘pf9453_regulator_set_ramp_delay_regmap(9)β ramp delay, regmap style πΈ
Lowkey a reminder: this lives under ./drivers/regulator in the kernel tree, so that's your neighborhood, bestie π‘
And that's the page! π This lil masterpiece is from ./drivers/regulator, dated October 2026, and yeah β it's pf9453_regul...nable_regmap(9) all the way through, abridged title and all π«Ά periodt π
π¦ 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