pf9453_regul...delay_regmap(9)
π pf9453_regul...delay_regmap(9) β the Kernel API Manual, bestie edition
okay so this is a page from the Kernel API Manual (yes, the manual name is literally pf9453_regul...delay_regmap(9), they truncated it with dots, iconic of them honestly) and today we're learning about ramp delays. stay with me, it's actually cute π
β¨ NAME β¨
pf9453_regulator_set_ramp_delay_regmap β set the ramp delay, but make it for the regmap girlies π
πΈ SYNOPSIS πΈ
int pf9453_regulator_set_ramp_delay_regmap (struct regulator_dev *rdev ,
int ramp_delay );
like, that's the whole signature. two args. no drama. π¦
π«Ά ARGUMENTS π«Ά
rdevβ the regulator we're operating on. it's the regulator. main character energy, obviously πramp_delayβ the desired ramp delay value, in microseconds. yes, microseconds, not milliseconds, do not come for me π
π DESCRIPTION π
so here's the vibe: regulators that use regmap for their register I/O can just set the ramp_reg and ramp_mask fields in their descriptor, and then use this function as their set_ramp_delay operation. that's it. that's the whole flex. it saves you some code, which is honestly such a slay β¨
lowkey the whole point is you don't have to write your own ramp delay handler. the descriptor fields do the work, this function shows up, does its thing, leaves. periodt. π
π₯ RETURN π₯
0 on success, or a negative errno if things went sideways. so like, check it. don't just assume. ngl π
π SEE ALSO π
- Kernel file
./drivers/regulator/pf9453-regulator.cβ go read it, it's giving source of truth π pf9453_regulator_enable_regmap(9)pf9453_regulator_disable_regmap(9)pf9453_regulator_set_voltage_sel_regmap(9)
all the regmap siblings, fr fr π§
and that's the page!! mwah π it lives over in ./drivers/regulator, dated October 2026, and answers to the name pf9453_regul...delay_regmap(9) β ok bye bestie, go set some ramp delays πβ
π¦ 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