axp20x_device_probe(9)
π axp20x_device_probe(9)
okay so welcome to the Kernel API Manual bestie, today we're learning about axp20x_device_probe and honestly? it's giving "small function, big responsibilities" β¨
πΈ NAME πΈ
axp20x_device_probe β probe a configured axp20x device π
β¨ SYNOPSIS β¨
int axp20x_device_probe (struct axp20x_dev *axp20x );
like yes, that's the whole signature, she's short but she's powerful π
π¦ ARGUMENTS π¦
axp20xβ the axp20x device to probe, and listen, it must be configured already, no walking in there unprepared, this is not a vibe-check-as-you-go situation π
π DESCRIPTION π
so here's the tea β β this function is the one that lets the axp20x core register the axp20x mfd devices and the irqchip. main character energy fr fr.
but before she'll do any of that, the axp20x device you hand her has to be fully configured:
- it's gotta be set up with
axp20x_match_device - its irq has to be set
- and the regmap has to be created
no config, no probe. she's not doing guesswork, she's not doing "close enough" β fully configured or nothing, and that's on periodt π
π₯ SEE ALSO π₯
- Kernel file
./include/linux/mfd/axp20x.h axp20x_match_device(9)axp20x_device_remove(9)
like go read those too, iykyk π«Ά
and that's the page!! π this lil gem lives in ./include/linux/mfd, dated October 2026, and was documented right here in the Kernel API Manual β mwah, slay, go probe responsibly πππ§
π¦ 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